> 
> I use maven-1.0-rc1 and have tested the maven-jar-plugin with 
> version 1.3 and 1.4.
> 
1.3, I had to patch my version to make it work

1.4, They add the feature (same code I added to my 1.3 version), but
accoriding to the jelly script, you must add the property
jar.manifest.classpath in your dependencies, it's similar to ejb jars, 
 you add the folowing in every dependency you want to include :
        <properties>
                <jar.manifest.classpath>true</jar.manifest.classpath>
        </properties>



> Follwoing properties are set in my project.properties file:
> 
> maven.jar.mainclass=org.columba.core.main.Main
> # the following statement work, but we must update them # 
> also if we need other dependencies 
> #maven.jar.manifest=${basedir}/manifest.mf
No need if you don't have extra thing to merge into, and you let maven
create the classpath, otherwise you may (would not try it personnally)
enconter some conflict between maven generated classpath and yours

> maven.jar.manifest.classpath.add=true
rigth 

> Another question: Can i set a prefix for all Class-path 
> entries? I try to generate from the dependencies following 
> Class-Path output in the MANIFEST file:
> 
> Class-Path: lib/jscf-.0.1.jar lib/juni-3.1.8.jar
> 
> instead of 
> 
> Class-Path: jscf-.0.1.jar juni-3.1.8.jar
> 
Not directly, you should need to modify the jelly script (in plugin 1.4)
to add an option 

Good luck





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

Reply via email to