You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mike Perham <Mi...@webifysolutions.com> on 2006/05/30 20:18:16 UTC

releasing modules with SNAPSHOT build plugins

I have a SNAPSHOT of the war plugin that I built and deployed to fix a
blocker for us that has not been released.  In my POM, I refer to it
like this:

    <build>
      <plugins>
        <plugin>
          <artifactId>maven-war-plugin</artifactId>
          <version>2.0.1-20060525.222101-1</version>

I did this specifically so the release plugin would not think it was a
SNAPSHOT so I could release the module.  But when I do try to release, I
get this error:

[INFO] Can't release project due to non released dependencies :
 
org.apache.maven.plugins:maven-war-plugin:maven-plugin:2.0.1-SNAPSHOT:ru
ntime
in project 'UDDI WAR'
(com.webify.fabric:fabric-uddi-web:war:1.1.0-SNAPSHOT)

In that version of the war plugin's plugin.xml there's a number of
references to 2.0.1-SNAPSHOT rather than the explicit version I
deployed.  For example:

<plugin>
  <description>Maven Plugins</description>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-war-plugin</artifactId>
  <version>2.0.1-SNAPSHOT</version>

So it looks like that even though the plugin's POM has a specific
version, the plugin.xml still has the snapshot suffix and this causes
the release to fail.  Am I not doing something correctly?  Is there a
workaround for this behavior?

mike

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