You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2011/07/22 00:45:42 UTC
[jira] Closed: (MSITE-597) attach-descriptor should attach only for
pom packaging by default (and provide a way to force eventually)
[ https://jira.codehaus.org/browse/MSITE-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy closed MSITE-597.
-------------------------------
Resolution: Fixed
Fix Version/s: 3.0
Assignee: Herve Boutemy
done in [r1149397|http://svn.apache.org/viewvc?rev=1149397&view=rev]
> attach-descriptor should attach only for pom packaging by default (and provide a way to force eventually)
> ---------------------------------------------------------------------------------------------------------
>
> Key: MSITE-597
> URL: https://jira.codehaus.org/browse/MSITE-597
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Improvement
> Components: site descriptor
> Affects Versions: 3.0-beta-3
> Reporter: Herve Boutemy
> Assignee: Herve Boutemy
> Fix For: 3.0
>
>
> in Maven 2, attach-decriptor goal is bound to default lifecycle [for pom only|http://svn.apache.org/viewvc/maven/maven-2/branches/maven-2.2.x/maven-core/src/main/resources/META-INF/plexus/components.xml?revision=813569&view=markup#l346]
> with Maven 3, we have to explicitely add the goal to the build section, but by default, it will be inherited to every sub-module (jar, ...) and not only pom, which is not ideal: it is useful only for pom packaging in general
> without this restriction, we need to configure the goal in pom with inherited=false, then re-configure in every pom sub-module: what a pain
> if we want to permit site descriptor attachement even for non-poms (I don't know if this is useful, AFAIK it isn't but...), we can add a pomOnly parameter defaulting to true
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira