Hello Vincent,

thanks for your answer. Just so I get this right: I am looking at my
IT-pom [1] and it has no parent defined. I am running Apache Maven
3.0.5.  In my output I *do not* see the plugin-versions defined in the
super POM from Maven-core (this are the ones defined in
default-bindings.xml[2], right?) but newer ones as they are defined in
the parent-pom of the plugin/extension project.

* Say I have an extension (should be almost the same with a plugin)
with version 2.13 of surefire in the pluginManagement of it's POM.
* I include this extension in a parent pom PP and define 2.14.1 in the
pluginManagement section.
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.14.1</version>
</plugin>
</plugins>
</pluginManagement>
<extensions>
<extension>
<groupId>g</groupId>
<artifact>a</artifactId>
<version>1.0</version>
</extension>
</extensions>
</build>
* In project A inheriting this parent pom I define 2.15 as version.
* Now should I expect the run of 2.15 for A, 2.14.1 for projects just
having PP as parent and all projects not using the PP but the
extension to use 2.13, right?




[1] 
https://github.com/mfriedenhagen/foss-jar-maven-plugin/blob/master/src/it/test-foss-jar/pom.xml
[2] 
https://github.com/apache/maven/blob/master/maven-core/src/main/resources/META-INF/plexus/default-bindings.xml
Regards Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/
https://bitbucket.org/mfriedenhagen/


On Thu, Jul 4, 2013 at 8:33 AM, Vincent Latombe
<vincent.lato...@gmail.com> wrote:
> These are taken from the parent pom (super POM coming from maven core,
> any parent pom that you define)
>
> Regards,
> Vincent
>
>
> 2013/7/4 Mirko Friedenhagen <mfriedenha...@gmail.com>:
>> Hello everyone,
>>
>> now I am getting greedy :-). I see that you may specify versions for
>> the goals being executed during phases in components.xml for custom
>> package types.
>>
>> Is there a way to convince the versions-maven-plugin etc. to update
>> these versions as well?
>> Or. where are the versions for the plugins in components taken from?
>>
>> Regards Mirko
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to