Glen Mazza created MECLIPSE-737:
-----------------------------------

             Summary: -Declipse.useProjectReferences setting not overriding pom 
configuration value
                 Key: MECLIPSE-737
                 URL: https://jira.codehaus.org/browse/MECLIPSE-737
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
    Affects Versions: 2.9, 2.8
            Reporter: Glen Mazza
            Priority: Minor


Hello, when I do "mvn eclipse:clean eclipse:eclipse 
-Declipse.workspace=/media/work1 -Declipse.useProjectReferences=true (or false) 
the "eclipse.useProjectReferences" setting works correctly, *unless* I've 
configured it in the plugin already:

       <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-eclipse-plugin</artifactId>
           <version>2.9</version>
           <configuration>
               <useProjectReferences>false</useProjectReferences>
           </configuration>
       </plugin>

In this case, the -Declipse.useProjectReferences is incorrectly (AFAIK) not 
overriding the value configured in the plugin, which always ends up getting 
precedence.  Users should be able to override the default plugin setting from 
the command line if they wish.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to