<!--
Copyright (C) 2015, EfficiOS Inc., Alexandre Montplaisir <alexmonthy@efficios.com>
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; only
+ version 2.1 of the License.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
<maven>3.0</maven>
</prerequisites>
- <groupId>org.lttng.ust.agent</groupId>
- <artifactId>lttng-ust-agent-tests</artifactId>
+ <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>
<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>
- <profiles>
- <profile>
- <id>benchmark</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.18.1</version>
- <configuration>
- <includes>
- <include>**/*Benchmark.java</include>
- </includes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
+ <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>