The following comment has been added to this issue:

     Author: Kees Jongenburger
    Created: Sun, 3 Oct 2004 12:12 PM
       Body:
for the moment I have solved it in a similar manner but since I need the code in 
multiple project (my project all extend a base project) in the base directory I have 
added a maven.xml with the following content
witch also copies the depenencies to a lib directory


<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:j="jelly:core" xmlns:deploy="deploy" xmlns:ant="jelly:ant">
  <!-- after the prepare-bin-filesystem also copy libs and config  -->
  <postGoal name="dist:prepare-bin-filesystem">
    <j:set var="copyextra.basedir" value="${maven.dist.bin.assembly.dir}"/>
    <attainGoal name="copyextra"/>
  </postGoal>
  <!-- after the prepare-src-filesystem also copy libs and config  -->
  <postGoal name="dist:prepare-src-filesystem">
    <j:set var="copyextra.basedir" value="${maven.dist.src.assembly.dir}"/>
    <attainGoal name="copyextra"/>
  </postGoal>

  <goal name="copyextra">
    <deploy:copy-deps todir="${copyextra.basedir}/lib" excludes="${dist.excludes}"/>
    <ant:copy todir="${copyextra.basedir}/config">
      <ant:fileset dir="src/dist-resources">
        <ant:include name="**/*"/>
      </ant:fileset>
    </ant:copy>
  </goal>
</project>


---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPDIST-14?page=comments#action_24870

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPDIST-14

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPDIST-14
    Summary: making it possible to add config or libs to the dirst
       Type: Wish

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-dist-plugin

   Assignee: Jason van Zyl
   Reporter: Kees Jongenburger

    Created: Thu, 12 Aug 2004 3:52 AM
    Updated: Sun, 3 Oct 2004 12:12 PM

Description:
the dist plugin only copies docs and jars readme and license
(and src if creating a src dist). It is not possible to add extra directories to be 
added to the dist. that's a shame because it makes the dist quite unusable. why not 
copy everyting?



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to