Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.2
-
Labels:None
-
Number of attachments :
Description
Here is the full log. To be noted that hudson handles it properly
Started by user anonymous
Parsing POMs
[toto toto] $ e:\java\jdk-6/bin/java -cp "C:\Documents and Settings\OlivierG\.hudson\plugins\maven-plugin\WEB-INF\lib\maven-agent-1.317.jar;C:\Documents and Settings\OlivierG\.hudson\tools\Maven-2.1.0\boot\classworlds-1.1.jar" hudson.maven.agent.Main "C:\Documents and Settings\OlivierG\.hudson\tools\Maven-2.1.0" "C:\Documents and Settings\OlivierG\.hudson\war\WEB-INF\lib\remoting-1.317.jar" "C:\Documents and Settings\OlivierG\.hudson\plugins\maven-plugin\WEB-INF\lib\maven-interceptor-1.317.jar" 4606 "C:\Documents and Settings\OlivierG\.hudson\plugins\maven-plugin\WEB-INF\lib\maven2.1-interceptor-1.2.jar"
���channel started
Executing Maven: -B -f C:\Documents and Settings\OlivierG\.hudson\jobs\commons-chain\workspace\trunk/toto toto/pom.xml clean install -Dtest=false -DfailIfNoTests=false
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Commons Chain
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\Documents and Settings\OlivierG\.hudson\jobs\commons-chain\workspace\trunk\toto toto\target
[INFO] [antrun:run
{execution: javadoc.resources}]
[INFO] Executing tasks
[copy] Copying 2 files to C:\Documents and Settings\OlivierG\.hudson\jobs\commons-chain\workspace\trunk\toto toto\target\apidocs\META-INF
[INFO] Executed tasks
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources to META-INF
[INFO] [compiler:compile]
[INFO] Compiling 55 source files to C:\Documents and Settings\OlivierG\.hudson\jobs\commons-chain\workspace\trunk\toto toto\target\classes
[INFO] [bundle:manifest
{execution: bundle-manifest}]
[INFO] [resources:testResources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] [compiler:testCompile]
[INFO] Compiling 37 source files to C:\Documents and Settings\OlivierG\.hudson\jobs\commons-chain\workspace\trunk\toto toto\target\test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\Documents and Settings\OlivierG\.hudson\jobs\commons-chain\workspace\trunk\toto toto\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[HUDSON] Recording test results
[INFO] [jar:jar]
[INFO] Building jar: C:\Documents and Settings\OlivierG\.hudson\jobs\commons-chain\workspace\trunk\toto toto\target\commons-chain-1.3-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing C:\Documents and Settings\OlivierG\.hudson\jobs\commons-chain\workspace\trunk\toto toto\target\commons-chain-1.3-SNAPSHOT.jar to C:\.m2\repository\commons-chain\commons-chain\1.3-SNAPSHOT\commons-chain-1.3-SNAPSHOT.jar
[HUDSON] Archiving C:\Documents and Settings\OlivierG\.hudson\jobs\commons-chain\workspace\trunk\toto toto\pom.xml to C:\Documents and Settings\OlivierG\.hudson\jobs\commons-chain\modules\commons-chain$commons-chain\builds\2009-10-16_20-40-37\archive\commons-chain\commons-chain\1.3-SNAPSHOT\pom.xml
[HUDSON] Archiving C:\Documents and Settings\OlivierG\.hudson\jobs\commons-chain\workspace\trunk\toto toto\target\commons-chain-1.3-SNAPSHOT.jar to C:\Documents and Settings\OlivierG\.hudson\jobs\commons-chain\modules\commons-chain$commons-chain\builds\2009-10-16_20-40-37\archive\commons-chain\commons-chain\1.3-SNAPSHOT\commons-chain-1.3-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Fri Oct 16 20:40:47 CEST 2009
[INFO] Final Memory: 20M/38M
[INFO] ------------------------------------------------------------------------
Waiting for Hudson to finish collecting data
channel stopped
[workspace] $ "C:\Documents and Settings\OlivierG\.hudson\tools\Maven-2.1.0\bin\mvn.bat" -e -B -f trunk/toto toto/pom.xml -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.username=sonar -Dsonar.jdbc.password=sonar -Dsonar.jdbc.url=jdbc:mysql://localhost:3306/test -Dsonar.host.url=http://localhost:9000 sonar:sonar
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Invalid task 'toto/pom.xml': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Invalid task 'toto/pom.xml': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1765)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:446)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:176)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
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:597)
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)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Oct 16 20:40:48 CEST 2009
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------
Finished: FAILURE
Hudson ver. 1.317
Fixed in trunk, verified, so can be closed.
Also unit-test added.