|
@@ -14,13 +14,15 @@
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
limitations under the License.
|
|
---><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
|
+-->
|
|
|
|
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<groupId>org.apache.ambari</groupId>
|
|
<groupId>org.apache.ambari</groupId>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>ambari-metrics</artifactId>
|
|
<artifactId>ambari-metrics</artifactId>
|
|
<version>2.5.0.0.0</version>
|
|
<version>2.5.0.0.0</version>
|
|
<packaging>pom</packaging>
|
|
<packaging>pom</packaging>
|
|
<modules>
|
|
<modules>
|
|
|
|
+ <module>../utility</module>
|
|
<module>ambari-metrics-common</module>
|
|
<module>ambari-metrics-common</module>
|
|
<module>ambari-metrics-hadoop-sink</module>
|
|
<module>ambari-metrics-hadoop-sink</module>
|
|
<module>ambari-metrics-flume-sink</module>
|
|
<module>ambari-metrics-flume-sink</module>
|
|
@@ -168,6 +170,9 @@
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<configuration>
|
|
<skip>${skipSurefireTests}</skip>
|
|
<skip>${skipSurefireTests}</skip>
|
|
|
|
+
|
|
|
|
+ <!-- Each profile in the top-level pom.xml defines which test group categories to run. -->
|
|
|
|
+ <groups>${testcase.groups}</groups>
|
|
</configuration>
|
|
</configuration>
|
|
</plugin>
|
|
</plugin>
|
|
<plugin>
|
|
<plugin>
|
|
@@ -297,7 +302,28 @@
|
|
</build>
|
|
</build>
|
|
|
|
|
|
<dependencies>
|
|
<dependencies>
|
|
|
|
+ <!-- Dependency in order to annotate unit tests with a category. -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>utility</groupId>
|
|
|
|
+ <artifactId>utility</artifactId>
|
|
|
|
+ <version>1.0.0.0-SNAPSHOT</version>
|
|
|
|
+ <scope>test</scope>
|
|
|
|
+ </dependency>
|
|
</dependencies>
|
|
</dependencies>
|
|
|
|
|
|
-
|
|
|
|
|
|
+ <profiles>
|
|
|
|
+ <profile>
|
|
|
|
+ <id>FastTests</id>
|
|
|
|
+ <properties>
|
|
|
|
+ <testcase.groups>category.FastTest</testcase.groups>
|
|
|
|
+ </properties>
|
|
|
|
+ <dependencies>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>utility</groupId>
|
|
|
|
+ <artifactId>utility</artifactId>
|
|
|
|
+ <version>1.0.0.0-SNAPSHOT</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ </dependencies>
|
|
|
|
+ </profile>
|
|
|
|
+ </profiles>
|
|
</project>
|
|
</project>
|