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)
  • Enunciate
  • ENUNCIATE-404

Enunciate Maven Plugin neglects "provided" scoped artifacts

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.18
  • Fix Version/s: 1.19
  • Component/s: None
  • Labels:
    None

Description

Enunciate Maven Plugin neglects "provided" scoped artifacts.

The way how ConfigMojo gathers runtimeClasspath means, that dependencies with scope "provided" are simply left out.

1) If Maven3 only is to be supported, the fix is to change @requiresDependencyResolution compile+runtime on ConfigMojo.

2) If Maven2 and Maven3 is targeted, then @requiresDependencyResolution test helps only, but it requires manual removal of "test" scoped artifacts.

Since the manual removal is already implemented, I am going for solution 2).

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    ENUNCIATE-404.patch
    12/Feb/10 8:04 AM
    14 kB
    Tamás Cservenák

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Tamás Cservenák added a comment - 12/Feb/10 8:04 AM

Patch fixing multiple issues:

  • forking Mojo, hence doubling lifecycle execution
  • getting "provided" scoped artifacts onto Enunciate classpath

The patch is made against rev888 of trunk, base of patch is https://svn.codehaus.org/enunciate/trunk/enunciate

Show
Tamás Cservenák added a comment - 12/Feb/10 8:04 AM Patch fixing multiple issues:
  • forking Mojo, hence doubling lifecycle execution
  • getting "provided" scoped artifacts onto Enunciate classpath
The patch is made against rev888 of trunk, base of patch is https://svn.codehaus.org/enunciate/trunk/enunciate
Hide
Permalink
Ryan Heaton added a comment - 12/Feb/10 4:24 PM

patch is applied. Thanks a ton.

Show
Ryan Heaton added a comment - 12/Feb/10 4:24 PM patch is applied. Thanks a ton.
Hide
Permalink
Ryan Heaton added a comment - 13/Apr/10 10:12 PM

closed for 1.19

Show
Ryan Heaton added a comment - 13/Apr/10 10:12 PM closed for 1.19

People

  • Assignee:
    Ryan Heaton
    Reporter:
    Tamás Cservenák
Vote (0)
Watch (0)

Dates

  • Created:
    10/Feb/10 6:03 AM
    Updated:
    13/Apr/10 10:12 PM
    Resolved:
    12/Feb/10 4:24 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.