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 SIGNED MESSAGE-----
Hash: SHA1
But it would not work for transitive ependencies if I'll put it in a
different group id, I think. because they are different projects.
W dniu 2012-07-17 15:39, Anders Hammar pisze:
I think it would depend on what kind of changes you make. But if it's
a patch or similar, you should just change the version to
a.b.c-PATCH123 or something (keep artifactId and groupId as the
original).

But if you make bigger changes to it, it would probably make sense to
put it under your groupId.

/Anders

On Tue, Jul 17, 2012 at 3:28 PM, Michał Zegan
<[email protected]> wrote:
Hello.

What is the best way to do things like:
Some artifact exists in a central repository and it's a transitive
dependency of some of my project's direct dependencies.
Then, I have a really good reason to modify the artifact and store it in
my own repository.
Should I distinguish the new version of it using a classifier, a version
like 0.0-modified, or I should make the coordinates the same as in
central?

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

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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJQBW12AAoJEIm05B02l8E6x4oP/27oOsR5oOw5qYqYc/HSjs6z
awbD/mw9MFocKF3XnzWbkF/AnxAK+kxxyJAtFjQ6dY9e6xEMrZKVGJ61ahuzz7hn
H//PlXavX9tyRE0eqmmauanNFZaohr6SoXOgHAvTeCh5HAizHf8nAT0FT4HJTb9J
LCMbpcE1ZFdSJ+rQMFS+IGPtYBYNQKylEaG1C9eP7os2hxIrwuxe0SVOPdrhmzrB
KbFaORYbVa5660AcX/i7F6DZae8Bnp1AShLYa/2ecyDx6352z/olKju9iFbwkoEb
3WtFrzhIdDtKEPh7NzU2wCYPwXwhhkgTgGjDkLkC6/WjRTfZQoQJzMo/nGQn0uGB
GY7uuGT82VpqI6IhubhKzJh4ddFmucu2AtCnxpuwhQ3q09h8UaHCCVmA3QLcnBVg
moLbHGk/4bnub+sspoSH4gHPdhNiLWJbWXoj2SpR8v6IyeSenGxwndjrrf1j/bHX
bplkMmAINlyaPhOBmt41iy1kzLhz4BNbBSaFCUbS71yyNh0AUBRNC1HDgzA8VSe+
J4lBv/UFcI+gWZjyN3ih+S35oIVymjSUwjeU32XJq7zWkdLGi5x9AqhsEsTYzKyf
zGLhIxdKMDIirTvX4nS2dlv7F8fx+8X06Vg1JgR1F0zZRnuGk+Sw1sPyy67aSlhj
kjk+CPQAjzMTS5xKkdig
=/tS3
-----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