maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lahiru Gunathilake <glah...@gmail.com>
Subject Different profiles with different surefire excludes and includes doesn't work
Date Tue, 08 Apr 2014 16:02:48 GMT
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: gridTests) and try the default profile, it actually run my
excludes in the new profiles. I have copied my profile configuration below.

Can someone please help me whats wrong I am doing or is it a bug in maven.
This is my maven environment.

Apache Maven 3.0.2 (r1056850; 2011-01-08 19:58:10-0500)
Java version: 1.6.0_24, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: si, platform encoding: MacRoman
OS name: "mac os x", version: "10.6.8", arch: "x86_64", family: "mac"


[1]http://pastebin.com/xwvjH45H

Lahiru

-- 
System Analyst Programmer
PTI Lab
Indiana University

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message