Re: AW: Artifact with different sets of dependencies switched by profiles

2014-06-28 Thread Ron Wheeler
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 separa

Re: [Clash Inspector] Release 0.9 and asking for quick feedback

2014-06-28 Thread Karl Heinz Marbaise
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 com.clashinspector:cla

AW: Artifact with different sets of dependencies switched by profiles

2014-06-28 Thread Christofer Dutz
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 [mailto:stephen.al

Re: [Clash Inspector] Release 0.9 and asking for quick feedback

2014-06-28 Thread Michael Osipov
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 http://maven.apache.org/plugins/maven-p

[Clash Inspector] Release 0.9 and asking for quick feedback

2014-06-28 Thread mailings
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 com.clashinspector:clashins

Re: Artifact with different sets of dependencies switched by profiles

2014-06-28 Thread Stephen Connolly
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 bec

Artifact with different sets of dependencies switched by profiles

2014-06-28 Thread Christofer Dutz
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

Re: how to specify different file name for pom.xml of a module?

2014-06-28 Thread Anders Hammar
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 : > To answer my own question: just m