that is a circular reference... the big is that you are allowed to make such
a cycle.

the reason why this is not allowed is that maven constructs the build plan
up front, and when a plugin depends on a module from the reactor, then the
build plan could (in theory) be affected based on the result of building...

- Stephen

---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 12 Feb 2011 17:02, "Thiago Moreira (timba)" <[email protected]>
wrote:
> Hi there,
>
> I have a multi module project (https://github.com/floggy/parent) that has
> two submodules. In the parent project I make reference to one submodule
like
> this:
>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-checkstyle-plugin</artifactId>
> <inherited>true</inherited>
> <dependencies>
> * <dependency>*
> * <groupId>org.floggy</groupId>*
> * <artifactId>build-tools</artifactId>*
> * <version>0.0.2-SNAPSHOT</version>*
> * </dependency>*
> </dependencies>
> <configuration>
> <configLocation>checkstyle-checks-configuration.xml</configLocation>
> </configuration>
> </plugin>
> </plugins>
>
> When I release the whole project the release plugin does not resolve the
> SNAPSHOT version of my dependency when it is declared as a dependency of a
> plugin. Is there a way to force Maven to do that? Seems that there is the
> same problem with the dependecyManagement section:
> http://jira.codehaus.org/browse/MRELEASE-649
> Ideas? Is this a bug?
>
> Thanks in advance

Reply via email to