Sometimes a best practice requires you to do things that you don't want to do for short term reasons.

Why not add an exclusion for stuff you want Maven to exclude?

Ron

On 17/07/2012 10:02 AM, Michał Zegan wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I don't want to add exclusions for everything that requires that.

W dniu 2012-07-17 15:57, Ron Wheeler pisze:
If you exclude the stock version from the direct dependencies and add your 
version as a
dependency, you:
a) get the configuration that you want
b) you have documented in your POM, the exact configuration of
software bits and pieces that are required to build what you want (your
friends will someday love you for doing this or hate you if you don't)
Being sneaky sometimes looks efficient but seldom is in the long term.

Ron
On 17/07/2012 9:49 AM, Michał Zegan wrote:


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJQBXB7AAoJEIm05B02l8E6VdUP/2yMZaMfDuf9QOPQty1B9Fo+
hJ53Zn/anEIadj+TyWQKEkBRPzxP6WgZdP2eXJhEA6GeZAaSmjqOq6cePLycJ/bM
yRabZ9mlWFb6DTw5Dc7wQ7snpJPIZRnA760tvNTwxFS/lb/7kjkLbTfJfTLfaVp6
HvFbJgs72CTazUBiJabZx8ryVVQMUEwzTRdlr7p/w9VdKqN11Q2JCzJmcrH++Tk5
AYInsKYgInlQjluYEpTfXSqAfQj9oJz9T1UXihS6dUzpd8DIbYLdcwUkQYB+bWUv
pQJsGQmB14q8eXM2xtDkbIu5cpoJTncFMpnA/3ht4CKTbbFV+3hXLx3s9r638bbQ
g6jK6LnH4kxoIWNBizm8I1eHpk25SwzK/mSZKmr2p4acma3naNn7qxastdApjbWu
IqKXRMukhyOeXS8XM5C4j0aoHEpMYiVWDbVjCSkG0ptLTUoGoKYWOl1C84J8Jbpd
2gnnMOSHvucV8+jxHq3Zh0rXoR4z9r3jRoCsopEE3UPy/r6YqxO3A5PTwK2RIYHN
ZsGRnpHzjyn/GK7YteZ48KwbC6Sl1TE3expL3gCPQNbI2t/zDvk6XSgzGuf+t+gY
hXhnYBjwMcUSfC7eoLLE7chYiMr0g3yWNEII4iyj8VnqP6dlnETudFyrQvOsY+6h
rwN/9SRuRuwqpRiGSI31
=znFZ
-----END PGP SIGNATURE-----




--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to