Errai at Devoxx Hackergarten!
by Jonathan Fuerth
Hi Errai devs,
I'll be representing Errai at the Hackergarten event [1] at Devoxx this year.
This is a chance to get some people up-to-speed coding Errai internals, and also a chance to get some smaller back-burner projects cleared out of the way!
Of course, what we end up doing will be up to the individuals who take an interest during the Hackergarten event, but if anyone has some "suggested suggestions," I'm all ears!
-Jonathan
Links:
[1] http://www.devoxx.com/display/DV12/Hackergarten+Hands-On+Coding+Event
12 years, 1 month
Build failed in Jenkins: Errai #815
by ci-builds@redhat.com
See <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/815/changes>
Changes:
[jfuerth] Added some tests to verify correctness in the presence of null entity references
[jfuerth] Introduced the GroceryList class and the GroceryList widget. Paving the way for removable items. :)
------------------------------------------
[...truncated 7568 lines...]
[INFO] Invoking generator org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator
[INFO] Generating Extensions Bootstrapper...
[INFO] Checking ErraiApp.properties for configured types ...
[INFO] Rebinding org.jboss.errai.ioc.client.Bootstrapper
[INFO] Invoking generator org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator
[INFO] Generating Extensions Bootstrapper...
[INFO] Rebinding org.jboss.errai.ioc.client.Bootstrapper
[INFO] Invoking generator org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator
[INFO] Generating Extensions Bootstrapper...
[INFO] Rebinding org.jboss.errai.ioc.client.Bootstrapper
[INFO] Invoking generator org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator
[INFO] Generating Extensions Bootstrapper...
[INFO] Rebinding org.jboss.errai.ioc.client.Bootstrapper
[INFO] Invoking generator org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator
[INFO] Generating Extensions Bootstrapper...
[INFO] Rebinding org.jboss.errai.ioc.client.Bootstrapper
[INFO] Invoking generator org.jboss.errai.ioc.rebind.ioc.bootstrapper.IOCGenerator
[INFO] Generating Extensions Bootstrapper...
[INFO] Scanning for additional dependencies: jar:<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-marsha...>
[INFO] Computing all possible rebind results for 'org.jboss.errai.marshalling.client.api.MarshallerFactory'
[INFO] Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
[INFO] Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
[INFO] Generating Marshallers Bootstrapper...
[INFO] Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
[INFO] Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
[INFO] Generating Marshallers Bootstrapper...
[INFO] Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
[INFO] Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
[INFO] Generating Marshallers Bootstrapper...
[INFO] Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
[INFO] Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
[INFO] Generating Marshallers Bootstrapper...
[INFO] Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
[INFO] Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
[INFO] Generating Marshallers Bootstrapper...
[INFO] Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
[INFO] Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
[INFO] Generating Marshallers Bootstrapper...
[INFO] Compiling 6 permutations
[INFO] Compiling permutation 0...
[INFO] Process output
[INFO] Compiling
[INFO] Compiling permutation 3...
[INFO] Process output
[INFO] Compiling
[INFO] Compiling permutation 1...
[INFO] Process output
[INFO] Compiling
[INFO] Compiling permutation 2...
[INFO] Compiling permutation 4...
[INFO] Compiling
[INFO] Compiling permutation 5...
[INFO] Compile of permutations succeeded
[INFO] Linking into <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...>
[INFO] Link succeeded
[INFO] Compilation succeeded -- 142.287s
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ errai-bus-demos-rpcdemo ---
[INFO] Packaging webapp
[INFO] Assembling webapp [errai-bus-demos-rpcdemo] in [<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...]>
[INFO] Processing war project
[INFO] Copying webapp webResources [<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...]> to [<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...]>
[INFO] Copying webapp resources [<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...]>
[INFO] Webapp assembled in [196 msecs]
[INFO] Building war: <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...>
[INFO] WEB-INF/web.xml already added, skipping
[INFO] [INFO] argLine set to -javaagent:/home/hudson/.m2/repository/org/jboss/errai/jacoco-gwt-maven-plugin/0.5.4.201202141554/jacoco-gwt-maven-plugin-0.5.4.201202141554.jar=snapshotDirectory=<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...> -javaagent:/home/hudson/.m2/repository/org/jacoco/org.jacoco.agent/0.5.4.201111111111/org.jacoco.agent-0.5.4.201111111111-runtime.jar=destfile=<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...> -javaagent:/home/hudson/.m2/repository/org/jboss/errai/jacoco-gwt-maven-plugin/0.5.4.201202141554/jacoco-gwt-maven-plugin-0.5.4.201202141554.jar=snapshotDirectory=<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...> -javaagent:/home/hudson/.m2/repository/org/jacoco/org.jacoco.agent/0.5.4.201111111111/org.jacoco.agent-0.5.4.201111111111-runtime.jar=destfile=<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...>
[INFO] --- jacoco-gwt-maven-plugin:0.5.4.201202141554:prepare-agent (jacoco-initialize) @ errai-bus-demos-rpcdemo ---
[JENKINS] Archiving <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...> to /qa/hudson_master/hudson_home/hudson_workspace/jobs/Errai/modules/org.jboss.errai$errai-bus-demos-rpcdemo/builds/2012-10-30_15-17-33/archive/org.jboss.errai/errai-bus-demos-rpcdemo/2.2.0-SNAPSHOT/errai-bus-demos-rpcdemo-2.2.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...> to /qa/hudson_master/hudson_home/hudson_workspace/jobs/Errai/modules/org.jboss.errai$errai-bus-demos-rpcdemo/builds/2012-10-30_15-17-33/archive/org.jboss.errai/errai-bus-demos-rpcdemo/2.2.0-SNAPSHOT/errai-bus-demos-rpcdemo-2.2.0-SNAPSHOT.war
Oct 30, 2012 3:52:57 PM hudson.maven.ExecutedMojo <init>
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO]
[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ errai-bus-demos-rpcdemo ---
[INFO] org already added, skipping
[INFO] org/errai already added, skipping
[INFO] org/errai/samples already added, skipping
[INFO] org/errai/samples/rpcdemo already added, skipping
[INFO] org/errai/samples/rpcdemo/server already added, skipping
[INFO] org/errai/samples/rpcdemo/client already added, skipping
[INFO] org/errai/samples/rpcdemo/client/local already added, skipping
[INFO] org/errai/samples/rpcdemo/client/shared already added, skipping
[INFO] org/errai/samples/rpcdemo/server/RPCDemoService.java already added, skipping
[INFO] org/errai/samples/rpcdemo/client/local/RPCDemo.java already added, skipping
[INFO] org/errai/samples/rpcdemo/client/shared/TestService.java already added, skipping
[INFO] org/errai/samples/rpcdemo/client/shared/TestException.java already added, skipping
[INFO] org/errai/samples/rpcdemo/RPCDemo.gwt.xml already added, skipping
[INFO] Building jar: <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...>
[INFO] org already added, skipping
[INFO] org/errai already added, skipping
[INFO] org/errai/samples already added, skipping
[INFO] org/errai/samples/rpcdemo already added, skipping
[INFO] org/errai/samples/rpcdemo/server already added, skipping
[INFO] org/errai/samples/rpcdemo/client already added, skipping
[INFO] org/errai/samples/rpcdemo/client/local already added, skipping
[INFO] org/errai/samples/rpcdemo/client/shared already added, skipping
[INFO] org/errai/samples/rpcdemo/server/RPCDemoService.java already added, skipping
[INFO] org/errai/samples/rpcdemo/client/local/RPCDemo.java already added, skipping
[INFO] org/errai/samples/rpcdemo/client/shared/TestService.java already added, skipping
[INFO] org/errai/samples/rpcdemo/client/shared/TestException.java already added, skipping
[INFO] org/errai/samples/rpcdemo/RPCDemo.gwt.xml already added, skipping
[INFO] [INFO] Installing <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...> to /home/hudson/.m2/repository/org/jboss/errai/errai-bus-demos-rpcdemo/2.2.0-SNAPSHOT/errai-bus-demos-rpcdemo-2.2.0-SNAPSHOT.war
[INFO] --- maven-install-plugin:2.3:install (default-install) @ errai-bus-demos-rpcdemo ---
[INFO] Installing <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...> to /home/hudson/.m2/repository/org/jboss/errai/errai-bus-demos-rpcdemo/2.2.0-SNAPSHOT/errai-bus-demos-rpcdemo-2.2.0-SNAPSHOT.pom
[INFO] Installing <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...> to /home/hudson/.m2/repository/org/jboss/errai/errai-bus-demos-rpcdemo/2.2.0-SNAPSHOT/errai-bus-demos-rpcdemo-2.2.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @ errai-bus-demos-rpcdemo ---
[INFO] Skipping artifact deployment
[JENKINS] Archiving <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...> to /qa/hudson_master/hudson_home/hudson_workspace/jobs/Errai/modules/org.jboss.errai$errai-bus-demos-rpcdemo/builds/2012-10-30_15-17-33/archive/org.jboss.errai/errai-bus-demos-rpcdemo/2.2.0-SNAPSHOT/errai-bus-demos-rpcdemo-2.2.0-SNAPSHOT-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Errai::Bus::Demos::StockDemo 2.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ errai-bus-demos-stockdemo ---
[INFO] Deleting <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...> (includes = [www-test/**, .gwt/**, .errai/**, src/main/webapp/WEB-INF/deploy/**, src/main/webapp/WEB-INF/lib/**, src/main/webapp/App/**, **/gwt-unitCache/**, **/*.JUnit/**, monitordb.*], excludes = [])
[INFO]
[INFO] --- gwt-maven-plugin:2.4.0:clean (clean) @ errai-bus-demos-stockdemo ---
[INFO] auto discovered modules [org.errai.samples.stockdemo.StockDemo]
[INFO]
[INFO] argLine set to -javaagent:/home/hudson/.m2/repository/org/jboss/errai/jacoco-gwt-maven-plugin/0.5.4.201202141554/jacoco-gwt-maven-plugin-0.5.4.201202141554.jar=snapshotDirectory=<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...> -javaagent:/home/hudson/.m2/repository/org/jacoco/org.jacoco.agent/0.5.4.201111111111/org.jacoco.agent-0.5.4.201111111111-runtime.jar=destfile=<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...>
[INFO] --- jacoco-gwt-maven-plugin:0.5.4.201202141554:prepare-agent (jacoco-initialize) @ errai-bus-demos-stockdemo ---
[INFO] [debug] execute contextualize
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ errai-bus-demos-stockdemo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- gwt-maven-plugin:2.4.0:resources (default) @ errai-bus-demos-stockdemo ---
[INFO] auto discovered modules [org.errai.samples.stockdemo.StockDemo]
[INFO] 4 source files from GWT module org.errai.samples.stockdemo.StockDemo
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ errai-bus-demos-stockdemo ---
[INFO] Compiling 4 source files to <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...>
[INFO] [debug] execute contextualize
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ errai-bus-demos-stockdemo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-bus/de...>
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ errai-bus-demos-stockdemo ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.5:test (default-test) @ errai-bus-demos-stockdemo ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- gwt-maven-plugin:2.4.0:compile (default) @ errai-bus-demos-stockdemo ---
[INFO] auto discovered modules [org.errai.samples.stockdemo.StockDemo]
[INFO] Compiling module org.errai.samples.stockdemo.StockDemo
Process 1351626780365 is killed.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Errai ............................................. SUCCESS [13.242s]
[INFO] Reflections parent ................................ SUCCESS [6.349s]
[INFO] Reflections ....................................... SUCCESS [25.454s]
[INFO] Errai::Common ..................................... SUCCESS [18.591s]
[INFO] Errai::CDI::EE6 API Overrides ..................... SUCCESS [8.257s]
[INFO] Errai::Codegen .................................... SUCCESS [23.739s]
[INFO] Errai::Config ..................................... SUCCESS [9.721s]
[INFO] Errai::Codegen::GWT ............................... SUCCESS [17.755s]
[INFO] Errai::Marshalling ................................ SUCCESS [22.360s]
[INFO] Errai::Bus ........................................ SUCCESS [13:14.493s]
[INFO] Errai::Tools ...................................... SUCCESS [16.718s]
[INFO] Errai::IOC ........................................ SUCCESS [5:09.058s]
[INFO] Errai::Bus::Demos ................................. SUCCESS [1.019s]
[INFO] Errai::Bus::Demos::AsyncDemo ...................... SUCCESS [2:31.252s]
[INFO] Errai::Bus::Demos::ClientService .................. SUCCESS [2:25.860s]
[INFO] Errai::Bus::Demos::HelloWorld ..................... SUCCESS [1:28.389s]
[INFO] Errai::Bus::Demos::QueryService ................... SUCCESS [2:24.237s]
[INFO] Errai::Bus::Demos::Serialization .................. SUCCESS [2:36.437s]
[INFO] Errai::Bus::Demos::RPCDemo ........................ SUCCESS [2:33.062s]
[INFO] Errai::Bus::Demos::StockDemo ...................... FAILURE [30.234s]
[INFO] Errai::Bus::Demos::StressTest ..................... SKIPPED
[INFO] Errai::JS ......................................... SKIPPED
[INFO] Errai::CDI ........................................ SKIPPED
[INFO] Errai::CDI::Jetty ................................. SKIPPED
[INFO] Errai::CDI::Client ................................ SKIPPED
[INFO] Errai::Data::Binding .............................. SKIPPED
[INFO] Errai::CDI::Weld Integration ...................... SKIPPED
[INFO] Errai::CDI::Demo::Mobile .......................... SKIPPED
[INFO] Errai::UI::Binder ................................. SKIPPED
[INFO] Errai::CDI::Demo::MVP ............................. SKIPPED
[INFO] Errai::CDI::Demo::Stock Ticker .................... SKIPPED
[INFO] Errai::CDI::Demo::Tag Cloud ....................... SKIPPED
[INFO] Errai::CDI::Demo::Stress Test ..................... SKIPPED
[INFO] Errai::JAX-RS ..................................... SKIPPED
[INFO] Errai::JAX-RS::Provider ........................... SKIPPED
[INFO] Errai::JAX-RS::Client ............................. SKIPPED
[INFO] Errai::JAX-RS::RestDemo ........................... SKIPPED
[INFO] Errai::UI ......................................... SKIPPED
[INFO] Errai::Navigation ................................. SKIPPED
[INFO] Errai::JPA ........................................ SKIPPED
[INFO] Errai::JPA::Client ................................ SKIPPED
[INFO] Errai::JPA::Demos::Basic .......................... SKIPPED
[INFO] Errai::JPA::Demos::Grocery List ................... SKIPPED
[INFO] Errai::HTML5 ...................................... SKIPPED
[INFO] Reflections Maven plugin .......................... SKIPPED
[INFO] Errai::Java EE::All ............................... SKIPPED
[INFO] Errai::Reference::Guide ........................... SKIPPED
[INFO] Errai::Quickstart::Guide .......................... SKIPPED
[INFO] Errai::Distribution ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35:48.815s
[INFO] Finished at: Tue Oct 30 15:53:28 EDT 2012
[INFO] Final Memory: 168M/450M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Internal error: java.lang.IllegalStateException: Unable to call setExecutedMojos. Invalid object ID 5
cause : Unable to call setExecutedMojos. Invalid object ID 5
Stack trace :
org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: Unable to call setExecutedMojos. Invalid object ID 5
at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:104)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:287)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalStateException: Unable to call setExecutedMojos. Invalid object ID 5
at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:268)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
... 9 more
Maven failed with error.
12 years, 1 month
Good question from IRC yesterday evening
by Jonathan Fuerth
I missed this question on IRC before leaving the office yesterday. But it's a good one, and something I think we should fix in 2.2:
w0mbat
hey, I am again playing with errai, errai ui and errai navigation. what i did was, I defined an @EntryPoint annotated class in my application which only adds the Navigation Panel to the RootPanel as specified here: https://docs.jboss.org/author/display/ERRAI/Errai+UI+Navigation
6:11
w0mbat
The I have an IndexPage annotated @Templated("index.html") @Page(startingPage = true)
6:12
w0mbat
and a LoginPage annotated @Templated("index.html") @Page(path="login")
6:13
w0mbat
compiling works fine so war. as soon as I start "mvn gwt:run" i get: [ERROR] org.jboss.errai.ioc.client.container.IOCResolutionException: no matching bean instances for: at.w0mb.Sample.client.local.IndexPage
6:14
w0mbat
[ERROR] at org.jboss.errai.ioc.client.container.IOCBeanManager.lookupBean(IOCBeanManager.java:475)
6:14
w0mbat
[ERROR] at org.jboss.errai.ui.nav.client.local.spi.GeneratedNavigationGraph$2.content(GeneratedNavigationGraph.java:32)
6:14
w0mbat
[ERROR] at org.jboss.errai.ui.nav.client.local.Navigation.makePageVisible(Navigation.java:80)
6:14
w0mbat
[ERROR] at org.jboss.errai.ui.nav.client.local.Navigation.goTo(Navigation.java:67)
The problem is likely that w0mbat's @Page bean isn't explicitly marked with a CDI scope, so it's not available in IOCBeanManager.lookupBean(). Is there anything I can do at Errai Navigation rebind time to ensure implicitly scoped @Page beans are treated is if they were explicitly scoped @Dependent?
-Jonathan
12 years, 1 month
Build failed in Jenkins: Errai #809
by ci-builds@redhat.com
See <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/809/changes>
Changes:
[christian.sadilek] data-binding: refactoring to move all binding and sync logic to a newly created driver class
[christian.sadilek] Implemented ERRAI-379: support for bindable property chains
------------------------------------------
[...truncated 15324 lines...]
[errai] vote For: org.jboss.errai.enterprise.client.cdi.api.CDI
[errai] still waiting for -> [org.jboss.errai.enterprise.client.cdi.CDIClientBootstrap]
[errai] vote For: org.jboss.errai.enterprise.client.cdi.CDIClientBootstrap
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 126.243 sec
Created regex for expression: .*\Qgwt\E.*
Running org.jboss.errai.ui.nav.rebind.PathTemplateParseTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.928 sec
Results :
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ errai-navigation ---
[INFO] Building jar: <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-naviga...>
[INFO]
[INFO] --- jacoco-gwt-maven-plugin:0.5.4.201202141554:prepare-agent (jacoco-initialize) @ errai-navigation ---
[INFO] argLine set to -javaagent:/home/hudson/.m2/repository/org/jboss/errai/jacoco-gwt-maven-plugin/0.5.4.201202141554/jacoco-gwt-maven-plugin-0.5.4.201202141554.jar=snapshotDirectory=<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-naviga...> -javaagent:/home/hudson/.m2/repository/org/jacoco/org.jacoco.agent/0.5.4.201111111111/org.jacoco.agent-0.5.4.201111111111-runtime.jar=destfile=<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-naviga...> -javaagent:/home/hudson/.m2/repository/org/jboss/errai/jacoco-gwt-maven-plugin/0.5.4.201202141554/jacoco-gwt-maven-plugin-0.5.4.201202141554.jar=snapshotDirectory=<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-naviga...> -javaagent:/home/hudson/.m2/repository/org/jacoco/org.jacoco.agent/0.5.4.201111111111/org.jacoco.agent-0.5.4.201111111111-runtime.jar=destfile=<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-naviga...>
[JENKINS] Archiving <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-naviga...> to /qa/hudson_master/hudson_home/hudson_workspace/jobs/Errai/modules/org.jboss.errai$errai-navigation/builds/2012-10-24_14-00-57/archive/org.jboss.errai/errai-navigation/2.2.0-SNAPSHOT/errai-navigation-2.2.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-naviga...> to /qa/hudson_master/hudson_home/hudson_workspace/jobs/Errai/modules/org.jboss.errai$errai-navigation/builds/2012-10-24_14-00-57/archive/org.jboss.errai/errai-navigation/2.2.0-SNAPSHOT/errai-navigation-2.2.0-SNAPSHOT.jar
Oct 24, 2012 4:13:05 PM hudson.maven.ExecutedMojo <init>
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO]
[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ errai-navigation ---
[INFO] org already added, skipping
[INFO] org/jboss already added, skipping
[INFO] org/jboss/errai already added, skipping
[INFO] org/jboss/errai/ui already added, skipping
[INFO] org/jboss/errai/ui/nav already added, skipping
[INFO] org/jboss/errai/ui/nav/rebind already added, skipping
[INFO] org/jboss/errai/ui/nav/client already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local/spi already added, skipping
[INFO] org/jboss/errai/ui/nav/rebind/NavigationGraphGenerator.java already added, skipping
[INFO] org/jboss/errai/ui/nav/Navigation.gwt.xml already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local/Navigation.java already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local/PageTransitionProvider.java already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local/Page.java already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local/spi/NavigationGraph.java already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local/spi/PageNode.java already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local/TransitionTo.java already added, skipping
[INFO] Building jar: <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-naviga...>
[INFO] org already added, skipping
[INFO] org/jboss already added, skipping
[INFO] org/jboss/errai already added, skipping
[INFO] org/jboss/errai/ui already added, skipping
[INFO] org/jboss/errai/ui/nav already added, skipping
[INFO] org/jboss/errai/ui/nav/rebind already added, skipping
[INFO] org/jboss/errai/ui/nav/client already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local/spi already added, skipping
[INFO] org/jboss/errai/ui/nav/rebind/NavigationGraphGenerator.java already added, skipping
[INFO] org/jboss/errai/ui/nav/Navigation.gwt.xml already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local/Navigation.java already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local/PageTransitionProvider.java already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local/Page.java already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local/spi/NavigationGraph.java already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local/spi/PageNode.java already added, skipping
[INFO] org/jboss/errai/ui/nav/client/local/TransitionTo.java already added, skipping
[INFO]
[INFO] --- maven-install-plugin:2.3:install (default-install) @ errai-navigation ---
[INFO] Installing <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-naviga...> to /home/hudson/.m2/repository/org/jboss/errai/errai-navigation/2.2.0-SNAPSHOT/errai-navigation-2.2.0-SNAPSHOT.jar
[INFO] Installing <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-naviga...> to /home/hudson/.m2/repository/org/jboss/errai/errai-navigation/2.2.0-SNAPSHOT/errai-navigation-2.2.0-SNAPSHOT.pom
[INFO] Installing <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-naviga...> to /home/hudson/.m2/repository/org/jboss/errai/errai-navigation/2.2.0-SNAPSHOT/errai-navigation-2.2.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @ errai-navigation ---
Downloading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Downloaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (995 B at 1.5 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (26 KB at 16.5 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (6 KB at 4.9 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Downloaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (431 B at 0.8 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (995 B at 1.0 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (431 B at 0.4 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (12 KB at 11.3 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (995 B at 0.9 KB/sec)
[JENKINS] Archiving <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-naviga...> to /qa/hudson_master/hudson_home/hudson_workspace/jobs/Errai/modules/org.jboss.errai$errai-navigation/builds/2012-10-24_14-00-57/archive/org.jboss.errai/errai-navigation/2.2.0-20121024.201307-9/errai-navigation-2.2.0-20121024.201307-9.jar
[JENKINS] Archiving <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-naviga...> to /qa/hudson_master/hudson_home/hudson_workspace/jobs/Errai/modules/org.jboss.errai$errai-navigation/builds/2012-10-24_14-00-57/archive/org.jboss.errai/errai-navigation/2.2.0-20121024.201307-9/errai-navigation-2.2.0-20121024.201307-9-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Errai::JPA 2.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ errai-jpa-parent ---
[INFO] Deleting <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-jpa> (includes = [www-test/**, .gwt/**, .errai/**, war/WEB-INF/deploy/**, war/WEB-INF/lib/**, war/WEB-INF/classes/**, src/main/webapp/WEB-INF/deploy/**, src/main/webapp/WEB-INF/lib/**, src/main/webapp/WEB-INF/classes/**, **/gwt-unitCache/**, **/*.JUnit/**], excludes = [])
[INFO]
[INFO] --- jacoco-gwt-maven-plugin:0.5.4.201202141554:prepare-agent (jacoco-initialize) @ errai-jpa-parent ---
[INFO] Skipping JaCoCo for project with packaging type 'pom'
[INFO]
[INFO] --- jacoco-gwt-maven-plugin:0.5.4.201202141554:prepare-agent (jacoco-initialize) @ errai-jpa-parent ---
[INFO] Skipping JaCoCo for project with packaging type 'pom'
[JENKINS] Archiving <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-jpa/po...> to /qa/hudson_master/hudson_home/hudson_workspace/jobs/Errai/modules/org.jboss.errai$errai-jpa-parent/builds/2012-10-24_14-00-57/archive/org.jboss.errai/errai-jpa-parent/2.2.0-SNAPSHOT/errai-jpa-parent-2.2.0-SNAPSHOT.pom
Oct 24, 2012 4:13:15 PM hudson.maven.ExecutedMojo <init>
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO]
[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ errai-jpa-parent ---
[INFO]
[INFO] --- maven-install-plugin:2.3:install (default-install) @ errai-jpa-parent ---
[INFO] Installing <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-jpa/po...> to /home/hudson/.m2/repository/org/jboss/errai/errai-jpa-parent/2.2.0-SNAPSHOT/errai-jpa-parent-2.2.0-SNAPSHOT.pom
[INFO]
[INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @ errai-jpa-parent ---
Downloading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Downloaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (608 B at 1.2 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (708 B at 0.9 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Downloaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (429 B at 0.8 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (608 B at 0.2 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (429 B at 0.5 KB/sec)
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Errai::JPA::Client 2.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ errai-jpa-client ---
[INFO] Deleting <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-jpa/er...> (includes = [www-test/**, .gwt/**, .errai/**, war/WEB-INF/deploy/**, war/WEB-INF/lib/**, war/WEB-INF/classes/**, src/main/webapp/WEB-INF/deploy/**, src/main/webapp/WEB-INF/lib/**, src/main/webapp/WEB-INF/classes/**, **/gwt-unitCache/**, **/*.JUnit/**], excludes = [])
[INFO]
[INFO] --- jacoco-gwt-maven-plugin:0.5.4.201202141554:prepare-agent (jacoco-initialize) @ errai-jpa-client ---
[INFO] argLine set to -javaagent:/home/hudson/.m2/repository/org/jboss/errai/jacoco-gwt-maven-plugin/0.5.4.201202141554/jacoco-gwt-maven-plugin-0.5.4.201202141554.jar=snapshotDirectory=<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-jpa/er...> -javaagent:/home/hudson/.m2/repository/org/jacoco/org.jacoco.agent/0.5.4.201111111111/org.jacoco.agent-0.5.4.201111111111-runtime.jar=destfile=<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-jpa/er...>
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ errai-jpa-client ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 182 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ errai-jpa-client ---
[INFO] Compiling 178 source files to <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-jpa/er...>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-jpa/er...>:[159,35] incompatible types
found : javax.persistence.JoinTable
required: javax.persistence.JoinTable
[ERROR] <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-jpa/er...>:[57,64] incompatible types
found : javax.persistence.PersistenceContextType
required: javax.persistence.PersistenceContextType
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[JENKINS] Archiving <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/ws/errai-jpa/er...> to /qa/hudson_master/hudson_home/hudson_workspace/jobs/Errai/modules/org.jboss.errai$errai-jpa-client/builds/2012-10-24_14-00-57/archive/org.jboss.errai/errai-jpa-client/2.2.0-SNAPSHOT/errai-jpa-client-2.2.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Errai ............................................. SUCCESS [22.882s]
[INFO] Reflections parent ................................ SUCCESS [10.583s]
[INFO] Reflections ....................................... SUCCESS [54.549s]
[INFO] Errai::Common ..................................... SUCCESS [35.519s]
[INFO] Errai::CDI::EE6 API Overrides ..................... SUCCESS [9.935s]
[INFO] Errai::Codegen .................................... SUCCESS [47.778s]
[INFO] Errai::Config ..................................... SUCCESS [13.006s]
[INFO] Errai::Codegen::GWT ............................... SUCCESS [37.966s]
[INFO] Errai::Marshalling ................................ SUCCESS [46.801s]
[INFO] Errai::Bus ........................................ SUCCESS [12:45.306s]
[INFO] Errai::Tools ...................................... SUCCESS [25.221s]
[INFO] Errai::IOC ........................................ SUCCESS [8:55.393s]
[INFO] Errai::Bus::Demos ................................. SUCCESS [2.575s]
[INFO] Errai::Bus::Demos::AsyncDemo ...................... SUCCESS [3:49.310s]
[INFO] Errai::Bus::Demos::ClientService .................. SUCCESS [3:44.328s]
[INFO] Errai::Bus::Demos::HelloWorld ..................... SUCCESS [2:40.751s]
[INFO] Errai::Bus::Demos::QueryService ................... SUCCESS [3:49.352s]
[INFO] Errai::Bus::Demos::Serialization .................. SUCCESS [4:04.788s]
[INFO] Errai::Bus::Demos::RPCDemo ........................ SUCCESS [4:02.347s]
[INFO] Errai::Bus::Demos::StockDemo ...................... SUCCESS [3:50.585s]
[INFO] Errai::Bus::Demos::StressTest ..................... SUCCESS [4:18.125s]
[INFO] Errai::JS ......................................... SUCCESS [2:35.316s]
[INFO] Errai::CDI ........................................ SUCCESS [5.218s]
[INFO] Errai::CDI::Jetty ................................. SUCCESS [14.704s]
[INFO] Errai::CDI::Client ................................ SUCCESS [16.214s]
[INFO] Errai::Data::Binding .............................. SUCCESS [2:56.576s]
[INFO] Errai::CDI::Weld Integration ...................... SUCCESS [18:01.601s]
[INFO] Errai::CDI::Demo::Mobile .......................... SUCCESS [4:33.722s]
[INFO] Errai::UI::Binder ................................. SUCCESS [2:26.243s]
[INFO] Errai::CDI::Demo::MVP ............................. SUCCESS [4:34.185s]
[INFO] Errai::CDI::Demo::Stock Ticker .................... SUCCESS [4:20.471s]
[INFO] Errai::CDI::Demo::Tag Cloud ....................... SUCCESS [4:09.610s]
[INFO] Errai::CDI::Demo::Stress Test ..................... SUCCESS [4:30.204s]
[INFO] Errai::JAX-RS ..................................... SUCCESS [5.138s]
[INFO] Errai::JAX-RS::Provider ........................... SUCCESS [12.899s]
[INFO] Errai::JAX-RS::Client ............................. SUCCESS [3:13.953s]
[INFO] Errai::JAX-RS::RestDemo ........................... SUCCESS [4:17.489s]
[INFO] Errai::UI ......................................... SUCCESS [15:13.915s]
[INFO] Errai::Navigation ................................. SUCCESS [2:37.856s]
[INFO] Errai::JPA ........................................ SUCCESS [7.431s]
[INFO] Errai::JPA::Client ................................ FAILURE [12.824s]
[INFO] Errai::JPA::Demos::Basic .......................... SKIPPED
[INFO] Errai::JPA::Demos::Grocery List ................... SKIPPED
[INFO] Errai::HTML5 ...................................... SKIPPED
[INFO] Reflections Maven plugin .......................... SKIPPED
[INFO] Errai::Java EE::All ............................... SKIPPED
[INFO] Errai::Reference::Guide ........................... SKIPPED
[INFO] Errai::Quickstart::Guide .......................... SKIPPED
[INFO] Errai::Distribution ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:12:24.872s
[INFO] Finished at: Wed Oct 24 16:13:36 EDT 2012
[INFO] Final Memory: 232M/585M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project errai-jpa-client: Compilation failure
cause : Compilation failure
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project errai-jpa-client: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:104)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:287)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:660)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 27 more
Sending e-mails to: errai-dev(a)lists.jboss.org
channel stopped
12 years, 2 months
Build failed in Jenkins: Errai » Errai::JPA::Client #809
by ci-builds@redhat.com
See <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...>
------------------------------------------
Oct 24, 2012 4:13:15 PM hudson.maven.ExecutedMojo <init>
WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO]
[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ errai-jpa-parent ---
[INFO]
[INFO] --- maven-install-plugin:2.3:install (default-install) @ errai-jpa-parent ---
[INFO] Installing /mnt/hudson_workspace/workspace/Errai/errai-jpa/pom.xml to /home/hudson/.m2/repository/org/jboss/errai/errai-jpa-parent/2.2.0-SNAPSHOT/errai-jpa-parent-2.2.0-SNAPSHOT.pom
[INFO]
[INFO] --- maven-deploy-plugin:2.5:deploy (default-deploy) @ errai-jpa-parent ---
Downloading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Downloaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (608 B at 1.2 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (708 B at 0.9 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Downloaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (429 B at 0.8 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (608 B at 0.2 KB/sec)
Uploading: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo...
Uploaded: https://repository.jboss.org/nexus/content/repositories/snapshots/org/jbo... (429 B at 0.5 KB/sec)
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Errai::JPA::Client 2.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ errai-jpa-client ---
[INFO] Deleting <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...> (includes = [www-test/**, .gwt/**, .errai/**, war/WEB-INF/deploy/**, war/WEB-INF/lib/**, war/WEB-INF/classes/**, src/main/webapp/WEB-INF/deploy/**, src/main/webapp/WEB-INF/lib/**, src/main/webapp/WEB-INF/classes/**, **/gwt-unitCache/**, **/*.JUnit/**], excludes = [])
[INFO]
[INFO] --- jacoco-gwt-maven-plugin:0.5.4.201202141554:prepare-agent (jacoco-initialize) @ errai-jpa-client ---
[INFO] argLine set to -javaagent:/home/hudson/.m2/repository/org/jboss/errai/jacoco-gwt-maven-plugin/0.5.4.201202141554/jacoco-gwt-maven-plugin-0.5.4.201202141554.jar=snapshotDirectory=<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...> -javaagent:/home/hudson/.m2/repository/org/jacoco/org.jacoco.agent/0.5.4.201111111111/org.jacoco.agent-0.5.4.201111111111-runtime.jar=destfile=<http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...>
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ errai-jpa-client ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 182 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ errai-jpa-client ---
[INFO] Compiling 178 source files to <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...>:[159,35] incompatible types
found : javax.persistence.JoinTable
required: javax.persistence.JoinTable
[ERROR] <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...>:[57,64] incompatible types
found : javax.persistence.PersistenceContextType
required: javax.persistence.PersistenceContextType
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[JENKINS] Archiving <http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/Errai/org.jboss.errai...> to /qa/hudson_master/hudson_home/hudson_workspace/jobs/Errai/modules/org.jboss.errai$errai-jpa-client/builds/2012-10-24_14-00-57/archive/org.jboss.errai/errai-jpa-client/2.2.0-SNAPSHOT/errai-jpa-client-2.2.0-SNAPSHOT.pom
12 years, 2 months
Excluding dependencies in Maven profiles
by Karel Piwko
Hi guys,
there is a most convenient way how to exclude an dependency from a war when a
profile is activated, figured out by Marius:
<dependencies>
<dependency>
<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>
<scope>${dependency.scope}</scope>
<version>1.0</version>
</dependency>
...
</dependencies>
...
<profile>
<id>jbossas7</id>
<properties>
<dependency.scope>provided</dependency.scope>
</properties>
</profile>
<profile>
<id>jetty</id>
<properties>
<dependency.scope>compile</dependency.scope>
</properties>
</profile>
HTH,
Karel
12 years, 2 months