Hi,
    I have downloaded MAVEN2.2 source. when i tried to build the source
using "ANT", i got an error  "build.xml:141 java returned 1". i could not
recognize why this error occured.I have included my output below... Help me
out to build the souce code successfully using ANT.


    [java] url = http://snapshots.repository.codehaus.org/
     [java] Downloading:
http://snapshots.repository.codehaus.org//org/apache/ma
ven/maven-plugin-descriptor/2.0.5/maven-plugin-descriptor-2.0.5.jar
     [java] url = http://repo1.maven.org/maven2
     [java] Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-pl
ugin-descriptor/2.0.5/maven-plugin-descriptor-2.0.5.jar
     [java] url = http://snapshots.repository.codehaus.org/
     [java] Downloading:
http://snapshots.repository.codehaus.org//org/apache/ma
ven/maven-monitor/2.0.5/maven-monitor-2.0.5.jar
     [java] url = http://repo1.maven.org/maven2
     [java] Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-mo
nitor/2.0.5/maven-monitor-2.0.5.jar
     [java] [ERROR]
     [java] Failed to construct build plan for: Apache Maven
     [java] Id: org.apache.maven:maven:pom:2.1-SNAPSHOT
     [java] task-segment: [clean, install]. Reason: Failed to load plugin
descri
ptor for:
org.apache.maven.plugins:maven-remote-resources-plugin:1.0-beta-2:proc
ess. Cannot discover it's default phase, specified in its plugin descriptor.
     [java]
     [java] While building project with id:
org.apache.maven:maven:pom:2.1-SNAPS
HOT
     [java] Project File: D:\Build\maven\pom.xml
     [java]
     [java]
     [java] [INFO]
-------------------------------------------------------------
-----------
     [java] [INFO] For more information, run with the -e flag
     [java] [INFO]
-------------------------------------------------------------
-----------
     [java] [INFO] BUILD FAILED
     [java] [INFO]
-------------------------------------------------------------
-----------
     [java] [INFO] Total time: 10 minutes 7 seconds
     [java] [INFO] Finished at: Mon May 19 05:05:25 GMT 2008
     [java] [INFO] Final Memory: 8M/15M
     [java] [INFO]
-------------------------------------------------------------
-----------

BUILD FAILED
D:\Build\maven\build.xml:141: Java returned: 1

Total time: 11 minutes 12 seconds


Please help me to remove this bug. I expect your valuable suggestions and
ideas.. Thanks in advance...
-- 
View this message in context: 
http://www.nabble.com/%22build.xml%3A141-Java-Returned-1%22...-Help-me-out-to-kill-this-error-tp17315162p17315162.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to