maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Herscu <bmf1...@fastmail.fm>
Subject Re: [m2] [WARNING] Removing: java from forked lifecycle, to prevent recursive invocation.
Date Mon, 23 Apr 2007 16:59:38 GMT
Hi Wayne,

mvn -X looks like this (I think it's the relevant portion -- if you need 
the entire log please let me know):

[INFO] Preparing exec:java
[WARNING] Removing: java from forked lifecycle, to prevent recursive 
invocation.
[INFO] No goals needed for project - skipping
[DEBUG] 
org.acme.lang.compiler:acme-lang-compiler:jar:1.0-alpha-1-SNAPSHOT 
(selected for null)
[DEBUG] 
org.acme.lang.decompiler:acme-lang-decompiler:jar:1.0-alpha-1-SNAPSHOT:test 
(selected for test)
[DEBUG]   junit:junit:jar:3.8.1:test (selected for test)
[DEBUG]   xmlunit:xmlunit:jar:1.0:test (selected for test)
[DEBUG]   commons-io:commons-io:jar:1.3.1:compile (selected for compile)
[DEBUG]   org.acme.samples:acme-samples:war:1.0-alpha-3-SNAPSHOT:test 
(selected for test)
[DEBUG]   antlr:antlr:jar:2.7.7:compile (selected for compile)
[DEBUG] 
org.codehaus.mojo:exec-maven-plugin:maven-plugin:1.1-beta-1:runtime 
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.ant:ant-parent::1.7.0 for 
project: org.apache.ant:ant:jar:1.7.0 from the repository.
[DEBUG]   org.apache.ant:ant:jar:1.7.0:compile (selected for compile)
[DEBUG] Retrieving parent-POM: org.apache.ant:ant-parent::1.7.0 for 
project: org.apache.ant:ant-launcher:jar:1.7.0 from the repository.
[DEBUG]     org.apache.ant:ant-launcher:jar:1.7.0:compile (selected for 
compile)
[DEBUG] 
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime 
(selected for runtime)
[DEBUG]     junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected 
for runtime)
[DEBUG]     classworlds:classworlds:jar:1.1-alpha-2:runtime (selected 
for runtime)
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - 
nearer found: 1.1)
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for 
runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for 
project: null:maven-project:jar:2.0.4 from the repository.
[DEBUG] Adding managed depedendencies for unknown:maven-project
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-7
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-7
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-6
[DEBUG]   org.apache.maven:maven-project:jar:2.0.4:runtime (selected for 
runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for 
project: null:maven-settings:jar:2.0.4 from the repository.
[DEBUG] Adding managed depedendencies for unknown:maven-settings
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-7
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-7
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-6
[DEBUG]     org.apache.maven:maven-settings:jar:2.0.4:runtime (selected 
for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for 
project: org.apache.maven:maven-model:jar:2.0.4 from the repository.
[DEBUG] Adding managed depedendencies for org.apache.maven:maven-model
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-7
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-7
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-6
[DEBUG]       org.apache.maven:maven-model:jar:2.0.4:runtime (selected 
for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for 
project: null:maven-profile:jar:2.0.4 from the repository.
[DEBUG] Adding managed depedendencies for unknown:maven-profile
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-7
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-7
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-6
[DEBUG]     org.apache.maven:maven-profile:jar:2.0.4:runtime (selected 
for runtime)
[DEBUG]     org.apache.maven:maven-model:jar:2.0.4:runtime (selected for 
runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for 
project: org.apache.maven:maven-artifact-manager:jar:2.0.4 from the 
repository.
[DEBUG] Adding managed depedendencies for 
org.apache.maven:maven-artifact-manager
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-7
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-7
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-6
[DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0.4:runtime 
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for 
project: org.apache.maven:maven-repository-metadata:jar:2.0.4 from the 
repository.
[DEBUG] Adding managed depedendencies for 
org.apache.maven:maven-repository-metadata
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-7
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-7
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-6
[DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.4:runtime 
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for 
project: org.apache.maven:maven-artifact:jar:2.0.4 from the repository.
[DEBUG] Adding managed depedendencies for org.apache.maven:maven-artifact
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.1
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-7
[DEBUG]   org.apache.maven.wagon:wagon-ssh-external:jar:1.0-alpha-6
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-7
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-6
[DEBUG]       org.apache.maven:maven-artifact:jar:2.0.4:runtime 
(selected for runtime)
[DEBUG] 
org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:runtime 
(selected for runtime)
[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime 
(removed - nearer found: 1.1)
[DEBUG]     org.apache.maven:maven-artifact:jar:2.0.4:runtime (selected 
for runtime)
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected 
for runtime)
[DEBUG] Retrieving parent-POM: org.apache.ant:ant-parent::1.7.0 for 
project: org.apache.ant:ant-trax:jar:1.7.0 from the repository.
[DEBUG]   org.apache.ant:ant-trax:jar:1.7.0:compile (selected for compile)
[DEBUG] Configuring mojo 
'org.codehaus.mojo:exec-maven-plugin:1.1-beta-1:java' -->
[DEBUG]   (f) arguments = [Ljava.lang.String;@f6f1b6
[DEBUG]   (f) cleanupDaemonThreads = false
[DEBUG]   (f) daemonThreadJoinTimeout = 15000
[DEBUG]   (f) includePluginDependencies = true
[DEBUG]   (f) includeProjectDependencies = false
[DEBUG]   (f) keepAlive = false
[DEBUG]   (f) killAfter = -1
[DEBUG]   (f) localRepository = [local] -> 
file://C:\DOCUME~1\pm\M2639C~1\REPOSI~1
[DEBUG]   (f) mainClass = org.apache.tools.ant.Main
[DEBUG]   (f) pluginDependencies = 
[org.apache.ant:ant:jar:1.7.0:compile, 
org.codehaus.plexus:plexus-utils:jar:1.1:runtime, 
org.apache.ant:ant-trax:jar:1.7.0:compile, 
org.apache.ant:ant-launcher:jar:1.7.0:compile, 
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime, 
org.apache.maven:maven-project:jar:2.0.4:runtime, 
org.apache.maven:maven-plugin-api:jar:2.0:runtime]
[DEBUG]   (f) project = org.apache.maven.project.MavenProject@8ea8b932
[DEBUG]   (f) remoteRepositories = [[myserver.com] -> 
https://www.myserver.com:443/dav/acme/repository, 
[snapshots@myserver.com] -> 
https://www.myserver.com:443/dav/acme/snapshots, 
[openarchitectureware.org] -> http://www.openarchitectureware.org/m2, 
[central] -> http://repo1.maven.org/maven2]
[DEBUG]   (f) stopUnresponsiveDaemonThreads = false
[DEBUG] -- end configuration --
[INFO] [exec:java {execution: default}]
[DEBUG] Invoking : org.apache.tools.ant.Main.main(-buildfile, 
C:\documents\pm\project-trunks\acme\lang\compiler/decompile.xml, 
-Dproject.build.directory=C:\documents\pm\project-trunks\acme\lang\compiler\target)
[DEBUG] All Plugin Dependencies will be included.
[DEBUG] Adding plugin dependency artifact: ant to classpath
[DEBUG] Adding plugin dependency artifact: plexus-container-default to 
classpath
[DEBUG] Adding plugin dependency artifact: maven-project to classpath
[DEBUG] Adding plugin dependency artifact: plexus-utils to classpath
[DEBUG] Adding plugin dependency artifact: maven-plugin-api to classpath
[DEBUG] Adding plugin dependency artifact: ant-trax to classpath
[DEBUG] Adding plugin dependency artifact: ant-launcher to classpath
[DEBUG] Project Dependencies will be excluded.
[DEBUG] joining on thread 
Thread[org.apache.tools.ant.Main.main(),5,org.apache.tools.ant.Main]
[DEBUG] Setting accessibility to true in order to invoke main().
Buildfile: C:\documents\pm\project-trunks\acme\lang\compiler\decompile.xml


Wayne Fay wrote:
> What's mvn -X look like?
> 
> Wayne
> 
> On 4/23/07, Adrian Herscu <bmf1972@fastmail.fm> wrote:
>> Hi all,
>>
>> Using Maven 2.0.6 and the exec-maven-plugin 1.1-beta-1, the following
>> messages appear during the java goal execution:
>>
>> [INFO] Preparing exec:java
>> [WARNING] Removing: java from forked lifecycle, to prevent recursive
>> invocation.
>>
>> [INFO] No goals needed for project - skipping
>> [INFO] [exec:java {execution: default}]
>> Buildfile: C:\documents\pm\backyard\some-ant-build.xml
>>
>> The effect is that the build lifecycle ends immediately after the
>> execution of the java goal :-(
>>
>> What should I check?
>>
>> Please help,
>> Adrian.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message