Paul
did you look at implementing requireMavenVersion rule?
<project>
  [...]
  <build>
   <plugins>
     <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <executions>
          <execution>
            <id>enforce-versions</id>
            <goals>
              <goal>enforce</goal>
            </goals>
            <configuration>
              <rules>
                <requireMavenVersion>
                  <version>2.2.1</version>
                </requireMavenVersion>
http://maven.apache.org/plugins/maven-enforcer-plugin/usage.html

plugin information is inherited by child from parent so to break the pattern 
use <inherited>false</inherited>
http://maven.apache.org/guides/mini/guide-configuring-plugins.html

Martin 
______________________________________________ 
Any/all use of information including monitoring of information contained within 
this transmission is subject to the http://maven.apache.org/license.html




> Subject: maven 2.2.1: is there an inherent pom?
> Date: Thu, 22 Oct 2009 13:42:03 +0200
> From: paul.rebh...@six-group.com
> To: users@maven.apache.org
> 
> hello maven users
> 
> these days I was trying to figure out if maven 2.2.1 comes with a
> version-fixed set of plugins, i.e. if there is an inherent pom which
> fixes this.
> 
> We are building our SW with maven and want to make sure that using maven
> 2.2.1 yields the same results right now as it would in the future, in
> other words, is there a guarantee that - out of the box - no newer
> plugin versions are used in the future?
> 
> Is there someone out there who can confirm this?
> 
> Regards, Paul 
>  
> This message is for the named person's use only. It may contain confidential, 
> proprietary or legally privileged information. If you receive this message in 
> error, please notify the sender urgently and then immediately delete the 
> message and any copies of it from your system. Please also immediately 
> destroy any hardcopies of the message. 
> The sender's company reserves the right to monitor all e-mail communications 
> through their networks.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
                                          
_________________________________________________________________
Windows 7: Simplify your PC. Learn more.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen1:102009

Reply via email to