You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by to...@gi-de.com on 2009/05/25 17:26:07 UTC
checking dependencies for snapshots during release:prepare doesnt work in
mulit-module build?
Hi,
During mvn release:perform -DdryRun=true I would expect a "you still have
snapshot dependencies" message from the plugin - but that doesnt happen.
I can release the multi-module project with snapshot dependencies...
I'm using maven-release-plugin <version>2.0-beta-8</version> with Base
Clearcase and allowTimestampedSnapshots=false
I have a multimodule build with 2 modules:
soapui
pom.xml
soapui-extension
pom.xml
soapui-parent
pom.xml
The "soapui" (root) pom.xml has 2 submodules:
<version>0.4-SNAPSHOT</version>
<modules>
<module>soapui-extension</module>
<module>soapui-parent</module>
</modules>
the "soapui-parent" pom.xml has the following dependency:
<dependency>
<groupId>com.gide.gdcams.test.soapui</groupId>
<artifactId>soapui-extension</artifactId>
<version>0.4-SNAPSHOT</version>
</dependency>
Thanx for any advice why "detect snapshot dependencies" doesnt work in
that case.
torsten
Re: checking dependencies for snapshots during release:prepare doesnt
work in mulit-module build?
Posted by Zac Thompson <za...@gmail.com>.
> During mvn release:perform -DdryRun=true I would expect a "you still have
> snapshot dependencies" message from the plugin - but that doesnt happen.
> The "soapui" (root) pom.xml has 2 submodules:
>
> <version>0.4-SNAPSHOT</version>
>
> <modules>
> <module>soapui-extension</module>
> <module>soapui-parent</module>
> </modules>
>
> the "soapui-parent" pom.xml has the following dependency:
>
> <dependency>
> <groupId>com.gide.gdcams.test.soapui</groupId>
> <artifactId>soapui-extension</artifactId>
> <version>0.4-SNAPSHOT</version>
> </dependency>
It looks strange to me that your 'parent' has a dependency on the
'extension' when these are the only two modules you have. I would
expect that the dependency would be in the opposite direction. Are
you sure you aren't looking at a dependencyManagement section in the
parent?
Zac
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org