I think you want this: http://jira.codehaus.org/browse/MDEP-26 

-----Original Message-----
From: Michael Schneider [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 17, 2006 2:03 PM
To: Maven Mailing-List
Subject: creating string of all dependencies

Hi!

Within my assembly I want to have a batch script (Unix shell), which
starts the java interpreter for some given class. The "-classpath"
parameter should be build from all dependency jars given in the POM. So
I want to have something like this:

      DEPSPATH=<dep1>:<dep2>:...:<depn>
      java -classpath $DEPSPATH <class>

Therefore in my src/main/scripts directory I want to have something like

      DEPSPATH=${dependencies}
      java -classpath $DEPSPATH <class>

The filtering should then be done in phase "process-sources".

Is there a maven property '${dependencies}' to create a list (at least
space separated) of all dependencies? And if not, what is the easiest
way to achieve what I want?

Cheers,
Michael





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

Reply via email to