i've run into a situation where i've got a set of jars that are identical
except for a set of properties files.

what i would like to do is have a set of profiles that inserts the relevent
properties files into the jar.  And this isn't a problem.  But i would also
like to automate that process where the build creates a jar for each
profile.  for example, in the parent pom.xml - i'd like it to run
mvn compile -DsomeProfile=bob
mvn compile -DsomeProfile=sally

and generate sally.jar and bob.jar.

thoughts on how to approach this?

--
Andrew R. Thompson
Currently in D.C. Consulting

Reply via email to