You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by jp4 <jo...@hnpsolutions.com> on 2006/09/15 15:11:07 UTC

Locally Patched Maven War Plugin

I have patched the Maven War Plugin locally and installed it into my local
repository with mvn install.  I bumped the version from 2.0.1 to 2.0.2.  It
works fine when installed in the local repository, but when I upload to the
development repository, other developers can't seem to get it to work.  When
they run a mvn -U install they get the following.  

I am hoping that someone can help me understand what maven is trying to do
here.  Which checksums is it comparing?  Can I disable the central repo from
the Super POM?


[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for
project: null:maven-surefire-plugin:maven-plugin:2.2 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project:
org.apache.maven.plugins:maven-plugins:pom:1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.
[INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for
updates from devrepo
[DEBUG] Skipping disabled repository codehaus-snapshots
[INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for
updates from central
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote =
'3009ca8b79c340cc83543ea789f57b1ee0128cb6' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote =
'3009ca8b79c340cc83543ea789f57b1ee0128cb6' - IGNORING
[DEBUG] maven-war-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
latest version

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


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

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


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

-- 
View this message in context: http://www.nabble.com/Locally-Patched-Maven-War-Plugin-tf2277436.html#a6324861
Sent from the Maven - Users forum at Nabble.com.


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


Re: Locally Patched Maven War Plugin

Posted by Wayne Fay <wa...@gmail.com>.
How did you "upload to the development repository"? Did you use "mvn deploy"??

Also, bumping from 2.0.1 to 2.0.2 is probably a bad idea -- when 2.0.2
is officially released, you will discover countless headaches. Instead
call it 2.0.1.jp4 or something.

Wayne

On 9/17/06, franz see <fr...@gmail.com> wrote:
>
>
>
> jp4 wrote:
> >
> > I have patched the Maven War Plugin locally and installed it into my local
> > repository with mvn install.  I bumped the version from 2.0.1 to 2.0.2.
> > It works fine when installed in the local repository, but when I upload to
> > the development repository, other developers can't seem to get it to work.
> > When they run a mvn -U install they get the following.
> >
> > I am hoping that someone can help me understand what maven is trying to do
> > here.  Which checksums is it comparing?  Can I disable the central repo
> > from the Super POM?
> >
> >
> > [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
> > for project: null:maven-surefire-plugin:maven-plugin:2.2 from the
> > repository.
> > [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
> > project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository.
> > [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
> > org.apache.maven:maven-parent:pom:1 from the repository.
> > [INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for
> > updates from devrepo
> > [DEBUG] Skipping disabled repository codehaus-snapshots
> > [INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for
> > updates from central
> > [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> > '867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote =
> > '3009ca8b79c340cc83543ea789f57b1ee0128cb6' - RETRYING
> > [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> > '867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote =
> > '3009ca8b79c340cc83543ea789f57b1ee0128cb6' - IGNORING
> > [DEBUG] maven-war-plugin: using locally installed snapshot
> > [DEBUG] Artifact not found - using stub model: Unable to determine the
> > latest version
> >
> >   org.apache.maven.plugins:maven-war-plugin:pom:LATEST
> >
> >
> > [DEBUG] Using defaults for missing POM
> > org.apache.maven.plugins:maven-war-plugin:pom:LATEST
> > [DEBUG] maven-war-plugin: using locally installed snapshot
> > [DEBUG] Artifact not found - using stub model: Unable to determine the
> > release version
> >
> >   org.apache.maven.plugins:maven-war-plugin:pom:RELEASE
> >
> >
> > [DEBUG] Using defaults for missing POM
> > org.apache.maven.plugins:maven-war-plugin:pom:RELEASE
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] The plugin 'org.apache.maven.plugins:maven-war-plugin' does not
> > exist or no valid version could be found
> >
> >
>
> Good day to you, jp4,
>
> Not really sure what's happening there, but try specifying the version of
> the maven-war-plugin you intend to use. Maybe it's trying to compare the
> checksum of your latest version (2.0.2) with that of maven's repo (2.0.1).
>
> Cheers,
> franz
> --
> View this message in context: http://www.nabble.com/Locally-Patched-Maven-War-Plugin-tf2277436.html#a6356310
> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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


Re: Locally Patched Maven War Plugin

Posted by franz see <fr...@gmail.com>.


jp4 wrote:
> 
> I have patched the Maven War Plugin locally and installed it into my local
> repository with mvn install.  I bumped the version from 2.0.1 to 2.0.2. 
> It works fine when installed in the local repository, but when I upload to
> the development repository, other developers can't seem to get it to work. 
> When they run a mvn -U install they get the following.  
> 
> I am hoping that someone can help me understand what maven is trying to do
> here.  Which checksums is it comparing?  Can I disable the central repo
> from the Super POM?
> 
> 
> [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-surefire-plugin:maven-plugin:2.2 from the
> repository.
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
> project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository.
> [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
> org.apache.maven:maven-parent:pom:1 from the repository.
> [INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for
> updates from devrepo
> [DEBUG] Skipping disabled repository codehaus-snapshots
> [INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for
> updates from central
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote =
> '3009ca8b79c340cc83543ea789f57b1ee0128cb6' - RETRYING
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote =
> '3009ca8b79c340cc83543ea789f57b1ee0128cb6' - IGNORING
> [DEBUG] maven-war-plugin: using locally installed snapshot
> [DEBUG] Artifact not found - using stub model: Unable to determine the
> latest version
> 
>   org.apache.maven.plugins:maven-war-plugin:pom:LATEST
> 
> 
> [DEBUG] Using defaults for missing POM
> org.apache.maven.plugins:maven-war-plugin:pom:LATEST
> [DEBUG] maven-war-plugin: using locally installed snapshot
> [DEBUG] Artifact not found - using stub model: Unable to determine the
> release version
> 
>   org.apache.maven.plugins:maven-war-plugin:pom:RELEASE
> 
> 
> [DEBUG] Using defaults for missing POM
> org.apache.maven.plugins:maven-war-plugin:pom:RELEASE
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-war-plugin' does not
> exist or no valid version could be found
> 
> 

Good day to you, jp4,

Not really sure what's happening there, but try specifying the version of
the maven-war-plugin you intend to use. Maybe it's trying to compare the
checksum of your latest version (2.0.2) with that of maven's repo (2.0.1).

Cheers,
franz
-- 
View this message in context: http://www.nabble.com/Locally-Patched-Maven-War-Plugin-tf2277436.html#a6356310
Sent from the Maven - Users forum at Nabble.com.


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