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 Release Plugin
  • MRELEASE-283

Plugin configuration is not rewritten to release-pom.xml if <inherited>false</..>

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 2.0-beta-7
  • Fix Version/s: None
  • Component/s: prepare
  • Labels:
    None

Description

I have the following plugin configuration:

<plugins>
      <plugin>
        <inherited>false</inherited>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
          <warSourceIncludes>**/*.tld,**/dtd/**,WEB-INF/web.xml</warSourceIncludes>
        </configuration>
      </plugin>
    </plugins>

It is not copied to the release-pom.xml during release:prepare, thus breaking the build process.
If i remove <inherited>false</inherited> it gets copied.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Robert Scholte added a comment - 28/Jan/12 12:15 PM

This seems to be caused by the version of Maven used. I was able to reproduce it with 2.0.9, but not with 2.2.1 (using maven-release-plugin:2.0-beta-7).
I'll write a test for it and close it.

Show
Robert Scholte added a comment - 28/Jan/12 12:15 PM This seems to be caused by the version of Maven used. I was able to reproduce it with 2.0.9, but not with 2.2.1 (using maven-release-plugin:2.0-beta-7). I'll write a test for it and close it.

People

  • Assignee:
    Robert Scholte
    Reporter:
    Gabriele Contini
Vote (3)
Watch (2)

Dates

  • Created:
    07/Sep/07 12:07 PM
    Updated:
    12/Feb/12 3:55 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.