On Wednesday 01 October 2008 Karl Heinz Marbaise wrote:
> > We are having the same problem here with EARs and skinny WARs. It's
> > been a while since I last looked what the problem is but our problem is
> > definitely related to the skinny WAR problem [0] and your's might be
> > too. The workaround we are using is to run "mvn install" whenever such
> > a problem occurs.
>
> That's simply not possible, cause that happens during
> mvn release:prepare phase so I can't do an mvn install before, cause the
> release number will change during this phase...

Try configuring the release plugin like this:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <configuration>
          <autoVersionSubmodules>true</autoVersionSubmodules>
          <preparationGoals>clean install</preparationGoals>
        </configuration>
      </plugin>

hth,
- martin

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to