Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0.4
-
None
-
None
Description
Today, Maven only offers a single classifier to adress the problem of generating different flavours of an artifact such as dev and prod versions of an EAR, but most of the time, this is not enough, you have a prod version which is distributed, a prod version which is not, a dev version which is distributed and a dev version which is not ...
With current classifiers, you can only put one classifier on an artifact, so if the artifact is already marked with a 'prod' classifier, you cannot add a 'distributed' one.
Vincent Massol already submitted an idea in MNG-2596 which would address that limitation by adding support for multiple classifiers on a single artifact. In MNG-2649, I propose an alternative solution (which is not necessarily incompatible btw) by adding support for a list of properties to artifacts.
Regards,
Cédric Vidal
PS: I submitted two different issues to separate the problem from the solution (MNG-2649)