maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarkko Viinamäki (JIRA) <>
Subject [jira] Created: (MAVEN-1768) wrong directory structure in src distribution package (maven-dist-plugin-1.7)
Date Wed, 02 Aug 2006 19:45:10 GMT
wrong directory structure in src distribution package (maven-dist-plugin-1.7)

                 Key: MAVEN-1768
             Project: Maven
          Issue Type: Bug
          Components: core
    Affects Versions: 1.1-beta-2
            Reporter: Jarkko Viinamäki

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

if my project.xml defines:


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


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" />

This will preserve the actual directory structure.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message