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 1
  • MAVEN-1768

wrong directory structure in src distribution package (maven-dist-plugin-1.7)

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.1-beta-2
  • Fix Version/s: None
  • Component/s: core
  • Labels:
    None

Description

With Maven 1.1-beta-2 and maven-dist-plugin-1.7:

if my project.xml defines:

<build>
<sourceDirectory>src/main/java</sourceDirectory>
...

Then the dist:build-src target generates an incorrect src distribution file since the source files are packaged to path src/foo/bar/MyClass.java instead of src/main/java/foo/bar/MyClass.java

–

To fix this, change the dist:prepare-src-filesystem goal in maven-dist-plugin-1.7 to read:

<util:available file="src">
<ant:copy todir="${maven.dist.src.assembly.dir}/src">
<ant:fileset dir="src" />
</ant:copy>
</util:available>

This will preserve the actual directory structure.

Issue Links

is superceded by

Bug - A problem which impairs or prevents the functions of the product. MPDIST-29 src distribution archive has incorrect directory structure

  • 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
Jarkko Viinamäki added a comment - 02/Aug/06 2:51 PM

Ah sorry. I didn't notice that there are separate Jira areas for all plugins. Reported this to the maven-dist-plugin subproject. This issue can be closed/deleted.

Show
Jarkko Viinamäki added a comment - 02/Aug/06 2:51 PM Ah sorry. I didn't notice that there are separate Jira areas for all plugins. Reported this to the maven-dist-plugin subproject. This issue can be closed/deleted.
Hide
Permalink
Lukas Theussl added a comment - 02/Aug/06 5:39 PM

It's not necessary to open the same issue again under another project as we can just move it there.

Show
Lukas Theussl added a comment - 02/Aug/06 5:39 PM It's not necessary to open the same issue again under another project as we can just move it there.

People

  • Assignee:
    Unassigned
    Reporter:
    Jarkko Viinamäki
Vote (0)
Watch (0)

Dates

  • Created:
    02/Aug/06 2:43 PM
    Updated:
    02/Aug/06 5:39 PM
    Resolved:
    02/Aug/06 5:39 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.