[
https://issues.apache.org/jira/browse/SLING-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790209#action_12790209
]
Justin Edelson commented on SLING-1197:
---------------------------------------
> Can we configure such a plugin in the apache-release profile of the parent
> pom ? or would that be something for just the "uber" module ?
Either one should work. We're going to have to cut a new parent release after
the plugin is updated anyway, so it might as well be added there IMHO.
The only thing that's bitten me in the past with a similar "check X before a
release" plugin was related to multi-module releases, which doesn't apply to
Sling itself, but could apply to other usages.
In a multi-module release, the preparationGoals configuration property is only
used when it's defined in the parent module. i.e. if you had
A
|- B
|- C
where A is the parent pom, B is a bundle, and C is generating a launchpad
package, preparationGoals needs to be defined in A. If it's defined in C (which
would be more natural), the check goal won't be run (if you're doing the
release from A).
This check would only apply if the bundle list file existed so the goal could
be safely run on every module in a multi-module project.
> new prepare-package Maven goal to simplify launchpad poms
> ---------------------------------------------------------
>
> Key: SLING-1197
> URL: https://issues.apache.org/jira/browse/SLING-1197
> Project: Sling
> Issue Type: New Feature
> Components: Maven Plugins
> Reporter: Justin Edelson
> Assignee: Felix Meschberger
> Attachments: SLING-1197-take3.patch, SLING-1197-updated.patch,
> SLING-1197.patch
>
>
> See http://www.mail-archive.com/[email protected]/msg01908.html for
> discussion
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.