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 Source Plugin
  • MSOURCES-22

configuration option for source:jar to exclude resources

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0.3
  • Fix Version/s: 2.0.4
  • Labels:
    None

Description

A typical use case for the source jar is attachment in an IDE, which allows for access to javadocs, and debugging. For this case there is no need to include resources in the source jar, as they will already be in the standard jar.

This does not create any errors, but it may be inconvenient if a project includes large resources, such as images.

It would be useful to provide a configuration option which allows the resources to be excluded.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Dennis Lundberg added a comment - 27/Oct/07 4:18 PM

Added a configuration parameter "excludeResources" for this that defaults to "false". Can also be set from the command line with

-Dsource.excludeResources=<true|false>

Also deployed a new 2.0.4-SNAPSHOT so that you can try it out.

Show
Dennis Lundberg added a comment - 27/Oct/07 4:18 PM Added a configuration parameter "excludeResources" for this that defaults to "false". Can also be set from the command line with
-Dsource.excludeResources=<true|false>
Also deployed a new 2.0.4-SNAPSHOT so that you can try it out.

People

  • Assignee:
    Dennis Lundberg
    Reporter:
    Daniel Siegmann
Vote (0)
Watch (1)

Dates

  • Created:
    05/Sep/07 4:23 PM
    Updated:
    27/Oct/07 4:18 PM
    Resolved:
    27/Oct/07 4:18 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.