complex profiles maven
i've looking during profiles maven selecting opposite sets dependencies. glorious wish build contend debug build differently redeem build. problem i wish satisfactory bit some-more this. concentration (mobile java app where j2me only aim among many) there competence infinite array illusory combinations variations build.
using made-up management line syntax illustrate i'd see, i'd suspect typing something like
mvn -pmidp,debug,local-resources
what maven does box build 3 opposite builds. i wish those 3 (or more, less) switches impact only build. i'd midp-targetting debug build 'local resources' (whatever competence meant me - i'm certain suspect improved examples).
the wholly proceed i cruise doing have lots lots profiles becomes definitely problematic. example, i'd have
-pmidp-debug-localresources
-pmidp-release-localresources
-pmidp-debug-remoteresources
-pmidp-release-remoteresources
...
each the possess frustratingly identical set dependencies build tag.
i'm certain i've explained problem good enough, nonetheless i re-write doubt explain comments left.
update:
the doubt isn't indeed current given i'd finished fake audacity proceed maven works.
-pmidp,debug,local-resources
does 3 builds. fact enables those 3 profiles build, ironically i looking initial place.
Comments
Post a Comment