ant - Maven/Jenkins - trouble running Maven from Jenkins -


so have project runs jenkins, calls maven, calls ant (dont ask why) runs series of jmeter tests.

i know ant , jmeter stuff works fine. issue im having when trying add maven mix.

i have calling pom.xml simple references ant build.xml file. error below:

started user anonymous building in workspace c:\users\murphya1\.jenkins\jobs\jmeter-running-mavin\workspace parsing poms discovered new module jmeter-running-maven:jmeter-running-maven jmeter-running-maven modules changed, recalculating dependency graph [workspace] $ java -cp "c:\users\murphya1\.jenkins\plugins\maven-plugin\web-inf\lib\maven31-agent-1.4.jar;c:\users\murphya1\desktop\code samples\apache-maven-3.1.0-bin\apache-maven-3.1.0\boot\plexus-classworlds-2.4.2.jar" jenkins.maven3.agent.maven31main "c:\users\murphya1\desktop\code samples\apache-maven-3.1.0-bin\apache-maven-3.1.0" c:\users\murphya1\.jenkins\war\web-inf\lib\remoting-2.30.jar c:\users\murphya1\.jenkins\plugins\maven-plugin\web-inf\lib\maven31-interceptor-1.4.jar c:\users\murphya1\.jenkins\plugins\maven-plugin\web-inf\lib\maven3-interceptor-commons-1.4.jar 56391 <===[jenkins remoting capacity]===>channel started log4j:warn no appenders found logger (org.apache.commons.beanutils.converters.booleanconverter). log4j:warn please initialize log4j system properly. executing maven:  -b -f c:\users\murphya1\.jenkins\jobs\jmeter-running-mavin\workspace\pom.xml run [pool-1-thread-1] info hudson.maven.maven3builder$mavenexecutionlistener - scanning projects... [pool-1-thread-1] info org.apache.maven.cli.event.executioneventlogger - scanning projects... [pool-1-thread-1] info hudson.maven.maven3builder$mavenexecutionlistener -                                                                          [pool-1-thread-1] info hudson.maven.maven3builder$mavenexecutionlistener - ------------------------------------------------------------------------ [pool-1-thread-1] info hudson.maven.maven3builder$mavenexecutionlistener - building jmeter-running-maven 1.0-snapshot [pool-1-thread-1] info hudson.maven.maven3builder$mavenexecutionlistener - ------------------------------------------------------------------------ [pool-1-thread-1] info org.apache.maven.cli.event.executioneventlogger -                                                                          [pool-1-thread-1] info org.apache.maven.cli.event.executioneventlogger - ------------------------------------------------------------------------ [pool-1-thread-1] info org.apache.maven.cli.event.executioneventlogger - building jmeter-running-maven 1.0-snapshot [pool-1-thread-1] info org.apache.maven.cli.event.executioneventlogger - ------------------------------------------------------------------------ [pool-1-thread-1] info hudson.maven.maven3builder$mavenexecutionlistener - ------------------------------------------------------------------------ [pool-1-thread-1] info hudson.maven.maven3builder$mavenexecutionlistener - build failure [pool-1-thread-1] info hudson.maven.maven3builder$mavenexecutionlistener - ------------------------------------------------------------------------ [pool-1-thread-1] info hudson.maven.maven3builder$mavenexecutionlistener - total time: 0.749s [pool-1-thread-1] info hudson.maven.maven3builder$mavenexecutionlistener - finished at: wed aug 07 11:10:02 bst 2013 [pool-1-thread-1] info hudson.maven.maven3builder$mavenexecutionlistener - final memory: 3m/61m [pool-1-thread-1] info hudson.maven.maven3builder$mavenexecutionlistener - ------------------------------------------------------------------------ [jenkins] archiving c:\users\murphya1\.jenkins\jobs\jmeter-running-mavin\workspace\pom.xml c:\users\murphya1\.jenkins\jobs\jmeter-running-mavin\modules\jmeter-running-maven$jmeter-running-maven\builds\2013-08-07_11-09-52\archive\jmeter-running-maven\jmeter-running-maven\1.0-snapshot\jmeter-running-maven-1.0-snapshot.pom [pool-1-thread-1] info org.apache.maven.cli.event.executioneventlogger - ------------------------------------------------------------------------ [pool-1-thread-1] info org.apache.maven.cli.event.executioneventlogger - build failure [pool-1-thread-1] info org.apache.maven.cli.event.executioneventlogger - ------------------------------------------------------------------------ [pool-1-thread-1] info org.apache.maven.cli.event.executioneventlogger - total time: 4.863s [pool-1-thread-1] info org.apache.maven.cli.event.executioneventlogger - finished at: wed aug 07 11:10:06 bst 2013 [pool-1-thread-1] info org.apache.maven.cli.event.executioneventlogger - final memory: 3m/61m [pool-1-thread-1] info org.apache.maven.cli.event.executioneventlogger - ------------------------------------------------------------------------ channel stopped finished: failure 

and pom.xml below:

<project>   <modelversion>4.0.0</modelversion>   <artifactid>jmeter-running-maven</artifactid>   <groupid>jmeter-running-maven</groupid>   <version>1.0-snapshot</version>   <build>     <plugins>       <plugin>         <artifactid>maven-antrun-plugin</artifactid>         <version>1.7</version>         <executions>           <execution>             <phase>generate-sources</phase>             <configuration>               <tasks>                            <ant antfile="${basedir}/build.xml">                     <target name="prepare-jmeter-running-maven" />                 </ant>               </tasks>             </configuration>             <goals>               <goal>run</goal>             </goals>           </execution>         </executions>       </plugin>     </plugins>   </build> </project> 

is able point out have gone wrong? thanks

update

i running off clients vdi machine, has having issues running commands such mvn install, giving me errors such connection refused:forbidden , timed out. think issue, or pom.xml not correct?

so issue vdi blocking me downloading relevant jar , pom files. did run task on local machine, copied files across vdi repo , jar files, registered them following maven command:

mvn install:install-file -dfile=.\lib\com.ibm.mq.jar -dgroupid=com.ibm.mq -dartifactid=webspheremqclassesforjava -dversion=7.0.1.5 -dpackaging=jar 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -