日期:2014-05-17  浏览次数:20821 次

m2eclipse发布install时出问题
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for net.lee:net.tpss:war:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' is missing for org.apache.maven.plugins:maven-enforcer-plugin @ net.lee:net.tpss:0.0.1-SNAPSHOT, E:\xxxlll\tpss\pom.xml
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO]  
[INFO] ------------------------------------
[INFO] Building Unnamed - net.lee:net.tpss:war:0.0.1-SNAPSHOT 0.0.1-SNAPSHOT
[INFO] ------------------------------------
2012-03-05 15:29:06.328:INFO::Logging to StdErrLog::DEBUG=false via org.eclipse.jetty.util.log.StdErrLog
Downloading: http://192.168.1.8:8081/nexus/content/groups/public/org/hibernate/hibernate-annotations/3.6.0-SNAPSHOT/hibernate-annotations-3.6.0-SNAPSHOT.pom
Downloading: http://192.168.1.8:8081/nexus/content/groups/public/org/hibernate/hibernate-parent/3.6.0-SNAPSHOT/hibernate-parent-3.6.0-SNAPSHOT.pom
Downloading: http://192.168.1.8:8081/nexus/content/groups/public/org/hibernate/hibernate-core/3.6.0-SNAPSHOT/hibernate-core-3.6.0-SNAPSHOT.pom
Downloading: http://192.168.1.8:8081/nexus/content/groups/public/org/hibernate/hibernate-parent/3.6.0-SNAPSHOT/hibernate-parent-3.6.0-SNAPSHOT.pom
[WARNING] While downloading jexcelapi:jxl:2.6
  This artifact has been relocated to net.sourceforge.jexcelapi:jxl:2.6.


Downloading: http://192.168.1.8:8081/nexus/content/groups/public/org/hibernate/hibernate-annotations/3.6.0-SNAPSHOT/hibernate-annotations-3.6.0-SNAPSHOT.jar
Downloading: http://192.168.1.8:8081/nexus/content/groups/public/org/hibernate/hibernate-core/3.6.0-SNAPSHOT/hibernate-core-3.6.0-SNAPSHOT.jar
2012-03-05 15:29:07.500:WARN::0 threads could not be stopped
[INFO] ------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------
[INFO] Total time: 1.704s
[INFO] Finished at: Mon Mar 05 15:29:07 CST 2012
[INFO] Final Memory: 2M/6M
[INFO] ------------------------------------
[ERROR] Failed to execute goal on project net.tpss: Missing:
----------
1) maven-plugins:maven-cobertura-plugin:plugin:1.3

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=maven-plugins -DartifactId=maven-cobertura-plugin -Dversion=1.3 -Dpackaging=plugin -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=maven-plugins -DartifactId=maven-cobertura-plugin -Dversion=1.3 -Dpackaging=plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
  1) net.lee:net.tpss:pom:pom:0.0.1-SNAPSHOT
  2) jaxen:jaxen:jar:1.1.3
  3) maven-plugins:maven-cobertura-plugin:plugin:1.3

2) maven-plugins:maven-findbugs-plugin:plugin:1.3.1

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=maven-plugins -DartifactId=maven-findbugs-plugin -Dversion=1.3.1 -Dpackaging=plugin -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=maven-plugins -DartifactId=maven-findbugs-plugin -Dversion=1.3.1 -Dpackaging=plugin -D