Not a good idea. Neither is profiles. There are several threads around this
in the archive.
You should explain your use case so that we can help you with the right
solution. Why do you want different dependencies?
/Anders (mobile)
Den 28 jun 2014 05:56 skrev yuh...@gmail.com:
To answer my own
Hi,
I am currently working on making the Apache Flex project able to release as
Maven artifacts. For that I have created a tool that mavenizes a Flex SDK by
generating poms and copying and renaming the libraries it consists of. All is
working nicely. In contrast to Java in Flex you can sort of
N!!!
Allowing people to define dependencies in profiles was one of the biggest
mistakes we made in Model Version 4.0.0.
The activation rules etc are *never* what they think you are once the
dependency is resolved from the local repository cache.
Please do no do this stupid thing just
Hi guys,
some students have created a nice Maven plugin:
http://clashinspector.com
It analyzes potential problems regarding version clashes between
(transient) dependencies.
It has a nice HTML view (but can also be used from the console).
Just give it a shot:
mvn
Am 2014-06-28 23:54, schrieb maili...@cedarsoft.com:
Hi guys,
some students have created a nice Maven plugin: http://clashinspector.com
It analyzes potential problems regarding version clashes between
(transient) dependencies.
Where is the difference to
No worries :-)
I was going through the options and I noticed this myself :-)
But is there another option?
I tried the pom dependency with classifier option, but that didn't work (I
wasn't really expecting it to)
Chris
-Ursprüngliche Nachricht-
Von: Stephen Connolly
Hi,
Hi guys,
some students have created a nice Maven plugin: http://clashinspector.com
It analyzes potential problems regarding version clashes between
(transient) dependencies.
It has a nice HTML view (but can also be used from the console).
Just give it a shot:
mvn
The solution that you suggested at the end of your message is the best.
Separate all the common code into a core project and have 2 projects
that depend on it for producing the final artifacts for particular
envoronments.
This may also help in organizing your tests so that you clearly