Hi,

I wanted to check the used version of the surefire plugin.
I got:
> mvn help:describe -Dplugin=surefire

...
[INFO] [help:describe]
[INFO] Plugin: 'org.apache.maven.plugins:maven-surefire-plugin:2.2'
-----------------------------------------------
Group Id:  org.apache.maven.plugins
Artifact Id: maven-surefire-plugin
Version:     2.2
Goal Prefix: surefire

However, when I run:
> mvn help:effective-pom

I get
...
    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>2.4.3</version>
          <configuration>
            <testFailureIgnore>true</testFailureIgnore>
            <includes>
              <include>**/*Test.java</include>
            </includes>
            <format>html</format>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
...


My pom structure is quite simple: just a parent pom.xml with the
pluginmanagement section as above and a child pom using that. I have tested
with both maven 2.0.8 and 2.0.9.


The surefire version that I intend to be using is 2.4.3 (just like it is
returned by help:effective-pom) and I guess this version is being used
although I am not 100% sure of it. 
But why is help:describe returning something different? Is this a bug or am
I missing something?

Thanks for any help,
Rintcius
-- 
View this message in context: 
http://www.nabble.com/Wrong-output-of-mvn-help%3Adescribe--tp19168212p19168212.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to