libmaven-install-plugin-java is not installed properly

Bug #693561 reported by mgmechanics
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maven-install-plugin (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: libmaven-install-plugin-java

$ mvn -U org.apache.maven.plugins:maven-scala-plugin

gives me:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'org.apache.maven.plugins'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-org.apache.maven.plugins-plugin: checking for updates from central
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-org.apache.maven.plugins-plugin' does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13 seconds
[INFO] Finished at: Wed Dec 22 21:42:24 CET 2010
[INFO] Final Memory: 1M/59M
[INFO] ------------------------------------------------------------------------

??? I already installed the package "libmaven-install-plugin-java", why does it say:
"The plugin 'org.apache.maven.plugins:maven-org.apache.maven.plugins-plugin' does not exist or no valid version could be found"???

Synaptic shows me:
...
/usr/share/java/maven-install-plugin-2.3.jar
/usr/share/java/maven-install-plugin.jar
...
/usr/share/maven-repo/org/apache/maven/plugins/maven-install-plugin/2.3/maven-install-plugin-2.3.jar
/usr/share/maven-repo/org/apache/maven/plugins/maven-install-plugin/2.3/maven-install-plugin-2.3.pom

Do i need a link to
/usr/share/maven-repo/org/apache/maven/plugins/maven-install-plugin/maven-install-plugin.jar
/usr/share/maven-repo/org/apache/maven/plugins/maven-install-plugin/maven-install-plugin.pom
??

Revision history for this message
mgmechanics (mgmechanics) wrote :

This is not a problem with the ubuntu-package but a misleading error message of maven. "The plugin 'org.apache.maven.plugins:maven-org.apache.maven.plugins-plugin' does not exist or no valid version could be found" means that
 - maven could not access to that repository (typo in the adress, proxy problems ...)
 - there is no pom.xml in the actual folder: build a pom.xml or change into the folder there the pom.xml is.

Changed in maven-install-plugin (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.