On 4/23/07, Geoffrey De Smet <[EMAIL PROTECTED]> wrote:
I also have a dependency on spring-core:
/repo/org/springframework/spring-core/2.0.2/spring-core-2.0.2.jar

So I need a different classpathPrefix depending on the dependency.

what is your use case ?

I am not sure that the repository-like structure allowed by the
assembly plugin was designed to allow you to run your app from the
generated repository.

Some suggestions:
1- don't assemble as a maven repository (do you really need it ?)
2- don't depend on the generated classpath (e.g. use a wrapper to
start your app)
3- rewrite the generated classpath once your repository has been created.
4- patch the jar plugin to accept a classpath generator that matches
your requirement

I would pick option 1 or 3.

Cheers,

J

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

Reply via email to