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


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

        

Reply via email to