On May 29, 2009, at 9:45 AM, Shawn Jiang wrote:

I'm looking for a way to shutdown the dependencies checking because I saw:
keeps historical dependencies in src/main/history/dependencies.xml
if the file is missing, it creates it with current dependency info
if the file is there, it compares with current dependency info and if it's changed writes out dependences.added.xml and dependencies.removed.xml
by default it fails on changes, although this can be turned off.
respects current useTransitiveDependencies flag setting.
in https://issues.apache.org/jira/browse/GERONIMO-4248. Is there a way to turn off the default fail behavior temporarily ?

I do

find . -name dependencies.xml | xargs rm

but I prefer to find and fix the cause. If someone could send me the dependencies.*.xml and treeListing.xml files from one of these failed client builds I'd appreciate it.

thanks
david jencks



On Fri, May 29, 2009 at 8:05 PM, Ivan <[email protected]> wrote:
I tried it on the tck machine, got the same error :-(

2009/5/29 Joe Bohn <[email protected]>

Building openejb didn't change the result on my system. I'm not sure why we are seeing different results.

Joe



Joe Bohn wrote:
No, I didn't build openejb so perhaps that is the difference. I'll give it a try. If it works I guess it would be helpful to get a new snapshot of openejb published.

Joe


David Jencks wrote:

On May 28, 2009, at 8:53 PM, Joe Bohn wrote:

I'm hitting this same failure on my mac. Perhaps you have something different in your local repo ... perhaps an older private build of xbean? I hit it after updating xbean trunk, rebuilding xbean, and then rebuilding Geronimo. Mine shows that xbean-finder is no longer a dependency of the client plugin.

IIRC I built xbean, openejb, and then geronimo without problems. Did you build openejb?

thanks
david jencks



Joe


David Jencks wrote:
I'm not seeing this error and can't figure out how to see the files indicating the problem. Is there any documentation about how these builds work? A short description on http://cwiki.apache.org/confluence/display/GMOxDEV/ would be great. Do we also run builds on the tck machines? Are the results there accessible to, well, me?
thanks
david jencks
On May 28, 2009, at 2:36 PM, [email protected] wrote:
Geronimo Revision: 779702 built with tests included

See the full build-1500.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090528/build-1500.log


See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090528/unit-test-reports

[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/plugins/client/geronimo-client/src/main/resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile]
[INFO] Compiling 5 source files to /home/geronimo/geronimo/trunk/ plugins/client/geronimo-client/target/classes
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/geronimo/geronimo/ trunk/plugins/client/geronimo-client/src/test/resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] Surefire report directory: /home/geronimo/geronimo/trunk/ plugins/client/geronimo-client/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: /home/geronimo/geronimo/trunk/plugins/client/ geronimo-client/target/geronimo-client-2.2-SNAPSHOT.jar
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: geronimo-client-2.2-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing /home/geronimo/geronimo/trunk/plugins/client/ geronimo-client/target/geronimo-client-2.2-SNAPSHOT.jar to /home/ geronimo/.m2/repository/org/apache/geronimo/modules/geronimo-client/ 2.2-SNAPSHOT/geronimo-client-2.2-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo Plugins, Client :: Client
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: process}]
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = META-INF/DEPENDENCIES.vm [line 40,column 14] : $license.name is not a valid reference. [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = META-INF/DEPENDENCIES.vm [line 40,column 14] : $license.name is not a valid reference.
[INFO] [remote-resources:process {execution: default}]
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = META-INF/DEPENDENCIES.vm [line 40,column 14] : $license.name is not a valid reference. [WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : template = META-INF/DEPENDENCIES.vm [line 40,column 14] : $license.name is not a valid reference.
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/geronimo/geronimo/ trunk/plugins/client/client/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/plugins/client/ client/target/resources/META-INF/plan.xml
[INFO] [car:verify-no-dependency-change]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Dependencies have changed:
Removed dependencies are saved here: /home/geronimo/geronimo/trunk/ plugins/client/client/src/main/history/dependencies.removed.xml Tree listing is saved here: /home/geronimo/geronimo/trunk/plugins/ client/client/src/main/history/treeListing.xml Delete /home/geronimo/geronimo/trunk/plugins/client/client/src/main/ history/dependencies.xml if you are happy with the dependency changes. [INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Dependencies have changed:
Removed dependencies are saved here: /home/geronimo/geronimo/trunk/ plugins/client/client/src/main/history/dependencies.removed.xml Tree listing is saved here: /home/geronimo/geronimo/trunk/plugins/ client/client/src/main/history/treeListing.xml Delete /home/geronimo/geronimo/trunk/plugins/client/client/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: Removed dependencies are saved here: /home/geronimo/geronimo/trunk/ plugins/client/client/src/main/history/dependencies.removed.xml Tree listing is saved here: /home/geronimo/geronimo/trunk/plugins/ client/client/src/main/history/treeListing.xml Delete /home/geronimo/geronimo/trunk/plugins/client/client/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: 20 minutes 40 seconds
[INFO] Finished at: Thu May 28 15:22:37 EDT 2009
[INFO] Final Memory: 358M/563M
[INFO] ------------------------------------------------------------------------








--
Ivan



--
Shawn

Reply via email to