vstreaming1982 / oauth

Automatically exported from code.google.com/p/oauth
0 stars 0 forks source link

Maven build fails because maven-jetty-plugin has been renamed #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Clean out local Maven repository
2. Attempt to build the top level project with mvn clean install

What is the expected output? What do you see instead?
Expected: Maven build successful message: [INFO] BUILD SUCCESSFUL
Actual: Build failed with this message:
[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.mortbay.jetty
-DartifactId=maven-jetty-plugin -Dversion=7.0.0.pre5
-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.mortbay.jetty
-DartifactId=maven-jetty-plugin -Dversion=7.0.0.pre5
-Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  org.mortbay.jetty:maven-jetty-plugin:maven-plugin:7.0.0.pre5

What version of the product are you using? On what operating system?
SVN trunk, revision 807 on CentOS Linux

Please provide any additional information below.

A little Googleing reveals that the plugin has been renamed, see
http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin

Patch to fix the affected poms is attached.

Original issue reported on code.google.com by scarhill on 24 Nov 2008 at 8:42

GoogleCodeExporter commented 8 years ago
Oops, here's the patch!

Original comment by scarhill on 24 Nov 2008 at 8:45

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the patch.  I committed it as -r814.

Original comment by jmkrist...@gmail.com on 26 Nov 2008 at 10:44