|
||||||||
|
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 |
||||||||
- [mojo-dev] [jira] (MJSPC-53) Support Java 7 on Mac Robert Oschwald (JIRA)
- [mojo-dev] [jira] (MJSPC-53) Support Java 7 on... JIRA
- [mojo-dev] [jira] (MJSPC-53) Support Java 7 on... Dieter Decavele (JIRA)

I would suggest using the same solution that we did in the AspectJ plugin project: a dependencyManagement and profile addition as illustrated below. The benefit here is that you can simply add a new profile for each new JDK layout (hopefully relatively few).
The solution below supports the Apple JDK as well as Oracle's:
<dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>${java.version}</version> <scope>system</scope> <systemPath>${toolsjar}</systemPath> </dependency>