xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>org.lttng.ust.agent</groupId>
- <artifactId>lttng-ust-agent-tests</artifactId>
+ <prerequisites>
+ <maven>3.0</maven>
+ </prerequisites>
+
+ <groupId>org.lttng.ust</groupId>
+ <artifactId>lttng-ust-java-parent</artifactId>
<version>1.0.0</version>
- <packaging>jar</packaging>
+ <packaging>pom</packaging>
- <name>LTTng-UST Java Agent Test Suite</name>
+ <name>LTTng-UST Java Agent</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+
<!-- Paths that come from UST's default "make install".
Override to specify other locations. -->
<common-jar-location>/usr/local/share/java/lttng-ust-agent-common-1.0.0.jar</common-jar-location>
<log4j-jar-location>/usr/local/share/java/lttng-ust-agent-log4j-1.0.0.jar</log4j-jar-location>
<argLine>-Djava.library.path=/usr/local/lib</argLine>
</properties>
-
- <dependencies>
- <!-- System dependencies, should have been installed by UST -->
- <dependency>
- <groupId>org.lttng.ust.agent</groupId>
- <artifactId>lttng-ust-agent-common</artifactId>
- <version>1.0.0</version>
- <scope>system</scope>
- <systemPath>${common-jar-location}</systemPath>
- </dependency>
- <dependency>
- <groupId>org.lttng.ust.agent</groupId>
- <artifactId>lttng-ust-agent-jul</artifactId>
- <version>1.0.0</version>
- <scope>system</scope>
- <systemPath>${jul-jar-location}</systemPath>
- </dependency>
- <dependency>
- <groupId>org.lttng.ust.agent</groupId>
- <artifactId>lttng-ust-agent-log4j</artifactId>
- <version>1.0.0</version>
- <scope>system</scope>
- <systemPath>${log4j-jar-location}</systemPath>
- </dependency>
-
- <!-- "Real" Maven dependencies -->
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.17</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
+ <version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>2.18.1</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
+ <dependencyManagement>
+ <dependencies>
+ <!-- System dependencies, should have been installed by UST -->
+ <dependency>
+ <groupId>org.lttng.ust.agent</groupId>
+ <artifactId>lttng-ust-agent-common</artifactId>
+ <version>1.0.0</version>
+ <scope>system</scope>
+ <systemPath>${common-jar-location}</systemPath>
+ </dependency>
+
+ <dependency>
+ <groupId>org.lttng.ust.agent</groupId>
+ <artifactId>lttng-ust-agent-jul</artifactId>
+ <version>1.0.0</version>
+ <scope>system</scope>
+ <systemPath>${jul-jar-location}</systemPath>
+ </dependency>
+
+ <dependency>
+ <groupId>org.lttng.ust.agent</groupId>
+ <artifactId>lttng-ust-agent-log4j</artifactId>
+ <version>1.0.0</version>
+ <scope>system</scope>
+ <systemPath>${log4j-jar-location}</systemPath>
+ </dependency>
+
+ <!-- Provided by this project -->
+ <dependency>
+ <groupId>org.lttng.tools</groupId>
+ <artifactId>lttng-tools-java</artifactId>
+ <version>1.0.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.lttng.ust</groupId>
+ <artifactId>lttng-ust-java-tests-common</artifactId>
+ <version>1.0.0</version>
+ </dependency>
+
+ <!-- Regular Maven dependencies -->
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.17</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>RELEASE</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+
+ <modules>
+ <module>lttng-tools-java</module>
+ <module>lttng-ust-java-tests-common</module>
+ <module>lttng-ust-java-tests-jul</module>
+ <module>lttng-ust-java-tests-log4j</module>
+ </modules>
+
</project>