[
https://issues.apache.org/jira/browse/OPENJPA-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18153879#comment-18153879
]
ASF subversion and git services commented on OPENJPA-2734:
----------------------------------------------------------
Commit cfd258d632964e24cbf592d6cd85e17ce54df3c6 in openjpa's branch
refs/heads/master from Richard Zowalla
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=cfd258d63 ]
[OPENJPA-2734] Register the metamodel annotation processor in
openjpa-persistence (#332)
* [OPENJPA-2734] Register the metamodel annotation processor in
openjpa-persistence
The service file for AnnotationProcessor6 was only in the aggregate openjpa
jar, so javac did not find the processor with the individual jars. Move it
to openjpa-persistence, where the processor lives; the shade plugin merges it
into openjpa.jar and openjpa-all.jar as before. Compile openjpa-persistence
itself with proc=none, since javac would find the service file in
target/classes before the processor is compiled. Do not claim the JPA
annotations when metamodel generation is not enabled, so other processors
still get them.
* [OPENJPA-2734] Fix the spelling of concatenate in the shade transformer
comments
> Annotation processor is not registered in openjpa-persistence
> -------------------------------------------------------------
>
> Key: OPENJPA-2734
> URL: https://issues.apache.org/jira/browse/OPENJPA-2734
> Project: OpenJPA
> Issue Type: Bug
> Components: build / infrastructure
> Affects Versions: 2.4.2
> Reporter: Pawel Veselov
> Assignee: Richard Zowalla
> Priority: Major
>
> When using individual component jars, there is no declared annotation
> processor, so it has to be specified explicitly. I think it can be safely
> declared in openjpa-persistence jar, where the processor is present.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)