Currently, I have set my version tag to : <version>${parent.version}-${classifier}</version>
and I set the classifier property in my profiles but this doesn't feel good. 2007/11/19, Emmanuel Hugonnet <[EMAIL PROTECTED]>: > > Hi, > I have a project that I need to build for different JDKs; Because we use > JAXB on jdk1.4.2, 5 and 6I need to specify different dependencies for the > JAXB version from 1.0.6 to 2.0.5. So I have different profiles for each > jdk version target. > I have set a classifier so that I get 3 different articfacts. My problem > is : I have only on pom as a result instead of 3 (one per artifact) . this > causes my dependencies resolving to go wrong if the installed/deployed pom > doesn't match the artifact I am using. How could I have the classifier set > on the pom when I am installing or deploying ? How should I proceed? > Thanks, > Emmanuel >