The Shale project has a need to produce a few artifacts for a project that differ only in dependencies [1]. Specifically one jar for JDK 1.4 and one jar for JDK 1.5. It appear that classifiers can be used in the generation artifacts for different variation of a project[2].

1) Is their a better way to meet the requirements?

2) Are classifiers stable in a multi-project build?

3) Are classifiers well supported by Maven's plugins?

4) What is the minimum Maven version that should be used when creating artifacts with classifiers?

5) What is the minimum Maven version that should be used when depending on an artifact containing a classifier?

5) For projects dependent on an artifact with classifiers, can the artifact be calculated by Maven? Asked another way: Assuming the shale-test v1.1.0 artifacts shale-test-1.1.0-jdk14.jar and shale-test-1.1.0-jdk15.jar are in the repository, is the classifier jdk14 or jdk15 required in the shale-test dependency configuration of a project using shale-test v1.1.0 or will maven used the current jdk environment to select the correct shale-test artifact?

6) What are the pitfalls or disadvantages?

Paul Spencer


[1] http://markmail.org/message/ivziozp3lzrxbpri
[2] http://maven.apache.org/plugins/maven-jar-plugin/usage.html

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

Reply via email to