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 WAR Plugin
  • MWAR-273

Add Maven version used to Created-By entry in manifest

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.1.1
  • Fix Version/s: 2.2
  • Component/s: None
  • Labels:
    None
  • Environment:
    n/a

Description

Upgrade the dependency to org.apache.maven:maven-archiver to newer version (when released) to get the version of Maven Core used for building included in the Created-By manifest entry. The call to MavenArchiver also needs to be slightly updated to pass along the MavenSession.

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

Attachments

  1. Text File
    MWAR-273.patch
    20/Jan/12 4:21 AM
    14 kB
    Anders Hammar

Issue Links

depends upon

Bug - A problem which impairs or prevents the functions of the product. MSHARED-38 Archiver should be adding "Created-By: Apache Maven _2.0.4_" to the manifest

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
relates to

Improvement - An improvement or enhancement to an existing feature or task. MJAR-148 Add Maven version used to Created-By entry in manifest

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Anders Hammar added a comment - 20/Jan/12 4:21 AM - edited

Attached patch, including IT. Obviously, the maven-archiver version needs to be updated to a release version once available.

Show
Anders Hammar added a comment - 20/Jan/12 4:21 AM - edited Attached patch, including IT. Obviously, the maven-archiver version needs to be updated to a release version once available.
Hide
Permalink
Dennis Lundberg added a comment - 23/Jan/12 5:01 PM

Hi Anders,

Do I understand correctly that this will only work for Maven 3.0.4+ ?

Show
Dennis Lundberg added a comment - 23/Jan/12 5:01 PM Hi Anders, Do I understand correctly that this will only work for Maven 3.0.4+ ?
Hide
Permalink
Dennis Lundberg added a comment - 23/Jan/12 5:04 PM

Patch applied in r1235053 with minor modifications.

Show
Dennis Lundberg added a comment - 23/Jan/12 5:04 PM Patch applied in r1235053 with minor modifications.
Hide
Permalink
Anders Hammar added a comment - 24/Jan/12 12:34 AM

@Dennis: Yes, the Maven version is only included in the Manifest when building with 3.0.4+. Older version will only state "Apache Maven" (the same as currently).

Show
Anders Hammar added a comment - 24/Jan/12 12:34 AM @Dennis: Yes, the Maven version is only included in the Manifest when building with 3.0.4+. Older version will only state "Apache Maven" (the same as currently).

People

  • Assignee:
    Dennis Lundberg
    Reporter:
    Anders Hammar
Vote (0)
Watch (0)

Dates

  • Created:
    20/Jan/12 3:17 AM
    Updated:
    24/Jan/12 2:48 PM
    Resolved:
    24/Jan/12 2:13 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.