[jbosstools-issues] [JBoss JIRA] (JBIDE-10196) Java build paths break when converting project to maven
Fred Bricon (Resolved) (JIRA)
jira-events at lists.jboss.org
Thu Nov 24 05:37:41 EST 2011
[ https://issues.jboss.org/browse/JBIDE-10196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fred Bricon resolved JBIDE-10196.
---------------------------------
Resolution: Rejected
The problem comes from m2e, so I'm closing this issue.
In the mean time, the JBoss Tools Maven conversion procedure I described in the previous comment should allow you to getting started migrating your projects.
Existing Jars -> Maven dependencies conversion issue is already tracked in a separate ticket : JBIDE-8973
> Java build paths break when converting project to maven
> -------------------------------------------------------
>
> Key: JBIDE-10196
> URL: https://issues.jboss.org/browse/JBIDE-10196
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven, UpStream
> Affects Versions: 3.3.0.M4
> Environment: OSX Lion 10.7.2, JDK 1.6, Eclipse Java EE IDE for Web Developers, JBoss Tools updated today (18th Nov) from http://download.jboss.org/jbosstools/updates/development/indigo/
> Reporter: Darrin Mison
> Attachments: After_1.png, After_2.png, before_1.png, Before_2.png
>
>
> I created an EJB Project, added a session bean and converted it to a Maven project (via right-click, Configure->Convert to Maven Project). Left default values in the Create POM dialog.
> These two warnings and errors now manifest:
> ERROR:Java compiler level does not match the version of the installed Java project facet.
> WARNING:Build path specifies execution environment J2SE-1.5. There are no JREs installed in the workspace that are strictly compatible with this environment.
> It appears to try to switch the Java build settings to use 1.5 although it was configured for 1.6.
> Before and after screenshots of settings changes attached.
> Project builds again after changing the JRE in the Java Build Path/Libraries back to Java SE 6 (MacOS X Default) and the Compiler compliance level to 1.6
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list