Commons parent uses maven.compile.[source|target] rather than 
maven.compiler.[source|target]
--------------------------------------------------------------------------------------------

                 Key: COMMONSSITE-69
                 URL: https://issues.apache.org/jira/browse/COMMONSSITE-69
             Project: Commons All
          Issue Type: Bug
            Reporter: Sebb
            Priority: Minor


Commons parent uses the property name maven.compile.[source|target] rather than 
maven.compiler.[source|target] as used by the Maven Compiler plugin itself [1]

This is a bit confusing.

Consider whether this should be changed to agree with the standard Maven 
property name.

Or indeed to change it to use a commons-specific property name.

This would mean that components would have to rename the property in their POM 
when they updated to the new commons parent POM.

If the parent pom is changed to use the standard Maven names, then it could be 
simplified by removing the <source> and <target> configuration elements (but 
this should not be considered a good reason to change the name, only a minor 
benefit if we do).

[1] 
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#source

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

        

Reply via email to