Hi Gabriel,

Gabriel Belingueres wrote:

> Hi!
> 
> I've runned with -U as you said, and even deleted the jar-plugin and
> versions-plugin from my local repo and the same result: No mention of
> jar plugin version 2.3.2.
> 
> However, if I declare it in the pluginManagement tag:
> 
>     <pluginManagement>
>       <plugins>
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-jar-plugin</artifactId>
>           <version>2.3.1</version>
>         </plugin>
>       </plugins>
>     </pluginManagement>
> 
> then the versions plugin does says that there is a new 2.3.2 version.
> 
> So my guess is that the versions plugin doesn't (or cannot?) check for
> plugin versions defined in the super pom.

If you did not declare it, it does not make sense to report a newer version, 
since you did not *manage* the version in first place anyway. If you don't 
care what version of the plugin is used for the different Maven versions, 
why would you suddenly care about it?

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to