Hallo,

the project descriptor <resources> can be used if you want the additional files to end up inside the artifact produced for your project. If you want the additional files to be in the tar ball you might want to do something like this in your maven.xml:

  <postGoal name="dist:prepare-bin-filesystem">
    <attainGoal name="prepare-build-bin"/>
  </postGoal>

<goal name="prepare-build-bin">
<deploy:copy-deps todir="${maven.dist.bin.archive.dir}/${maven.final.name}/lib"/>


    <copy todir="${maven.dist.bin.archive.dir}/${maven.final.name}/bin">
      <fileset dir="${maven.src.dir}/bin"/>
    </copy>
    <copy todir="${maven.dist.bin.archive.dir}/${maven.final.name}/conf">
      <fileset dir="${maven.src.dir}/conf"/>
    </copy>
    <copy todir="${maven.dist.bin.archive.dir}/${maven.final.name}/lib">
      <fileset dir="${maven.src.dir}/lib"/>
    </copy>
    <mkdir dir="${maven.dist.bin.archive.dir}/${maven.final.name}/log"/>
  </goal>

ciao dirk

__matthewHawthorne wrote:
I think you can do this by adding a <resources> element to <build>, including your additional files.




Chad Woolley wrote:


Hi,

I want to use the DIST goal, but I also want it to include some
additional files from my project in the zip or gz.  How can I do this?

Thanks,
Chad




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

--
  Dirk Habighorst                       e-mail:[EMAIL PROTECTED]
  Epigenomics AG                        Tel.: +49-30-24345-372
  Kleine Präsidentenstrasse 1
  10178 Berlin


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to