Installation and Using of Virgo Maven Plugin [message #1005250] |
Thu, 24 January 2013 13:07  |
Eclipse User |
|
|
|
Hi Everyone,
I'm quite new to Maven and Virgo. I have some OSGi/Virgo projects working well and would like to start using Maven with these. I've read about the Virgo Maven Plugin and tried to use it. Following are the steps:
- Downloaded the Virgo Maven Plugin ZIP from github
- Extracted the ZIP
- Went to the dir: "virgo-maven-plugin-master/virgo-maven-plugin" (where there is the pom.xml file)
- Executed mvn clean install
- Then went to where my OSGi project is (the pom.xml) and executed mvn virgo:deploy
Following is what was displayed.
C:\exp\test2>mvn virgo:start
[INFO] Scanning for projects...
[WARNING] The POM for net.flybyte.virgo:virgo-maven-plugin:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for net.flybyte.virgo:virgo-maven-plugin:1.0.0: Plugin net.flybyte.virgo:virgo-maven-plugin:1.0.0 or one of its d
ependencies could not be resolved: Failed to read artifact descriptor for net.flybyte.virgo:virgo-maven-plugin:jar:1.0.0
Downloading: maven-metadata.xml
Downloading: maven-metadata.xml
Downloaded: maven-metadata.xml (11 KB at 30.5 KB/sec)
Downloaded: maven-metadata.xml (22 KB at 41.8 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.604s
[INFO] Finished at: Thu Jan 24 18:37:05 CET 2013
[INFO] Final Memory: 9M/184M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'virgo' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\maven\.m2\repository), central (maven2)] -> [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] NoPluginFoundForPrefixException
Note that the links had to be removed as otherwise it would not allow me to submit the post.
Can someone please tell me how to get this working?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.24671 seconds