Oops, my action is too quick :-( I update some dependencies.xml files, and now I could build the server successfully on my own machine. After googled, the reason to introduce this is from a OpenEJB issue, it uses the shaded library to avoid an compile error. https://issues.apache.org/jira/browse/OPENEJB-892
I will revert the changes if we find a better way to do it. Ivan 2009/5/24 David Jencks <[email protected]> > > On May 24, 2009, at 9:50 AM, Ivan wrote: > > It seems that it is caused by the new module xbean-asm-shaded is added in > XBean 3.6 snapshot. > I will search those dependencies.xml files and add it. > > > I think we should look into what's going on in xbean a bit more. I think > that shading should be optional and that the "default" xbean should only use > unshaded jars. > > thanks > david jencks > > > Ivan > > 2009/5/24 <[email protected]> > >> Geronimo Revision: 778125 built with tests included >> >> See the full build-0900.log file at >> http://people.apache.org/builds/geronimo/server/binaries/trunk/20090524/build-0900.log >> >> >> See the unit test reports at >> http://people.apache.org/builds/geronimo/server/binaries/trunk/20090524/unit-test-reports >> >> [INFO] Copying 3 resources >> [INFO] [compiler:testCompile] >> [INFO] Compiling 3 source files to >> /home/geronimo/geronimo/trunk/framework/buildsupport/car-maven-plugin/target/test-classes >> [INFO] [surefire:test] >> [INFO] Surefire report directory: >> /home/geronimo/geronimo/trunk/framework/buildsupport/car-maven-plugin/target/surefire-reports >> >> ------------------------------------------------------- >> T E S T S >> ------------------------------------------------------- >> Running org.apache.geronimo.mavenplugins.car.DependencyTest >> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec >> Running org.apache.geronimo.mavenplugins.car.PlanProcessorMojoTest >> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.669 sec >> Running org.apache.geronimo.mavenplugins.car.PluginMetadataTest >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.855 sec >> >> Results : >> >> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0 >> >> [INFO] [jar:jar] >> [INFO] Building jar: >> /home/geronimo/geronimo/trunk/framework/buildsupport/car-maven-plugin/target/car-maven-plugin-2.2-SNAPSHOT.jar >> [INFO] [plugin:addPluginArtifactMetadata] >> [INFO] [ianal:verify-legal-files {execution: default}] >> [INFO] Checking legal files in: car-maven-plugin-2.2-SNAPSHOT.jar >> [INFO] [install:install] >> [INFO] Installing >> /home/geronimo/geronimo/trunk/framework/buildsupport/car-maven-plugin/target/car-maven-plugin-2.2-SNAPSHOT.jar >> to >> /home/geronimo/.m2/repository/org/apache/geronimo/buildsupport/car-maven-plugin/2.2-SNAPSHOT/car-maven-plugin-2.2-SNAPSHOT.jar >> [INFO] [plugin:updateRegistry] >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building Geronimo Framework, Configs >> [INFO] task-segment: [install] >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Reloading plugin container for: >> org.apache.geronimo.buildsupport:car-maven-plugin. The plugin artifact has >> changed. >> [INFO] [enforcer:enforce {execution: default}] >> [INFO] [remote-resources:process {execution: process}] >> [INFO] [remote-resources:process {execution: default}] >> [INFO] [site:attach-descriptor] >> [INFO] [ianal:verify-legal-files {execution: default}] >> [INFO] [install:install] >> [INFO] Installing /home/geronimo/geronimo/trunk/framework/configs/pom.xml >> to >> /home/geronimo/.m2/repository/org/apache/geronimo/framework/configs/2.2-SNAPSHOT/configs-2.2-SNAPSHOT.pom >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building Geronimo Framework, Configs :: GBean Deployer Boostrap >> [INFO] task-segment: [install] >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] [enforcer:enforce {execution: default}] >> [INFO] [remote-resources:process {execution: process}] >> [INFO] [remote-resources:process {execution: default}] >> [INFO] [resources:resources] >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] skip non existing resourceDirectory >> /home/geronimo/geronimo/trunk/framework/configs/geronimo-gbean-deployer-bootstrap/src/main/resources >> [INFO] Copying 3 resources >> [INFO] Copying 3 resources >> [INFO] [car:validate-configuration] >> [INFO] [car:prepare-plan] >> [INFO] Generated: >> /home/geronimo/geronimo/trunk/framework/configs/geronimo-gbean-deployer-bootstrap/target/resources/META-INF/plan.xml >> [INFO] [car:verify-no-dependency-change] >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Dependencies have changed: >> Added dependencies are saved here: >> /home/geronimo/geronimo/trunk/framework/configs/geronimo-gbean-deployer-bootstrap/src/main/history/dependencies.added.xml >> Tree listing is saved here: >> /home/geronimo/geronimo/trunk/framework/configs/geronimo-gbean-deployer-bootstrap/src/main/history/treeListing.xml >> Delete >> /home/geronimo/geronimo/trunk/framework/configs/geronimo-gbean-deployer-bootstrap/src/main/history/dependencies.xml >> if you are happy with the dependency changes. >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Trace >> org.apache.maven.BuildFailureException: Dependencies have changed: >> Added dependencies are saved here: >> /home/geronimo/geronimo/trunk/framework/configs/geronimo-gbean-deployer-bootstrap/src/main/history/dependencies.added.xml >> Tree listing is saved here: >> /home/geronimo/geronimo/trunk/framework/configs/geronimo-gbean-deployer-bootstrap/src/main/history/treeListing.xml >> Delete >> /home/geronimo/geronimo/trunk/framework/configs/geronimo-gbean-deployer-bootstrap/src/main/history/dependencies.xml >> if you are happy with the dependency changes. >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) >> 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:585) >> at >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> Caused by: org.apache.maven.plugin.MojoFailureException: Dependencies have >> changed: >> Added dependencies are saved here: >> /home/geronimo/geronimo/trunk/framework/configs/geronimo-gbean-deployer-bootstrap/src/main/history/dependencies.added.xml >> Tree listing is saved here: >> /home/geronimo/geronimo/trunk/framework/configs/geronimo-gbean-deployer-bootstrap/src/main/history/treeListing.xml >> Delete >> /home/geronimo/geronimo/trunk/framework/configs/geronimo-gbean-deployer-bootstrap/src/main/history/dependencies.xml >> if you are happy with the dependency changes. >> at >> org.apache.geronimo.mavenplugins.car.DependencyChangeMojo.saveDependencyChanges(DependencyChangeMojo.java:154) >> at >> org.apache.geronimo.mavenplugins.car.DependencyChangeMojo.execute(DependencyChangeMojo.java:113) >> at >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) >> ... 16 more >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 7 minutes 58 seconds >> [INFO] Finished at: Sun May 24 09:09:32 EDT 2009 >> [INFO] Final Memory: 217M/550M >> [INFO] >> ------------------------------------------------------------------------ >> > > > > -- > Ivan > > > -- Ivan
