You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin Gainty <mg...@hotmail.com> on 2008/03/04 21:54:25 UTC

Fw: failure on version 2.2 maven-jar-plugin

All-
attempting to execute an axis supplied pom.xml for one of the modules and
see the following version errors

//due to comcast network error I see this disabled error message
[DEBUG] Skipping disabled repository apache-snapshots
[DEBUG] maven-jar-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
latest ve
rsion

  org.apache.maven.plugins:maven-jar-plugin:pom:LATEST


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-jar-plugin
:pom:LATEST
[DEBUG] maven-jar-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
release v
ersion

  org.apache.maven.plugins:maven-jar-plugin:pom:RELEASE


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-jar-plugin
:pom:RELEASE
[INFO] ---------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO] ---------------------------------------------------------------------
---
[INFO] The plugin 'org.apache.maven.plugins:maven-jar-plugin' does not exist
or
no valid version could be found
[INFO] ---------------------------------------------------------------------
---
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.m
aven.plugins:maven-jar-plugin' does not exist or no valid version could be
found

I have the maven-jar-plugin (version 2.2) installed in a local repository
specifically in
Directory of %M2_HOME%\org\apache\maven\plugins\maven-jar-plugin\2.2

03/04/2008  01:41p      <DIR>          .
03/04/2008  01:41p      <DIR>          ..
01/28/2008  09:50a              26,646 maven-jar-plugin-2.2.jar
01/28/2008  09:50a               8,560 maven-jar-plugin-2.2.pom
01/28/2000  03:58p               8,560 pom.xml
01/28/2000  03:57p                 292 settings.xml
               4 File(s)         44,058 bytes

How do I tell maven to stop erroring out and to use the version 2.2
maven-jar-plugin I have installed locally?

Thanks
Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Fw: failure on version 2.2 maven-jar-plugin

Posted by Wayne Fay <wa...@gmail.com>.
Grep ~/.m2 for LATEST and RELEASE in *.pom files. Seems like you've
got a bad pom (perhaps a snapshot?) or something along those lines.

Also, you could try specifying the maven-jar-plugin version 2.2 in
<build> for your pom.

Wayne

On 3/4/08, Martin Gainty <mg...@hotmail.com> wrote:
> All-
> attempting to execute an axis supplied pom.xml for one of the modules and
> see the following version errors
>
> //due to comcast network error I see this disabled error message
> [DEBUG] Skipping disabled repository apache-snapshots
> [DEBUG] maven-jar-plugin: using locally installed snapshot
> [DEBUG] Artifact not found - using stub model: Unable to determine the
> latest ve
> rsion
>
>  org.apache.maven.plugins:maven-jar-plugin:pom:LATEST
>
>
> [DEBUG] Using defaults for missing POM
> org.apache.maven.plugins:maven-jar-plugin
> :pom:LATEST
> [DEBUG] maven-jar-plugin: using locally installed snapshot
> [DEBUG] Artifact not found - using stub model: Unable to determine the
> release v
> ersion
>
>  org.apache.maven.plugins:maven-jar-plugin:pom:RELEASE
>
>
> [DEBUG] Using defaults for missing POM
> org.apache.maven.plugins:maven-jar-plugin
> :pom:RELEASE
> [INFO] ---------------------------------------------------------------------
> ---
> [ERROR] BUILD ERROR
> [INFO] ---------------------------------------------------------------------
> ---
> [INFO] The plugin 'org.apache.maven.plugins:maven-jar-plugin' does not exist
> or
> no valid version could be found
> [INFO] ---------------------------------------------------------------------
> ---
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
> 'org.apache.m
> aven.plugins:maven-jar-plugin' does not exist or no valid version could be
> found
>
> I have the maven-jar-plugin (version 2.2) installed in a local repository
> specifically in
> Directory of %M2_HOME%\org\apache\maven\plugins\maven-jar-plugin\2.2
>
> 03/04/2008  01:41p      <DIR>          .
> 03/04/2008  01:41p      <DIR>          ..
> 01/28/2008  09:50a              26,646 maven-jar-plugin-2.2.jar
> 01/28/2008  09:50a               8,560 maven-jar-plugin-2.2.pom
> 01/28/2000  03:58p               8,560 pom.xml
> 01/28/2000  03:57p                 292 settings.xml
>               4 File(s)         44,058 bytes
>
> How do I tell maven to stop erroring out and to use the version 2.2
> maven-jar-plugin I have installed locally?
>
> Thanks
> Martin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org