[JBoss JIRA] (ELY-1443) Jdbc-realm with scram mapper
by Martin Choma (JIRA)
Martin Choma created ELY-1443:
---------------------------------
Summary: Jdbc-realm with scram mapper
Key: ELY-1443
URL: https://issues.jboss.org/browse/ELY-1443
Project: WildFly Elytron
Issue Type: Bug
Components: Passwords
Affects Versions: 1.2.0.Beta9
Reporter: Martin Choma
This is follow up on ELY-1435, but in this case trying scram hash.
Salt: c2FsdA==
Password: YywoEuRtRgQQK6dhjp1tfS+BKPYma0oDJk0qBGC33LM=
Salt: 1000
I get these values by
{code}
digest = ScramDigestPasswordImpl.scramDigest(ALGORITHM_SCRAM_SHA_256, "password".getBytes(StandardCharsets.UTF_8), "salt".getBytes(StandardCharsets.UTF_8), 1000);
assertEquals("632c2812e46d4604102ba7618e9d6d7d2f8128f6266b4a03264d2a0460b7dcb3", ByteIterator.ofBytes(digest).hexEncode().drainToString());
spec = new IteratedSaltedHashPasswordSpec(digest, "salt".getBytes(StandardCharsets.UTF_8), 1000);
impl = new ScramDigestPasswordImpl(ALGORITHM_SCRAM_SHA_256, spec);
assertTrue(impl.verify("password".toCharArray()));
assertFalse(impl.verify("bad".toCharArray()));
Encoder encoder = Base64.getEncoder();
String elytronSalt = encoder.encodeToString( impl.getSalt() );
String elytronHash = encoder.encodeToString( impl.getDigest() );
int itertationCount = impl.getIterationCount();
{code}
{noformat}
17:05:40,723 TRACE [org.wildfly.security] (default task-3) Handling NameCallback: authenticationName = correctUser
17:05:40,723 TRACE [org.wildfly.security] (default task-3) Principal assigning: [correctUser], pre-realm rewritten: [correctUser], realm name: [jdbc-realm], post-realm rewritten: [correctUser], realm rewritten: [correctUser]
17:05:40,727 TRACE [org.wildfly.security] (default task-3) Executing principalQuery SELECT PASSWORD, SALT, ITERATION FROM USERS WHERE NAME = ? with value correctUser
17:05:40,813 TRACE [org.wildfly.security] (default task-3) Executing principalQuery SELECT roles.name FROM users, roles, users_roles WHERE users.name=? AND users.id = users_roles.userid AND roles.id = users_roles.roleid with value correctUser
17:05:40,817 TRACE [org.wildfly.security] (default task-3) Executing principalQuery SELECT PASSWORD, SALT, ITERATION FROM USERS WHERE NAME = ? with value correctUser
17:05:40,865 ERROR [io.undertow.request] (default task-3) UT005023: Exception handling request to /elytron-app/protected/printRoles: java.lang.IllegalArgumentException: Empty key
at javax.crypto.spec.SecretKeySpec.<init>(SecretKeySpec.java:96)
at org.wildfly.security.password.impl.ScramDigestPasswordImpl.getMacInstance(ScramDigestPasswordImpl.java:281)
at org.wildfly.security.password.impl.ScramDigestPasswordImpl.scramDigest(ScramDigestPasswordImpl.java:240)
at org.wildfly.security.password.impl.ScramDigestPasswordImpl.verify(ScramDigestPasswordImpl.java:195)
at org.wildfly.security.password.impl.PasswordFactorySpiImpl.engineVerify(PasswordFactorySpiImpl.java:755)
at org.wildfly.security.password.PasswordFactory.verify(PasswordFactory.java:209)
at org.wildfly.security.credential.PasswordCredential.verify(PasswordCredential.java:116)
at org.wildfly.security.credential.Credential.verify(Credential.java:79)
at org.wildfly.security.auth.realm.jdbc.JdbcSecurityRealm$JdbcRealmIdentity.verifyEvidence(JdbcSecurityRealm.java:199)
at org.wildfly.security.auth.server.ServerAuthenticationContext$NameAssignedState.verifyEvidence(ServerAuthenticationContext.java:1977)
at org.wildfly.security.auth.server.ServerAuthenticationContext.verifyEvidence(ServerAuthenticationContext.java:759)
at org.wildfly.security.auth.server.ServerAuthenticationContext$1.handleOne(ServerAuthenticationContext.java:992)
at org.wildfly.security.auth.server.ServerAuthenticationContext$1.handleOne(ServerAuthenticationContext.java:902)
at org.wildfly.security.auth.server.ServerAuthenticationContext$1.handleOne(ServerAuthenticationContext.java:1052)
at org.wildfly.security.auth.server.ServerAuthenticationContext$1.handle(ServerAuthenticationContext.java:839)
at org.wildfly.security.http.util.SecurityIdentityServerMechanismFactory$SecurityIdentityCallbackHandler.handle(SecurityIdentityServerMechanismFactory.java:113)
at org.wildfly.security.http.impl.UsernamePasswordAuthenticationMechanism.authenticate(UsernamePasswordAuthenticationMechanism.java:76)
at org.wildfly.security.http.impl.BasicAuthenticationMechanism.evaluateRequest(BasicAuthenticationMechanism.java:152)
at org.wildfly.security.http.util.SetMechanismInformationMechanismFactory$1.evaluateRequest(SetMechanismInformationMechanismFactory.java:114)
at org.wildfly.security.http.util.SecurityIdentityServerMechanismFactory$1.evaluateRequest(SecurityIdentityServerMechanismFactory.java:77)
at org.wildfly.security.http.HttpAuthenticator$AuthenticationExchange.authenticate(HttpAuthenticator.java:115)
at org.wildfly.security.http.HttpAuthenticator$AuthenticationExchange.access$100(HttpAuthenticator.java:94)
at org.wildfly.security.http.HttpAuthenticator.authenticate(HttpAuthenticator.java:78)
at org.wildfly.elytron.web.undertow.server.SecurityContextImpl.authenticate(SecurityContextImpl.java:100)
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:55)
at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59)
at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:326)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (WFLY-9529) Using injected JMS in a background task/thread leads to NameNotFoundException: java:comp/TransactionSynchronizationRegistry
by Jeff Mesnil (JIRA)
[ https://issues.jboss.org/browse/WFLY-9529?page=com.atlassian.jira.plugin.... ]
Jeff Mesnil edited comment on WFLY-9529 at 11/13/17 11:00 AM:
--------------------------------------------------------------
The issue seems to be that the java:comp/TransactionSynchronizationRegistry JBDI binding is not available from managed threads.
[~emmartins] do you have any idea why that would be the case? I read the EE spec (esp the EE.5.11) but it's not clear to me what the behaviour should be.
was (Author: jmesnil):
The issue seems to be that the java:comp/TransactionSynchronizationRegistry JBDI binding is not available from managed threads.
[~emmartins] do you have any idea why that would be the case. I read the EE spec (esp the EE.5.11) but it's not clear to me what the behaviour should be?
> Using injected JMS in a background task/thread leads to NameNotFoundException: java:comp/TransactionSynchronizationRegistry
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-9529
> URL: https://issues.jboss.org/browse/WFLY-9529
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 10.1.0.Final, 11.0.0.Final
> Environment: Running on Windows 10, Java 64-bit 1.8.0_131
> Reporter: Scott Van Wart
> Assignee: Jeff Mesnil
> Labels: ActiveMQ, jms, transaction
> Attachments: injected-jms.zip, wildfly-11-injected-jms.txt
>
>
> If I try to use an @Injected JMSContext while executing within a background task (ManagedExecutorService) or thread (ManagedThreadFactory), I get the attached stacktrace. I've experienced this a number of times with Wildfly 10.1.0, including messages sent in Infinispan's expiry task thread.
> My original workaround was to submit an additional task on a separate thread to send the message, then wait for it to complete. That seemed unreliable (sometimes it would still produce NameNotFoundException). I've resorted to creating my own JMSContext by using @Resource( lookup="java:/ConnectionFactory" ) and sending messages that way. Both workarounds prevent the message sending logic from participating in any ongoing transactions.
> I'm also attaching a sample EAR project. It can be built with Maven. It creates a background task that waits 3 seconds and then tries to send a JMS message in a new transaction using an injected JMS context. I use the standalone-full.xml profile to run it.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (WFLY-9529) Using injected JMS in a background task/thread leads to NameNotFoundException: java:comp/TransactionSynchronizationRegistry
by Jeff Mesnil (JIRA)
[ https://issues.jboss.org/browse/WFLY-9529?page=com.atlassian.jira.plugin.... ]
Jeff Mesnil commented on WFLY-9529:
-----------------------------------
The issue seems to be that the java:comp/TransactionSynchronizationRegistry JBDI binding is not available from managed threads.
[~emmartins] do you have any idea why that would be the case. I read the EE spec (esp the EE.5.11) but it's not clear to me what the behaviour should be?
> Using injected JMS in a background task/thread leads to NameNotFoundException: java:comp/TransactionSynchronizationRegistry
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-9529
> URL: https://issues.jboss.org/browse/WFLY-9529
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 10.1.0.Final, 11.0.0.Final
> Environment: Running on Windows 10, Java 64-bit 1.8.0_131
> Reporter: Scott Van Wart
> Assignee: Jeff Mesnil
> Labels: ActiveMQ, jms, transaction
> Attachments: injected-jms.zip, wildfly-11-injected-jms.txt
>
>
> If I try to use an @Injected JMSContext while executing within a background task (ManagedExecutorService) or thread (ManagedThreadFactory), I get the attached stacktrace. I've experienced this a number of times with Wildfly 10.1.0, including messages sent in Infinispan's expiry task thread.
> My original workaround was to submit an additional task on a separate thread to send the message, then wait for it to complete. That seemed unreliable (sometimes it would still produce NameNotFoundException). I've resorted to creating my own JMSContext by using @Resource( lookup="java:/ConnectionFactory" ) and sending messages that way. Both workarounds prevent the message sending logic from participating in any ongoing transactions.
> I'm also attaching a sample EAR project. It can be built with Maven. It creates a background task that waits 3 seconds and then tries to send a JMS message in a new transaction using an injected JMS context. I use the standalone-full.xml profile to run it.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-2127) Importing a jar into a project in work bench not working properly
by Ramesh C (JIRA)
Ramesh C created DROOLS-2127:
--------------------------------
Summary: Importing a jar into a project in work bench not working properly
Key: DROOLS-2127
URL: https://issues.jboss.org/browse/DROOLS-2127
Project: Drools
Issue Type: Bug
Components: Examples (Workbench)
Affects Versions: 7.4.1.Final
Environment: wildfly 10, workbench 7.4.1, java 1.8.0.141
Reporter: Ramesh C
Assignee: Michael Anstis
Priority: Blocker
Attachments: WorkbenchIssue.png
If we import a jar into repository in workbench and try to import it in projects, it is not working.
I found, it is missing a first char of a package name in the path.
please refer attached image for details.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-2126) kie-docs, kie-workbench-webapp: missing jackson dependency classes
by Marek Novotny (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2126?page=com.atlassian.jira.plugi... ]
Marek Novotny updated DROOLS-2126:
----------------------------------
Summary: kie-docs,kie-workbench-webapp: missing jackson dependency classes (was: kie-docs: code examples don't compile after refactoring of deps)
> kie-docs,kie-workbench-webapp: missing jackson dependency classes
> -----------------------------------------------------------------
>
> Key: DROOLS-2126
> URL: https://issues.jboss.org/browse/DROOLS-2126
> Project: Drools
> Issue Type: Bug
> Reporter: Marek Novotny
> Assignee: Marek Novotny
> Priority: Critical
>
> Build for kie-docs fails to compile due missing "jackson" classes from dependencies
> {noformat}
> [INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ kie-docs-code ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 1 source file to /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/target/test-classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[22,28] package org.codehaus.jackson does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[23,32] package org.codehaus.jackson.map does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[24,32] package org.codehaus.jackson.map does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,49] cannot find symbol
> symbol: class JsonGenerationException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,74] cannot find symbol
> symbol: class JsonMappingException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,56] cannot find symbol
> symbol: class JsonGenerationException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,81] cannot find symbol
> symbol: class JsonMappingException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,58] cannot find symbol
> symbol: class JsonGenerationException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,83] cannot find symbol
> symbol: class JsonMappingException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [INFO] 9 errors
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] KIE :: Documentation ............................... SUCCESS [ 1.616 s]
> [INFO] KIE :: Documentation :: Example Code ............... FAILURE [ 1.368 s]
> [INFO] KIE :: Documentation Guides ........................ SKIPPED
> [INFO] KIE :: Documentation :: Drools ..................... SKIPPED
> [INFO] KIE :: Documentation :: jBPM ....................... SKIPPED
> [INFO] KIE :: Documentation :: OptaPlanner Workbench and Execution Server SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3.777 s
> [INFO] Finished at: 2017-11-13T14:45:00+01:00
> [INFO] Final Memory: 77M/990M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:testCompile (default-testCompile) on project kie-docs-code: Compilation failure: Compilation failure:
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[22,28] package org.codehaus.jackson does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[23,32] package org.codehaus.jackson.map does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[24,32] package org.codehaus.jackson.map does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,49] cannot find symbol
> [ERROR] symbol: class JsonGenerationException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,74] cannot find symbol
> [ERROR] symbol: class JsonMappingException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,56] cannot find symbol
> [ERROR] symbol: class JsonGenerationException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,81] cannot find symbol
> [ERROR] symbol: class JsonMappingException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,58] cannot find symbol
> [ERROR] symbol: class JsonGenerationException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,83] cannot find symbol
> [ERROR] symbol: class JsonMappingException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :kie-docs-code
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-2126) kie-docs: code examples don't compile after refactoring of deps
by Marek Novotny (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2126?page=com.atlassian.jira.plugi... ]
Marek Novotny commented on DROOLS-2126:
---------------------------------------
This issue affects *KIE Workbench - Webapp* too
{noformat}
[ERROR] java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonFactory
[ERROR] at java.util.concurrent.FutureTask.report(FutureTask.java:122)
[ERROR] at java.util.concurrent.FutureTask.get(FutureTask.java:192)
[ERROR] at org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)
[ERROR] at org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)
[ERROR] at org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:205)
[ERROR] at org.jboss.errai.ui.rebind.TranslationServiceGenerator.generate(TranslationServiceGenerator.java:115)
[ERROR] at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
[ERROR] at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:745)
[ERROR] at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:103)
[ERROR] at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
[ERROR] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:262)
[ERROR] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:251)
[ERROR] at com.google.gwt.dev.PrecompilationContextCreator$1.getAllPossibleRebindAnswers(PrecompilationContextCreator.java:86)
[ERROR] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:519)
[ERROR] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:487)
[ERROR] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.maybeHandleMagicMethodCall(UnifyAst.java:415)
[ERROR] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.visit(UnifyAst.java:402)
[ERROR] at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:265)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
[ERROR] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118)
[ERROR] at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:76)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
[ERROR] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118)
[ERROR] at com.google.gwt.dev.jjs.ast.JBinaryOperation.traverse(JBinaryOperation.java:89)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
[ERROR] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118)
[ERROR] at com.google.gwt.dev.jjs.ast.JExpressionStatement.traverse(JExpressionStatement.java:42)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:88)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:331)
[ERROR] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:94)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[ERROR] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:139)
[ERROR] at com.google.gwt.dev.jjs.ast.JIfStatement.traverse(JIfStatement.java:53)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:88)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:331)
[ERROR] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:94)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[ERROR] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:139)
[ERROR] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:135)
[ERROR] at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
[ERROR] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:786)
[ERROR] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:778)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[ERROR] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
[ERROR] at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1401)
[ERROR] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:896)
[ERROR] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1410)
[ERROR] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1222)
[ERROR] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:1140)
[ERROR] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:255)
[ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:255)
[ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:202)
[ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:143)
[ERROR] at com.google.gwt.dev.Compiler.compile(Compiler.java:204)
[ERROR] at com.google.gwt.dev.Compiler.compile(Compiler.java:155)
[ERROR] at com.google.gwt.dev.Compiler.compile(Compiler.java:144)
[ERROR] at com.google.gwt.dev.Compiler$1.run(Compiler.java:118)
[ERROR] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
[ERROR] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
[ERROR] at com.google.gwt.dev.Compiler.main(Compiler.java:125)
[ERROR] Caused by: java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonFactory
[ERROR] at org.jboss.errai.ui.rebind.TranslationServiceGenerator.outputBundleFile(TranslationServiceGenerator.java:585)
[INFO] Computing all possible rebind results for 'org.jboss.errai.ui.client.local.spi.TranslationService'
[ERROR] at org.jboss.errai.ui.rebind.TranslationServiceGenerator.generateI18nHelperFilesInto(TranslationServiceGenerator.java:503)
[INFO] Rebinding org.jboss.errai.ui.client.local.spi.TranslationService
[ERROR] at org.jboss.errai.ui.rebind.TranslationServiceGenerator.generate(TranslationServiceGenerator.java:236)
[INFO] Invoking generator org.jboss.errai.ui.rebind.TranslationServiceGenerator
[ERROR] at org.jboss.errai.config.rebind.AbstractAsyncGenerator$1.call(AbstractAsyncGenerator.java:66)
[INFO] [ERROR] Error generating TranslationServiceImpl
[ERROR] at org.jboss.errai.config.rebind.AbstractAsyncGenerator$1.call(AbstractAsyncGenerator.java:54)
[ERROR] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[INFO] java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonFactory
[ERROR] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[INFO] at java.util.concurrent.FutureTask.report(FutureTask.java:122)
[ERROR] at java.lang.Thread.run(Thread.java:748)
[INFO] at java.util.concurrent.FutureTask.get(FutureTask.java:192)
[ERROR] Caused by: java.lang.ClassNotFoundException: org.codehaus.jackson.JsonFactory
[INFO] at org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)
[ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[INFO] at org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)
[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[INFO] at org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:205)
[ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
[INFO] at org.jboss.errai.ui.rebind.TranslationServiceGenerator.generate(TranslationServiceGenerator.java:115)
[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[INFO] at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
[ERROR] ... 9 more
{noformat}
> kie-docs: code examples don't compile after refactoring of deps
> ---------------------------------------------------------------
>
> Key: DROOLS-2126
> URL: https://issues.jboss.org/browse/DROOLS-2126
> Project: Drools
> Issue Type: Bug
> Reporter: Marek Novotny
> Assignee: Marek Novotny
> Priority: Critical
>
> Build for kie-docs fails to compile due missing "jackson" classes from dependencies
> {noformat}
> [INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ kie-docs-code ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 1 source file to /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/target/test-classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[22,28] package org.codehaus.jackson does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[23,32] package org.codehaus.jackson.map does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[24,32] package org.codehaus.jackson.map does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,49] cannot find symbol
> symbol: class JsonGenerationException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,74] cannot find symbol
> symbol: class JsonMappingException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,56] cannot find symbol
> symbol: class JsonGenerationException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,81] cannot find symbol
> symbol: class JsonMappingException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,58] cannot find symbol
> symbol: class JsonGenerationException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,83] cannot find symbol
> symbol: class JsonMappingException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [INFO] 9 errors
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] KIE :: Documentation ............................... SUCCESS [ 1.616 s]
> [INFO] KIE :: Documentation :: Example Code ............... FAILURE [ 1.368 s]
> [INFO] KIE :: Documentation Guides ........................ SKIPPED
> [INFO] KIE :: Documentation :: Drools ..................... SKIPPED
> [INFO] KIE :: Documentation :: jBPM ....................... SKIPPED
> [INFO] KIE :: Documentation :: OptaPlanner Workbench and Execution Server SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3.777 s
> [INFO] Finished at: 2017-11-13T14:45:00+01:00
> [INFO] Final Memory: 77M/990M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:testCompile (default-testCompile) on project kie-docs-code: Compilation failure: Compilation failure:
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[22,28] package org.codehaus.jackson does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[23,32] package org.codehaus.jackson.map does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[24,32] package org.codehaus.jackson.map does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,49] cannot find symbol
> [ERROR] symbol: class JsonGenerationException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,74] cannot find symbol
> [ERROR] symbol: class JsonMappingException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,56] cannot find symbol
> [ERROR] symbol: class JsonGenerationException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,81] cannot find symbol
> [ERROR] symbol: class JsonMappingException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,58] cannot find symbol
> [ERROR] symbol: class JsonGenerationException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,83] cannot find symbol
> [ERROR] symbol: class JsonMappingException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :kie-docs-code
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-2126) kie-docs: code examples don't compile after refactoring of deps
by Marek Novotny (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2126?page=com.atlassian.jira.plugi... ]
Marek Novotny updated DROOLS-2126:
----------------------------------
Git Pull Request: https://github.com/kiegroup/kie-docs/pull/499
> kie-docs: code examples don't compile after refactoring of deps
> ---------------------------------------------------------------
>
> Key: DROOLS-2126
> URL: https://issues.jboss.org/browse/DROOLS-2126
> Project: Drools
> Issue Type: Bug
> Reporter: Marek Novotny
> Assignee: Marek Novotny
> Priority: Critical
>
> Build for kie-docs fails to compile due missing "jackson" classes from dependencies
> {noformat}
> [INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ kie-docs-code ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 1 source file to /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/target/test-classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[22,28] package org.codehaus.jackson does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[23,32] package org.codehaus.jackson.map does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[24,32] package org.codehaus.jackson.map does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,49] cannot find symbol
> symbol: class JsonGenerationException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,74] cannot find symbol
> symbol: class JsonMappingException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,56] cannot find symbol
> symbol: class JsonGenerationException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,81] cannot find symbol
> symbol: class JsonMappingException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,58] cannot find symbol
> symbol: class JsonGenerationException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,83] cannot find symbol
> symbol: class JsonMappingException
> location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [INFO] 9 errors
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] KIE :: Documentation ............................... SUCCESS [ 1.616 s]
> [INFO] KIE :: Documentation :: Example Code ............... FAILURE [ 1.368 s]
> [INFO] KIE :: Documentation Guides ........................ SKIPPED
> [INFO] KIE :: Documentation :: Drools ..................... SKIPPED
> [INFO] KIE :: Documentation :: jBPM ....................... SKIPPED
> [INFO] KIE :: Documentation :: OptaPlanner Workbench and Execution Server SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3.777 s
> [INFO] Finished at: 2017-11-13T14:45:00+01:00
> [INFO] Final Memory: 77M/990M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:testCompile (default-testCompile) on project kie-docs-code: Compilation failure: Compilation failure:
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[22,28] package org.codehaus.jackson does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[23,32] package org.codehaus.jackson.map does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[24,32] package org.codehaus.jackson.map does not exist
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,49] cannot find symbol
> [ERROR] symbol: class JsonGenerationException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,74] cannot find symbol
> [ERROR] symbol: class JsonMappingException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,56] cannot find symbol
> [ERROR] symbol: class JsonGenerationException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,81] cannot find symbol
> [ERROR] symbol: class JsonMappingException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,58] cannot find symbol
> [ERROR] symbol: class JsonGenerationException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,83] cannot find symbol
> [ERROR] symbol: class JsonMappingException
> [ERROR] location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :kie-docs-code
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months