| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2015, EfficiOS Inc., Alexandre Montplaisir <alexmonthy@efficios.com> |
| 4 | |
| 5 | This library is free software; you can redistribute it and/or |
| 6 | modify it under the terms of the GNU Lesser General Public |
| 7 | License as published by the Free Software Foundation; only |
| 8 | version 2.1 of the License. |
| 9 | |
| 10 | This library is distributed in the hope that it will be useful, |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | Lesser General Public License for more details. |
| 14 | |
| 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | License along with this library; if not, write to the Free Software |
| 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | --> |
| 19 | |
| 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | |
| 25 | <prerequisites> |
| 26 | <maven>3.0</maven> |
| 27 | </prerequisites> |
| 28 | |
| 29 | <groupId>org.lttng.ust</groupId> |
| 30 | <artifactId>lttng-ust-java-parent</artifactId> |
| 31 | <version>1.1.0-SNAPSHOT</version> |
| 32 | <packaging>pom</packaging> |
| 33 | |
| 34 | <name>LTTng-UST Java Agent</name> |
| 35 | |
| 36 | <properties> |
| 37 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 38 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 39 | |
| 40 | <!-- Paths that come from UST's default "make install". |
| 41 | Override to specify other locations. --> |
| 42 | <common-jar-location>/usr/local/share/java/lttng-ust-agent-common-1.0.0.jar</common-jar-location> |
| 43 | <jul-jar-location>/usr/local/share/java/lttng-ust-agent-jul-1.0.0.jar</jul-jar-location> |
| 44 | <log4j-jar-location>/usr/local/share/java/lttng-ust-agent-log4j-1.0.0.jar</log4j-jar-location> |
| 45 | <argLine>-Djava.library.path=/usr/local/lib</argLine> |
| 46 | </properties> |
| 47 | |
| 48 | <build> |
| 49 | <plugins> |
| 50 | <plugin> |
| 51 | <groupId>org.apache.maven.plugins</groupId> |
| 52 | <artifactId>maven-compiler-plugin</artifactId> |
| 53 | </plugin> |
| 54 | |
| 55 | <plugin> |
| 56 | <groupId>org.apache.maven.plugins</groupId> |
| 57 | <artifactId>maven-failsafe-plugin</artifactId> |
| 58 | </plugin> |
| 59 | </plugins> |
| 60 | |
| 61 | <pluginManagement> |
| 62 | <plugins> |
| 63 | <plugin> |
| 64 | <groupId>org.apache.maven.plugins</groupId> |
| 65 | <artifactId>maven-compiler-plugin</artifactId> |
| 66 | <version>3.6.1</version> |
| 67 | <configuration> |
| 68 | <source>1.8</source> |
| 69 | <target>1.8</target> |
| 70 | </configuration> |
| 71 | </plugin> |
| 72 | |
| 73 | <plugin> |
| 74 | <groupId>org.apache.maven.plugins</groupId> |
| 75 | <artifactId>maven-failsafe-plugin</artifactId> |
| 76 | <version>2.19.1</version> |
| 77 | <executions> |
| 78 | <execution> |
| 79 | <goals> |
| 80 | <goal>integration-test</goal> |
| 81 | <goal>verify</goal> |
| 82 | </goals> |
| 83 | </execution> |
| 84 | </executions> |
| 85 | </plugin> |
| 86 | </plugins> |
| 87 | </pluginManagement> |
| 88 | |
| 89 | </build> |
| 90 | |
| 91 | <dependencyManagement> |
| 92 | <dependencies> |
| 93 | <!-- System dependencies, should have been installed by UST --> |
| 94 | <dependency> |
| 95 | <groupId>org.lttng.ust.agent</groupId> |
| 96 | <artifactId>lttng-ust-agent-common</artifactId> |
| 97 | <version>1.0.0</version> |
| 98 | <scope>system</scope> |
| 99 | <systemPath>${common-jar-location}</systemPath> |
| 100 | </dependency> |
| 101 | |
| 102 | <dependency> |
| 103 | <groupId>org.lttng.ust.agent</groupId> |
| 104 | <artifactId>lttng-ust-agent-jul</artifactId> |
| 105 | <version>1.0.0</version> |
| 106 | <scope>system</scope> |
| 107 | <systemPath>${jul-jar-location}</systemPath> |
| 108 | </dependency> |
| 109 | |
| 110 | <dependency> |
| 111 | <groupId>org.lttng.ust.agent</groupId> |
| 112 | <artifactId>lttng-ust-agent-log4j</artifactId> |
| 113 | <version>1.0.0</version> |
| 114 | <scope>system</scope> |
| 115 | <systemPath>${log4j-jar-location}</systemPath> |
| 116 | </dependency> |
| 117 | |
| 118 | <!-- Provided by this project --> |
| 119 | <dependency> |
| 120 | <groupId>org.lttng.tools</groupId> |
| 121 | <artifactId>lttng-tools-java</artifactId> |
| 122 | <version>1.1.0-SNAPSHOT</version> |
| 123 | </dependency> |
| 124 | |
| 125 | <dependency> |
| 126 | <groupId>org.lttng.ust</groupId> |
| 127 | <artifactId>lttng-ust-java-tests-common</artifactId> |
| 128 | <version>1.1.0-SNAPSHOT</version> |
| 129 | </dependency> |
| 130 | |
| 131 | <!-- Regular Maven dependencies --> |
| 132 | <dependency> |
| 133 | <groupId>log4j</groupId> |
| 134 | <artifactId>log4j</artifactId> |
| 135 | <version>1.2.17</version> |
| 136 | </dependency> |
| 137 | |
| 138 | <dependency> |
| 139 | <groupId>junit</groupId> |
| 140 | <artifactId>junit</artifactId> |
| 141 | <version>RELEASE</version> |
| 142 | <scope>test</scope> |
| 143 | </dependency> |
| 144 | </dependencies> |
| 145 | </dependencyManagement> |
| 146 | |
| 147 | |
| 148 | <modules> |
| 149 | <module>lttng-tools-java</module> |
| 150 | <module>lttng-ust-java-tests-common</module> |
| 151 | <module>lttng-ust-java-tests-jul</module> |
| 152 | <module>lttng-ust-java-tests-log4j</module> |
| 153 | </modules> |
| 154 | |
| 155 | </project> |