Bug#454077: maven2: maven-eclipse-plugin does not exist

Amelia A Lewis amyzing at talsever.com
Sun Dec 2 23:58:37 UTC 2007


Dear Paul,

On Sun, 02 Dec 2007 23:19:33 +0000
Paul Cager <paul-debian at home.paulcager.org> wrote:

>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
>> [INFO] Searching repository for plugin with prefix: 'eclipse'.
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> ------------------------------------------------------------------------
>> [INFO] The plugin 'org.apache.maven.plugins:maven-eclipse-plugin' does
>> not exist or no valid version could be found

>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?

Doesn't seem to work, for me.

>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.

Hmmmm.  Think it's a machine-specific issue?  Mine never shows the line: 

[INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking
or updates from central

(from your example)

Is the location of "central" encoded into the binary or the config files
somewhere?  Maybe I could check that?

Hmmm.  Or a permissions problem?  Where would plugins be stored when
retrieved?  The output above indicates the location of the project that
you were building (or so I assume), but I can't determine where in the
Debian installation plugins go.

Looks like needs more work from me.  Ah, well.

Amy!
-- 
Amelia A. Lewis                    amyzing {at} talsever.com
Life is a glorious cycle of song / a medley of extemporanea;
and love is a thing that can never go wrong;
and I am Marie of Roumania.
                -- Dorothy Parker





More information about the pkg-java-maintainers mailing list