And i cloned latest codes from github(master branch)
在 2012年12月19日星期三UTC+8下午6时54分54秒,John Hsing写道: > > I use this comand: mvn package to build this plugin, but i got these > erros: > > [INFO] >>> ------------------------------------------------------------------------ >> >> [INFO] Building Gerrit Events 1.4.1-SNAPSHOT >> >> [INFO] >>> ------------------------------------------------------------------------ >> >> [INFO] >> >> [INFO] --- maven-enforcer-plugin:1.0:display-info (default) @ >>> gerrit-events --- >> >> [INFO] Maven Version: 3.0.4 >> >> [INFO] JDK Version: 1.6.0_37 normalized as: 1.6.0-37 >> >> [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: >>> 3.4.11-2.16-desktop >> >> [INFO] >> >> [INFO] --- maven-localizer-plugin:1.12:generate (default) @ gerrit-events >>> --- >> >> [INFO] >> >> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ >>> gerrit-events --- >> >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> >> [INFO] skip non existing resourceDirectory >>> /work/jenkins-dev/plugins/gerrit-trigger-plugin/gerrit-events/src/main/resources >> >> [INFO] >> >> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ >>> gerrit-events --- >> >> [INFO] Nothing to compile - all classes are up to date >> >> [INFO] >> >> [INFO] --- maven-license-plugin:1.7:process (default) @ gerrit-events --- >> >> [INFO] Generated >>> /work/jenkins-dev/plugins/gerrit-trigger-plugin/gerrit-events/target/gerrit-events/WEB-INF/licenses.xml >> >> [INFO] >> >> [INFO] --- maven-checkstyle-plugin:2.8:checkstyle (compile-checkstyle) @ >>> gerrit-events --- >> >> [WARNING] The POM for >>> com.sonyericsson.hudson.plugins.gerrit:build-config:jar:1.2.10-SNAPSHOT is >>> missing, no dependency information available >> >> [INFO] >>> ------------------------------------------------------------------------ >> >> [INFO] Reactor Summary: >> >> [INFO] >> >> [INFO] Gerrit Trigger Pom ................................ SUCCESS >>> [4.107s] >> >> [INFO] Build Config ...................................... SUCCESS >>> [1.184s] >> >> [INFO] Gerrit Events ..................................... FAILURE >>> [0.648s] >> >> [INFO] Gerrit Trigger .................................... SKIPPED >> >> [INFO] >>> ------------------------------------------------------------------------ >> >> [INFO] BUILD FAILURE >> >> [INFO] >>> ------------------------------------------------------------------------ >> >> [INFO] Total time: 7.508s >> >> [INFO] Finished at: Wed Dec 19 18:43:42 GMT+08:00 2012 >> >> [INFO] Final Memory: 22M/194M >> >> [INFO] >>> ------------------------------------------------------------------------ >> >> [ERROR] Failed to execute goal >>> org.apache.maven.plugins:maven-checkstyle-plugin:2.8:checkstyle >>> (compile-checkstyle) on project gerrit-events: Execution compile-checkstyle >>> of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.8:checkstyle >>> failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.8 or one >>> of its dependencies could not be resolved: Failure to find >>> com.sonyericsson.hudson.plugins.gerrit:build-config:jar:1.2.10-SNAPSHOT in >>> http://repo.jenkins-ci.org/public/ was cached in the local repository, >>> resolution will not be reattempted until the update interval of >>> repo.jenkins-ci.org has elapsed or updates are forced -> [Help 1] >> >> [ERROR] >> >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >>> -e switch. >> >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> >> [ERROR] >> >> [ERROR] For more information about the errors and possible solutions, >>> please read the following articles: >> >> [ERROR] [Help 1] >>> http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException >> >> [ERROR] >> >> [ERROR] After correcting the problems, you can resume the build with the >>> command >> >> [ERROR] mvn <goals> -rf :gerrit-events >> >> >> > Anyone has any ideas? >
