maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoffrey De Smet (JIRA)" <>
Subject [jira] Commented: (MJAR-82) Class-Path manifest entry should support maven repository layout
Date Thu, 03 Jan 2008 20:09:57 GMT


Geoffrey De Smet commented on MJAR-82:

I 've tested it and it looks ok.
I haven't been able to test it with the assembly plugin combined with java -jar, because of
our hack for MJAR-28 which needs a <dependencySet>, so we can't use a <repository>.

I am unsure if the Class-path is taken from the current working directory or from the directory
of the jar.
In the second case that might mean that all entry's should be prefixed with "../../", depending
on the number of dots in the groupId of the jar.
I 'll create another issue and reference it here if that's the case.

> Class-Path manifest entry should support maven repository layout
> ----------------------------------------------------------------
>                 Key: MJAR-82
>                 URL:
>             Project: Maven 2.x Jar Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.1
>            Reporter: Geoffrey De Smet
>            Assignee: Olivier Lamy
>             Fix For: 2.2
> The assembly plugin supports outputting all dependencies in a repository layout.
> The jar plugin should support adding the classpath manifest entry based on the repository
> The combination of the two makes it easy to write a script to run the app: "java -jar
org/domain/project/projectApp.jar" at the base of the repository layout.
> Example of a Class-Path entry:
> ClassPath: org/springframework/spring-core/2.0/spring-core-2.0.jar;org/drools/drools-core/4.0/drools-core-4.0.jar;org/domain/project/projectApp.jar
> Also see maven user mailing list "maven-jar-plugin: how to avoid conflicts in <addClasspath>"

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message