blob: 2e9135f7bd751dd719c878173f25647ef468e26f [file] [log] [blame]
Andrew Brown3f2521a2015-01-17 22:10:15 -08001<?xml version="1.0" encoding="UTF-8"?>
2<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">
3 <modelVersion>4.0.0</modelVersion>
Andrew Brownac282262015-01-20 16:14:43 -08004 <groupId>com.intel.jndn.utils</groupId>
Andrew Brown3f2521a2015-01-17 22:10:15 -08005 <artifactId>jndn-utils</artifactId>
andrewsbrown0acf8d82016-04-22 14:16:18 -07006 <version>1.0.2</version>
andrewsbrown8372eaa2015-02-23 10:08:17 -08007 <name>jndn-utils</name>
Andrew Browna88e6ef2015-01-22 11:43:44 -08008 <description>Collection of tools to simplify synchronous and asynchronous data transfer over the NDN network</description>
andrewsbrown8372eaa2015-02-23 10:08:17 -08009 <url>https://github.com/01org/jndn-utils</url>
10 <packaging>jar</packaging>
11 <licenses>
12 <license>
13 <name>LGPL v3</name>
14 <url>https://www.gnu.org/licenses/lgpl.html</url>
15 </license>
16 </licenses>
17 <developers>
18 <developer>
19 <name>Andrew Brown</name>
20 <url>http://github.com/andrewsbrown</url>
21 </developer>
22 </developers>
andrewsbrown13b11c52015-07-02 14:23:15 -070023 <distributionManagement>
24 <snapshotRepository>
25 <id>ossrh</id>
26 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
27 </snapshotRepository>
28 </distributionManagement>
andrewsbrown8372eaa2015-02-23 10:08:17 -080029 <scm>
30 <url>https://github.com/01org/jndn-utils</url>
31 <connection>scm:git:git@github.com:01org/jndn-utils.git</connection>
32 <developerConnection>scm:git:git@github.com:01org/jndn-utils.git</developerConnection>
33 </scm>
Andrew Brown3f2521a2015-01-17 22:10:15 -080034 <dependencies>
35 <dependency>
Andrew Browndb457052015-02-21 15:41:58 -080036 <groupId>net.named-data</groupId>
Andrew Brown3f2521a2015-01-17 22:10:15 -080037 <artifactId>jndn</artifactId>
andrewsbrown0acf8d82016-04-22 14:16:18 -070038 <version>0.11</version>
Andrew Brown3f2521a2015-01-17 22:10:15 -080039 </dependency>
40 <!-- Test dependencies -->
41 <dependency>
42 <groupId>junit</groupId>
43 <artifactId>junit</artifactId>
44 <version>4.10</version>
45 <scope>test</scope>
46 </dependency>
47 <dependency>
48 <groupId>com.intel.jndn.mock</groupId>
49 <artifactId>jndn-mock</artifactId>
andrewsbrown0acf8d82016-04-22 14:16:18 -070050 <version>1.0.2</version>
Andrew Brown3f2521a2015-01-17 22:10:15 -080051 <scope>test</scope>
52 </dependency>
53 </dependencies>
54 <properties>
55 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
andrewsbrown8d5ae292015-07-01 17:38:22 -070056 <maven.compiler.source>1.8</maven.compiler.source>
57 <maven.compiler.target>1.8</maven.compiler.target>
Andrew Brown3f2521a2015-01-17 22:10:15 -080058 </properties>
andrewsbrown2e349562015-04-01 14:26:36 -070059 <build>
60 <plugins>
61 <plugin>
62 <groupId>org.jacoco</groupId>
63 <artifactId>jacoco-maven-plugin</artifactId>
64 <version>0.7.4.201502262128</version>
65 <executions>
66 <execution>
67 <id>pre-unit-test</id>
68 <goals>
69 <goal>prepare-agent</goal>
70 </goals>
71 </execution>
72 <execution>
73 <id>post-unit-test</id>
74 <phase>test</phase>
75 <goals>
76 <goal>report</goal>
77 </goals>
78 </execution>
79 </executions>
80 </plugin>
81 </plugins>
82 </build>
andrewsbrown7836a5f2015-02-23 11:20:10 -080083 <profiles>
andrewsbrown13b11c52015-07-02 14:23:15 -070084
85 <!-- Use OSSRH-directed plugins (see http://central.sonatype.org/pages/apache-maven.html)
86 for deployment to Maven central; e.g. `mvn deploy -P ossrh`-->
andrewsbrown7836a5f2015-02-23 11:20:10 -080087 <profile>
88 <id>ossrh</id>
89 <build>
90 <plugins>
andrewsbrown7836a5f2015-02-23 11:20:10 -080091 <plugin>
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-source-plugin</artifactId>
94 <version>2.4</version>
95 <executions>
96 <execution>
97 <id>attach-sources</id>
98 <goals>
99 <goal>jar-no-fork</goal>
100 </goals>
101 </execution>
102 </executions>
103 </plugin>
104 <plugin>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-javadoc-plugin</artifactId>
andrewsbrown13b11c52015-07-02 14:23:15 -0700107 <version>2.10.2</version>
108 <configuration>
109 <additionalparam>-Xdoclint:none</additionalparam>
110 </configuration>
andrewsbrown7836a5f2015-02-23 11:20:10 -0800111 <executions>
112 <execution>
113 <id>attach-javadocs</id>
114 <goals>
115 <goal>jar</goal>
116 </goals>
117 </execution>
118 </executions>
119 </plugin>
120 <plugin>
121 <groupId>org.sonatype.plugins</groupId>
122 <artifactId>nexus-staging-maven-plugin</artifactId>
123 <version>1.6.3</version>
124 <extensions>true</extensions>
125 <configuration>
126 <serverId>ossrh</serverId>
127 <stagingProfileId>a80137db01223a</stagingProfileId>
128 <nexusUrl>https://oss.sonatype.org/</nexusUrl>
129 <autoReleaseAfterClose>true</autoReleaseAfterClose>
130 </configuration>
131 </plugin>
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-gpg-plugin</artifactId>
135 <version>1.5</version>
136 <executions>
137 <execution>
138 <id>sign-artifacts</id>
139 <phase>verify</phase>
140 <goals>
141 <goal>sign</goal>
142 </goals>
143 </execution>
144 </executions>
145 </plugin>
146 </plugins>
andrewsbrown474f2402015-04-07 09:11:30 -0700147 </build>
148 </profile>
andrewsbrown13b11c52015-07-02 14:23:15 -0700149
150 <!-- Use failsafe to run integration tests with an NFD instance; e.g.
151 `mvn verify -Pnfd-integration-tests -Dnfd.ip=10.0.0.1; these are not run by default
152 due to the external NFD dependency -->
153 <profile>
154 <id>nfd-integration-tests</id>
155 <build>
156 <plugins>
157 <plugin>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-failsafe-plugin</artifactId>
160 <version>2.18.1</version>
161 <executions>
162 <execution>
163 <id>runIntegrationTests</id>
164 <phase>integration-test</phase>
165 <goals>
166 <goal>integration-test</goal>
167 </goals>
168 </execution>
169 <execution>
170 <id>verifyIntegrationTests</id>
171 <phase>verify</phase>
172 <goals>
173 <goal>verify</goal>
174 </goals>
175 </execution>
176 </executions>
177 </plugin>
178 </plugins>
179 </build>
180 </profile>
andrewsbrown474f2402015-04-07 09:11:30 -0700181
andrewsbrown13b11c52015-07-02 14:23:15 -0700182 <!-- Run `mvn clean javadoc:javadoc scm-publish:publish-scm -P docs` to push
andrewsbrown474f2402015-04-07 09:11:30 -0700183 Javadoc to Github -->
184 <profile>
185 <id>docs</id>
186 <build>
187 <plugins>
188 <plugin>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-javadoc-plugin</artifactId>
191 <version>2.10.2</version>
andrewsbrown13b11c52015-07-02 14:23:15 -0700192 <configuration>
193 <additionalparam>-Xdoclint:none</additionalparam>
194 </configuration>
andrewsbrown474f2402015-04-07 09:11:30 -0700195 </plugin>
196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-scm-publish-plugin</artifactId>
199 <version>1.1</version>
200 <configuration>
201 <checkoutDirectory>${project.build.directory}/scmpublish</checkoutDirectory>
202 <checkinComment>Publishing javadoc for ${project.artifactId}:${project.version}</checkinComment>
203 <content>${project.build.directory}/site/apidocs</content>
204 <skipDeletedFiles>true</skipDeletedFiles>
205 <pubScmUrl>scm:git:https://github.com/01org/jndn-utils.git</pubScmUrl>
206 <scmBranch>gh-pages</scmBranch>
207 </configuration>
208 </plugin>
209 </plugins>
210 </build>
andrewsbrown7836a5f2015-02-23 11:20:10 -0800211 </profile>
212 </profiles>
andrewsbrown300cd3c2015-04-14 14:25:54 -0700213</project>