-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mar 5, 2007, at 1:24 PM, Andy Thompson wrote:
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?
We're using a combination of build time filtering and the maven-ear-
plugin to do exactly that for creating ear files that contain the
same code, but are built for different environments. I'd imagine that
there's a plugin very similar you can use for jar files.
- --
J.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
iD8DBQFF7Ghpvxud+cMTf5IRAgi0AJ0e5Csb0m0C490QytBHBtllR1Y21wCgpHnN
ytNRTJBFxF4phrB3H0IrJYY=
=VQHS
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]