You'll need to talk to the Easymock guys -- their pom isn't using a
classifier, instead all that info is shoved into version, as seen
here:
http://www.ibiblio.org/maven2/easymock/easymock/1.2_Java1.5/easymock-1.2_Java1.5.pom
When they start using classifier, you can start using it too.
Wayne
On 10/13/06, Max MacLeod [EMAIL PROTECTED] wrote:
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
groupIdeasymock/groupId
artifactIdeasymock/artifactId
version1.2_Java1.5/version
typejar/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]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]