Maven try to find invalid plugin
aquadrehz Feb 25, 2013 6:50 AMI try todeploy this project with goal: clean package jboss-as:deploy -X
First time it's deployed and can check th result from: http://localhost:8080/RESTfulExample/customer/print
The example project which found error is from this link: http://www.mkyong.com/webservices/jax-rs/resteasy-spring-integration-example/
Then I deploy it again but t failed and the error displayed below.
[Some part of console]
.....
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.mkyong.common:RESTfulExample:war:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging war from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin version for URL=http://localhost
[DEBUG] Could not find metadata URL=http://localhost/maven-metadata.xml in local (C:\Users\AquaDrehz\.m2\repository)
[DEBUG] Failure to find URL=http://localhost/maven-metadata.xml in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.230s
[INFO] Finished at: Wed Feb 13 13:57:17 ICT 2013
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Error resolving version for plugin 'URL=http://localhost' from the repositories [local (C:\Users\AquaDrehz\.m2\repository), central (http://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository -> [Help 1]
org.apache.maven.plugin.version.PluginVersionResolutionException: Error resolving version for plugin 'URL=http://localhost' from the repositories [local (C:\Users\AquaDrehz\.m2\repository), central (http://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository
....
------------------See the detail in attachment: "RestfulExampleError001.txt.zip"------------------------
or Check Result of Deploying via Maven stand alone version on attachment "MavenStandalone20130213.txt"
We found this plugin is created without pom.xml refered also it isn't plug-in name too. (See pom.xml attachment)
Does it created correcly?
And what's next step to solve or identify this problem. Please advise.
More detail can request via this topic, I'll answer as quick as I can.
------- Update-----
- Result of Deploying via Maven 3.0.4 stand alone version on attachment "MavenStandalone20130213.txt"
- Current project reference which found this issue: http://www.mkyong.com/webservices/jax-rs/resteasy-hello-world-example/
- [Not resolved; same Result] Reinstall JBoss Developer Studio Version: 6.0.0.GA
- [Not resolved; same Result] Reinstall JBoss AS 7.1.1 Final.
- [Not resolved; same Result] Import example project from clean download link.
- [Not resolved; same Result] Start JBoss Dev. Stu. via ...\jbdevstudio\studio\jbdevstudio.exe -clean.
- Correct the project download link (previous is incorrect)
- The error message was changed in this example Reference: http://www.mkyong.com/webservices/jax-rs/jersey-spring-integration-example/
- [Resolved] Remove .metadata in workspace DIR then all conflict gone.
Message was edited by: Aqua Drehz
-
pom.xml 4.3 KB
-
MavenStandalone20130213.txt.zip 975 bytes