Using the
  <classpathPrefix>.\</classpathPrefix>
tag, you're telling the Jar plugin to put that prefix - and it seems to
behave correctly.

always visit the plugin's doc pages for details:
http://maven.apache.org/plugins/maven-jar-plugin/ Maven Jar Plugin 
http://maven.apache.org/shared/maven-archiver/examples/classpath.html Maven
Archiver 

Regards,
PC


Thalmeiner Zsolt wrote:
> 
> Hello,
> 
> I'm building a Java project using Maven 2.0.9 and JVM 1.5.0_14 on 
> Windows XP.
> My project depends on runtime from some jar files that are resides in 
> the same directory with my jar so I put this configuration to my pom.xml:
>>       <plugin>
>>         <groupId>org.apache.maven.plugins</groupId>
>>         <artifactId>maven-jar-plugin</artifactId>
>>         <version>2.2</version>
>>         <configuration>
>>           <archive>
>>             <manifest>
>>               <addClasspath>true</addClasspath>
>>               <classpathPrefix>.\</classpathPrefix>
>>             </manifest>
>>           </archive>
>>         </configuration>
>>       </plugin>
> 
> After build the manifest file in my jar file contains all dependencies 
> with prefix "./"
> Is this a bug or I missed something?
> 
> Regards,
> th
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/classpath-fileseparator-problem-in-generated-manifest-file-under-winxp-tp17312374p17313594.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to