Maven refuses to build. Version 1.0 of maven-enforcer-plugin in the 
repo1.maven.org is empty.


[INFO] ------------------------------------------------------------------------
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-enforcer-plugin/1.0/maven-enforcer-plugin-1.0.pom
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-enforcer-plugin/1.0/maven-enforcer-plugin-1.0.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that 
the goal name is correct: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command: 
    mvn install:install-file -DgroupId=org.apache.maven.plugins 
-DartifactId=maven-enforcer-plugin -Dversion=1.0 -Dpackaging=maven-plugin 
-Dfile=/path/to/file

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


  org.apache.maven.plugins:maven-enforcer-plugin:maven-plugin:1.0

from the specified remote repositories:
  mawell-repository.snapshots 
(scpexe://repository.intra.mawell.com/opt/m2repository/snapshots),
  mawell-repository.releases 
(scpexe://repository.intra.mawell.com/opt/m2repository/deploy),
  central (http://repo1.maven.org/maven2)


  org.apache.maven.plugins:maven-enforcer-plugin:maven-plugin:1.0

from the specified remote repositories:
  mawell-repository.snapshots 
(scpexe://repository.intra.mawell.com/opt/m2repository/snapshots),
  mawell-repository.releases 
(scpexe://repository.intra.mawell.com/opt/m2repository/deploy),
  central (http://repo1.maven.org/maven2)

TIA

Johan Hedin


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to