Bertrand Delacretaz created SLING-3078:
------------------------------------------
Summary: Use sling.java.version in POMs to define the target JDK
Key: SLING-3078
URL: https://issues.apache.org/jira/browse/SLING-3078
Project: Sling
Issue Type: Improvement
Components: Best practices
Reporter: Bertrand Delacretaz
Priority: Minor
The sling.java.version property should be used in POMs instead of explicitly
setting that on plugin configurations. The Sling parent pom [1] includes the
necessary configurations to apply this correctly to the plugins that needed it.
The default value (currently 5) is set in the parent POM.
Example:
<properties>
<sling.java.version>6</sling.java.version>
</properties>
[1] http://svn.apache.org/repos/asf/sling/trunk/parent/pom.xml
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira