[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.32) 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 -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-findbugs-plugin:plugin:1.3.1----------
2 required artifacts are missing.for artifact: 
  net.lee:net.tpss:pom:0.0.1-SNAPSHOTfrom the specified remote repositories:
  nexus (http://192.168.1.8:8081/nexus/content/groups/public, releases=true, snapshots=true)
-> [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/MultipleArtifactsNotFoundException

解决方案 »

  1.   

    问题:
    [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.32) maven-plugins:maven-findbugs-plugin:plugin:1.3.1解决方法:
      Try downloading the file manually from the project website.
      

  2.   

    这个简单。
    下载 maven-plugins:maven-cobertura-plugin:plugin:1.3然后在cmd下导入本地maven仓库即可。  mvn install:install-file -DgroupId=maven-plugins -DartifactId=maven-cobertura-plugin -Dversion=1.3 -Dpackaging=plugin -Dfile=/path/to/file
      

  3.   

    这个怎么执行呀,我是刚用这个maven,请各位高手指教
      

  4.   


     mvn install:install-file -DgroupId=maven-plugins -DartifactId=maven-cobertura-plugin -Dversion=1.3 -Dpackaging=plugin -Dfile=/path/to/file