jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x and 3.x Site Plugin
  • MSITE-597

attach-descriptor should attach only for pom packaging by default (and provide a way to force eventually)

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.0-beta-3
  • Fix Version/s: 3.0
  • Component/s: site descriptor
  • Labels:
    None

Description

in Maven 2, attach-decriptor goal is bound to default lifecycle for pom only
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

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Herve Boutemy added a comment - 21/Jul/11 5:44 PM

done in r1149397

Show
Herve Boutemy added a comment - 21/Jul/11 5:44 PM done in r1149397

People

  • Assignee:
    Herve Boutemy
    Reporter:
    Herve Boutemy
Vote (0)
Watch (0)

Dates

  • Created:
    21/Jul/11 5:07 PM
    Updated:
    21/Jul/11 5:44 PM
    Resolved:
    21/Jul/11 5:44 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.