Hi all,

I'm pretty sure I must be configuring something wrong in my poms, but the
plugin update reports is telling me I don't have the latest versions when
reporting against a pom that's pulling plugins from it's parent.  For
example:

*Parent Pom*
*
*
....

    <build>

        <plugins>

            <plugin>

                <groupId>org.apache.maven.plugins</groupId>

                <artifactId>maven-clean-plugin</artifactId>

                <version>2.4.1</version>

            </plugin>

...

...

        </plugins>

    </build>

....


*Child Pom*

*
*

Pulls in the parent but specifies no plugins itself


*Running mvn version:display-plugin-updates on the child*


Reports that I'm using the clean plugin version 2.2 and not the 2.4.1 I
thought I was inheriting


-----


I've also tried wrapping the parent POM plugins in a <pluginManagement> tag
and having both the pluginManagement tag and the plugins
listed separately (effectively declaring the plugins twice).


Am I doing something stupid?


Cheers,

Martijn

Reply via email to