Hi Folks,
I'm new to Maven so please excuse me if I'm talking
nonsense on this one.

However, I'm having problems with the <classifier>
tag. I have a dependency on Easymock which has a 1.2
version for Java 1.3 and Java 1.5. I've tried
everything in the pom.xml to get it to load from the
remote and local repositories using the classifier.

Also, manually installing the Jar to my local
repository and specifying the classifier doesn't work.
It does install but it ignores this parameter.

Finally, I tried installing using mvn install with the
project pom in the same directory. This installed
including the Jdk version in the file name etc.:

easymock-1.2_Java1.5.jar

Then, specifying the version as follows:

<dependency>
      <groupId>easymock</groupId> 
      <artifactId>easymock</artifactId> 
      <version>1.2_Java1.5</version> 
      <type>jar</type> 
    </dependency>
    </dependencies>

The dependency is processed OK.

I'd prefer to use the <classifier> if possible.

Any advice would be greatly appreciated.

Many thanks,
Max





Send instant messages to your online friends http://uk.messenger.yahoo.com 

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

Reply via email to