Affects Version/s: None
Fix Version/s: 2.1
Number of attachments :
Usually, classifiers are used to produce attached artifacts, together with the "main" artifact. In some cases, however, it is not possible to produce the different flavors of the artifacts simultaneously (for example, for a version with debug and without debug).
Then, in order to have a single artifact with a classifier, one can configure the jar plugin as follow:
However, this cause the install plugin (and probably also the deploy plugin) to fail, because it cannot find the "main" artifact:
[INFO] Building jar: /home/julien/cvs/java/libs/attr/target/libattr-3.0-nodebug.jar
[INFO] Installing /home/julien/cvs/java/libs/attr/target/classes to /home/julien/.m2/repository/unicity/libattr/3.0/libattr-3.0.jar