You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bateman Pat UK MYT <Pa...@mytravel.co.uk> on 2003/12/08 16:20:31 UTC

dist:prepare-src-filesystem and the reactor

When using the 'dist:prepare-src-filesystem' goal under the reactor, the build.xml file generated is placed in the master project directory, not the sub project directory.

Does anyone know how to get <attainGoal name="ant:generate-build"/> save the file into the base directory of the sub-project.

Thanks

Pat

dist:prepare-src-filesystem:
    [mkdir] Created dir: /export/home/users/pbateman/cvs/HEAD/mtcom-java/mt-anite/target/mt-anite-4.0.11/src/mt-anite-4.0.11
    [echo]
      +-------------------------------------------------------+
      | C R E A T I N G  S O U R C E  D I S T R I B U T I O N |
      +-------------------------------------------------------+

    [copy] Copying 4 files to /export/home/users/pbateman/cvs/HEAD/mtcom-java/mt-anite/target/mt-anite-4.0.11/src/mt-anite-4.0.11

BUILD FAILED
File...... file:/export/home/users/pbateman/cvs/HEAD/mtcom-java/
Element... maven:reactor
Line...... 46
Column.... 32
Unable to obtain goal [dist:prepare-src-filesystem] -- file:/export/home/users/pbateman/.maven/plugins/maven-dist-plugin-1.2/:108:62: <ant:move> Warning: Could not find file /export/home/users/pbateman/cvs/HEAD/mtcom-java/mt-anite/build.xml to copy.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org