[
https://issues.apache.org/jira/browse/TOMEE-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509061#comment-13509061
]
Harald Wellmann commented on TOMEE-623:
---------------------------------------
With the attached patch, openjpa/openjpa and all subprojects can be imported
into Eclipse + m2e without errors.
Precondition: The OpenJPA m2e extension is installed .- see
https://github.com/hwellmann/m2eclipse-extras/wiki.
In addition to the m2e lifecycle additions, the patch also fixes some compiler
errors (mainly package names not matching the directory name). ecj appears to
be pickier than javac.
> Make TomEE m2e-friendly
> -----------------------
>
> Key: TOMEE-623
> URL: https://issues.apache.org/jira/browse/TOMEE-623
> Project: TomEE
> Issue Type: Improvement
> Affects Versions: 1.5.0
> Reporter: Harald Wellmann
> Fix For: 1.5.1
>
> Attachments: TOMEE-623.patch
>
>
> Use Case
> * You are working with Eclipse Indigo or Juno and the latest m2e release for
> Maven support.
> * You want to import the TomEE/OpenEJB source tree to start hacking TomEE.
> Problem
> * Most subprojects have error markers caused by Maven plugins unknown to m2e.
> Solution:
> * Configure the org.eclipse.m2e:lifecycle-mapping Maven plugin in the
> pluginManagement section of the OpenEJB parent POM.
--
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