Bug#454077: maven2: maven-eclipse-plugin does not exist
Paul Cager
paul-debian at home.paulcager.org
Sun Dec 2 23:19:33 UTC 2007
Amelia A Lewis wrote:
> Package: maven2
> Version: 2.0.7-2
> Severity: normal
>
> Command and results:
>
> (ydhegar)amyzing:/pub/projects/hudson/hudson$ mvn -e -DdownloadSources=true
> eclipse:eclipse
> + Error stacktraces are turned on.
>
> [ SNIPPED: project information (it's for hudson, if you care) ]
>
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-eclipse-plugin' does not
> exist or no valid version could be found
> [INFO]
[...snip...]
> This makes it hard to use the apt-delivered Maven + Eclipse for development
> of projects.
>
> Maven 2's project page doesn't appear to include instructions for manual
> installation of plugins when the automatic retrieval mechanism fails. I
> suppose that that's the next thing to try to do.
Hi Amelia,
Thanks for your report.
I'm not sure that I understand the problem correctly. Debian has
packaged Maven, but not any of its plugins - so the plugins should be
downloaded normally (i.e. in the same way as a non-Debian Maven
installation). Is this not the case?
When I run "eclipse:eclipse" on my machine it seems to find the plugin
correctly:
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking
for updates from central
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/2.4/maven-eclipse-plugin-2.4.pom
5K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/2.4/maven-eclipse-plugin-2.4.jar
125K downloaded
...
[INFO] Wrote Eclipse project for "maven-plugin-descriptor" to
/home/paul/maven/maven-2.0.x/maven-plugin-descriptor.
Thanks,
Paul
https://hudson.dev.java.net/files/documents/2402/77580/hudson-1.160-src.zip
More information about the pkg-java-maintainers
mailing list