[
https://issues.apache.org/jira/browse/KARAF-3835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14620478#comment-14620478
]
Guillaume Nodet commented on KARAF-3835:
----------------------------------------
I don't think the problem comes from the karaf maven plugin.
The goal needs the compiled classes, so it's expected phase is really
process-classes.
The fact that this goal, along with other goals, are executed multiple times is
out of the control of that plugin.
It may be caused by the maven-bundle-plugin lifecycle, not really sure though.
> Maven plugin service-metadata-generate executes four times per project
> ----------------------------------------------------------------------
>
> Key: KARAF-3835
> URL: https://issues.apache.org/jira/browse/KARAF-3835
> Project: Karaf
> Issue Type: Bug
> Components: karaf-tooling
> Affects Versions: 4.0.0
> Reporter: Jonathan Byrne
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Attachments: KARAF-3835.patch
>
>
> Because the default phase is "process classes", the mojo is executing more
> often than needed. I believe "generate resources" is the appropriate phase.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)