The point is tomee/trunk is more or less a single project (openejb modules are here for historical reason). So you always build both.
mvn clean install -pl tomee/apache-tomee -am -Dmaven.test.skip=true does it Le 10 oct. 2013 07:17, "jieryn" <jie...@gmail.com> a écrit : > Ok, that's fine. I just see something like this when I start Apache > TomEE, please note that it doesn't reference specifics w/r/t TomEE: > > 10-Oct-2013 00:36:27.115 INFO [main] > org.apache.openejb.OpenEJB$Instance.<init> > > ******************************************************************************** > 10-Oct-2013 00:36:27.116 INFO [main] > org.apache.openejb.OpenEJB$Instance.<init> OpenEJB > http://openejb.apache.org/ > 10-Oct-2013 00:36:27.116 INFO [main] > org.apache.openejb.OpenEJB$Instance.<init> Startup: Thu Oct 10 > 00:36:27 EDT 2013 > 10-Oct-2013 00:36:27.117 INFO [main] > org.apache.openejb.OpenEJB$Instance.<init> Copyright 1999-2013 (C) > Apache OpenEJB Project, All Rights Reserved. > 10-Oct-2013 00:36:27.118 INFO [main] > org.apache.openejb.OpenEJB$Instance.<init> Version: 4.6.0-SNAPSHOT > 10-Oct-2013 00:36:27.118 INFO [main] > org.apache.openejb.OpenEJB$Instance.<init> Build date: 20131009 > 10-Oct-2013 00:36:27.119 INFO [main] > org.apache.openejb.OpenEJB$Instance.<init> Build time: 04:29 > 10-Oct-2013 00:36:27.119 INFO [main] > org.apache.openejb.OpenEJB$Instance.<init> > > ******************************************************************************** > > And that the build instructions for TomEE do not mandate the building > of OpenEJB, which means there may theoretically (and practically, > since the default top level openejb build does not work for me on my > machine, and so any -SNAPSHOT openejb dependencies in tomee are > resolved from the MRM and not the reactor) be a mismatch between > openejb and tomee. > > It is pretty simple to add these kinds of build details into the log. > And we already have an example in org.apache.openejb.OpenEJB$Instance > or with build-number-m-p. > > > On Thu, Oct 10, 2013 at 12:53 AM, Romain Manni-Bucau > <rmannibu...@gmail.com> wrote: > > Hmm not sure I get it, openejb or tomee are the same thing so basically > > same build. > > Le 9 oct. 2013 22:45, "jieryn" <jie...@gmail.com> a écrit : > > > >> I had never built TomEE myself, I did so just now and it was quite > >> painless. > >> > >> I tested ec87810f91489e396957f8bf48e381251d39b08e and it is working > >> for all my previous complaints! > >> > >> (OpenEJB puts out a nice banner about its full build provenance, > >> perhaps TomEE should do something similar. It would make these kinds > >> of discussions easier than me digging out the hash from the source or > >> META-INF/**). > >> > >> > >> On Wed, Oct 9, 2013 at 3:51 PM, Romain Manni-Bucau > >> <rmannibu...@gmail.com> wrote: > >> > Hi > >> > > >> > Surely fixed this morning, did you try building from sources? > >> > Le 9 oct. 2013 21:09, "jieryn" <jie...@gmail.com> a écrit : > >> > > >> >> Some changes in between > >> >> apache-tomee-1.6.0-20131008.041119-199-plus.tar.gz and > >> >> apache-tomee-1.6.0-20131009.041119-200-plus.tar.gz are causing a > >> >> failure at TomEE start up because of an javax.ws.rs.core.Application > >> >> in a jar: > >> >> > >> >> SEVERE: Unable to deploy collapsed ear in war > >> >> > >> >> > >> > StandardEngine[Catalina].StandardHost[localhost].StandardContext[/javaee-1-SNAPSHOT] > >> >> org.apache.openejb.OpenEJBException: Unable to instantiate > Application > >> >> class: org.apache.wink.client.ClientConfig$1$1: > >> >> org.apache.wink.client.ClientConfig$1$1 > >> >> at > >> >> > >> > org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:2018) > >> >> at > >> >> > >> > org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1813) > >> >> at > >> >> > >> > org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:349) > >> >> at > >> >> > >> > org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:396) > >> >> at > >> >> > >> > org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:938) > >> >> at > >> >> > >> > org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1124) > >> >> at > >> >> > >> > org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1004) > >> >> at > >> >> > >> > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:127) > >> >> at > >> >> > >> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > >> >> at > >> >> > >> > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > >> >> at > >> >> > >> > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322) > >> >> at > >> >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > >> >> at > >> >> > >> > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) > >> >> at > >> >> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) > >> >> at > >> >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) > >> >> at > >> >> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976) > >> >> at > >> >> > >> > org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1653) > >> >> at > >> >> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > >> >> at > >> >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > >> >> at java.util.concurrent.FutureTask.run(FutureTask.java:166) > >> >> at > >> >> > >> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > >> >> at > >> >> > >> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > >> >> at java.lang.Thread.run(Thread.java:724) > >> >> Caused by: java.lang.InstantiationException: > >> >> org.apache.wink.client.ClientConfig$1$1 > >> >> at java.lang.Class.newInstance(Class.java:359) > >> >> at > >> >> > >> > org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:2004) > >> >> ... 22 more > >> >> > >> >> To replicate this: > >> >> > >> >> $ git clone https://github.com/jieryn/javaee-example ; cd > >> javaee-example > >> >> $ mvn clean package tomee:run > >> >> > >> >