Depending on what you want to do, you seem to want to use a dedicated
plugin, instead of what seems like hand-coding standard things?
You seem to want to create an executable jar?
What does your script contain, is it something very special or just a java
command for example?

If so, there's many solutions for you (exec-maven-plugins,
maven-shade-plugin...).

If you give more details, we'll be able to help you better.

Cheers

2010/9/20 Iron Eagle <[email protected]>

> Hi,
>
> I have a maven project, that includes an assembly step in its lifecycle
> (during package). I copy the dependencies of the project in a lib/ folder.
> Additional, copy a script file into a bin/ folder. That scripts should
> start the jvm and the application later.
>
> Now, I want to include the filenames of the depdendencies into the script
> file in order to extend the classpath when starting the jvm.
>
> Is that possible? Can anyone help me?
>
> best regards
> Luis
> --
> GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 Euro/mtl.!*
> http://portal.gmx.net/de/go/dsl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Reply via email to