Different profiles with different surefire excludes and includes doesn't work

2014-04-08 Thread Lahiru Gunathilake
Hi All, I made my parent pom[1] with multiple profiles, and my requirement is the enable different types of tests for each profiles. When I just put the default profiles and test it my excludes in default profile works fine, but when i add another new profile with a different name (ex:

Re: Different profiles with different surefire excludes and includes doesn't work

2014-04-08 Thread Russell Gold
HI Lahiru, I see that both of your profiles are active by default, so you’re going to get both. That means that Maven has to combine them for you, which is likely to result in something you don’t want. Regards, Russ On Apr 8, 2014, at 12:02 PM, Lahiru Gunathilake glah...@gmail.com wrote:

Re: Archiva vs. Nexus

2014-04-08 Thread ghostwolf59
I have never used Nexus, but this error seem like a classic windows long file names issue - I suggest you specify C:\program~\Sonatype\ instead of C:\Program Files\Sonatype\... Alternatively surround long file names/paths with quotes - not sure if this is part of the standard installation

Maven Download and Regular Expression

2014-04-08 Thread MukeshKumar Bhansali
Hi Folks, I have a different requirement and not getting any hint. The Requirement is like : I want to download an artifact from Nexus using Maven, But I have 1) groupId 2) version 3) Partial artifactId ( prefix and suffix of artifactId means not the exact one) Example : In

Re: Maven Download and Regular Expression

2014-04-08 Thread Bernd Eckenfels
Hello, maybe this sample code helps you how you could use Aether to inspect repository index: http://git.eclipse.org/c/aether/aether-demo.git/tree/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/FindAvailableVersions.java check out http://eclipse.org/aether for details. Gruss