maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Casey (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-213) command-line specification of plugin parameters doesn't work when plugin is configured in POM
Date Thu, 17 Mar 2005 23:09:44 GMT
command-line specification of plugin parameters doesn't work when plugin is configured in POM
---------------------------------------------------------------------------------------------

         Key: MNG-213
         URL: http://jira.codehaus.org/browse/MNG-213
     Project: m2
        Type: Bug
  Components: maven-core  
    Versions: 1.0-alpha-1    
 Environment: all
    Reporter: John Casey
 Assigned to: John Casey 
     Fix For: 1.0-alpha-2


For instance, when the modello plugin has:

<configuration>
  <model>maven.mdo</model>
  <version>4.0.0</version>
</configuration>

using -Dmodel=maven-other.mdo -Dversion=5.0.0 will not override the configuration in the pom.xml.

Command-line specifications should always override other configuration, where overrides can
be made deterministically. I'm not sure that we can be deterministic here, if multiple <goal/>
level configs are made (for modello:java, f.e.).

We need to fix this if it is reasonable to do so, or else document the hell out of it if not.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message