Collection entries of unequal types are reordered in plugin configuration -------------------------------------------------------------------------
Key: MNG-3852 URL: http://jira.codehaus.org/browse/MNG-3852 Project: Maven 2 Issue Type: Bug Components: POM Affects Versions: 3.0-alpha-1 Reporter: Espen Wiborg It seems that the modelproperty sorting is a bit overzealous. Configure e.g. the exec-maven-plugin thusly: {code:xml} <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <configuration> <executable>echo</executable> <arguments> <argument>foo</argument> <classpath/> <argument>bar</argument> </arguments> </configuration> </plugin> {code} With Maven 2.0.9 I get the expected output {noformat} [INFO] [exec:exec] [INFO] foo /home/espenhw/tmp/target/classes bar {noformat} While with 3.0-SNAPSHOT I get {noformat} [INFO] [exec:exec] [INFO] foo bar /home/espenhw/tmp/target/classes {noformat} This breaks the common use case of {code:xml} <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <configuration> <executable>java</executable> <arguments> <argument>-cp</argument> <classpath/> <argument>my.app.MainClass</argument> </arguments> </configuration> </plugin> {code} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira