[ 
https://issues.apache.org/jira/browse/OPENJPA-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15092642#comment-15092642
 ] 

Anders Hammar commented on OPENJPA-2622:
----------------------------------------

Sure, I'll look into this. Today there are actually another API (Takari 
incremental build support API) which could be used. Also, we have the solution 
of a separate m2e connector.
I've posted a question on the m2e dev list to get their input on which path is 
the best today.

In any case, I had a quick look at the code and it looks like that all 
configured sources are passed to the PCEnhancer on every build, even if they 
are not modified since the last build. Would there be any benefit of optimizing 
this by just passing those classes that have changed?

> Make maven plugin m2e compatible
> --------------------------------
>
>                 Key: OPENJPA-2622
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2622
>             Project: OpenJPA
>          Issue Type: Improvement
>            Reporter: Anders Hammar
>              Labels: maven
>
> It would be great if the enhance goal of openjpa-maven-plugin was compatible 
> with m2e, so that the entity classes are incrementally enhanced in Eclipse. 
> This would remove the need for misc workarounds when using build-time 
> enhancement during IDE development/testing.
> See https://wiki.eclipse.org/M2E_compatible_maven_plugins



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to