blob: 3e11d43e1aa7cd7fae26a3518295a4b257178cdc [file] [log] [blame]
Andrew Brown3f2521a2015-01-17 22:10:15 -08001<?xml version="1.0" encoding="UTF-8"?>
andrewsbrown249ebb32016-06-10 14:28:55 -07002<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
andrewsbrown68a399f2016-06-10 14:27:59 -07005
andrewsbrown249ebb32016-06-10 14:28:55 -07006 <groupId>com.intel.jndn.utils</groupId>
7 <artifactId>jndn-utils</artifactId>
Andrew Brown9e011a32016-08-29 14:52:15 -07008 <version>1.0.4</version>
andrewsbrown249ebb32016-06-10 14:28:55 -07009 <name>jndn-utils</name>
10 <description>Collection of tools to simplify synchronous and asynchronous data transfer over the NDN network
11 </description>
12 <url>https://github.com/01org/jndn-utils</url>
13 <packaging>jar</packaging>
andrewsbrown68a399f2016-06-10 14:27:59 -070014
andrewsbrown249ebb32016-06-10 14:28:55 -070015 <licenses>
16 <license>
17 <name>LGPL v3</name>
18 <url>https://www.gnu.org/licenses/lgpl.html</url>
19 </license>
20 </licenses>
andrewsbrown474f2402015-04-07 09:11:30 -070021
andrewsbrown249ebb32016-06-10 14:28:55 -070022 <developers>
23 <developer>
24 <name>Andrew Brown</name>
25 <url>http://github.com/andrewsbrown</url>
26 </developer>
27 </developers>
28
29 <distributionManagement>
30 <snapshotRepository>
31 <id>ossrh</id>
32 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
33 </snapshotRepository>
34 </distributionManagement>
35
36 <scm>
37 <url>https://github.com/01org/jndn-utils</url>
38 <connection>scm:git:git@github.com:01org/jndn-utils.git</connection>
39 <developerConnection>scm:git:git@github.com:01org/jndn-utils.git</developerConnection>
40 </scm>
41
42 <dependencies>
43 <dependency>
44 <groupId>net.named-data</groupId>
45 <artifactId>jndn</artifactId>
46 <version>0.13</version>
47 </dependency>
48 <!-- Test dependencies -->
49 <dependency>
50 <groupId>junit</groupId>
51 <artifactId>junit</artifactId>
52 <version>4.10</version>
53 <scope>test</scope>
54 </dependency>
55 <dependency>
56 <groupId>com.intel.jndn.mock</groupId>
57 <artifactId>jndn-mock</artifactId>
Andrew Brownb2243902016-08-24 16:48:49 -070058 <version>1.1.0</version>
andrewsbrown249ebb32016-06-10 14:28:55 -070059 <scope>test</scope>
60 </dependency>
61 </dependencies>
62
63 <properties>
64 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
65 <maven.compiler.source>1.8</maven.compiler.source>
66 <maven.compiler.target>1.8</maven.compiler.target>
67 </properties>
68
69 <build>
70 <plugins>
71 <plugin>
72 <groupId>org.jacoco</groupId>
73 <artifactId>jacoco-maven-plugin</artifactId>
74 <version>0.7.4.201502262128</version>
75 <executions>
76 <execution>
77 <id>pre-unit-test</id>
78 <goals>
79 <goal>prepare-agent</goal>
80 </goals>
81 </execution>
82 <execution>
83 <id>post-unit-test</id>
84 <phase>test</phase>
85 <goals>
86 <goal>report</goal>
87 </goals>
88 </execution>
89 </executions>
90 </plugin>
91 </plugins>
92 </build>
93
94 <profiles>
95 <!-- Use OSSRH-directed plugins (see http://central.sonatype.org/pages/apache-maven.html)
96 for deployment to Maven central; e.g. `mvn deploy -P ossrh`-->
97 <profile>
98 <id>ossrh</id>
99 <build>
100 <plugins>
101 <plugin>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-source-plugin</artifactId>
104 <version>2.4</version>
105 <executions>
106 <execution>
107 <id>attach-sources</id>
108 <goals>
109 <goal>jar-no-fork</goal>
110 </goals>
111 </execution>
112 </executions>
113 </plugin>
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-javadoc-plugin</artifactId>
117 <version>2.10.2</version>
118 <configuration>
119 <additionalparam>-Xdoclint:none</additionalparam>
120 </configuration>
121 <executions>
122 <execution>
123 <id>attach-javadocs</id>
124 <goals>
125 <goal>jar</goal>
126 </goals>
127 </execution>
128 </executions>
129 </plugin>
130 <plugin>
131 <groupId>org.sonatype.plugins</groupId>
132 <artifactId>nexus-staging-maven-plugin</artifactId>
133 <version>1.6.3</version>
134 <extensions>true</extensions>
135 <configuration>
136 <serverId>ossrh</serverId>
137 <stagingProfileId>a80137db01223a</stagingProfileId>
138 <nexusUrl>https://oss.sonatype.org/</nexusUrl>
139 <autoReleaseAfterClose>true</autoReleaseAfterClose>
140 </configuration>
141 </plugin>
142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-gpg-plugin</artifactId>
145 <version>1.5</version>
146 <executions>
147 <execution>
148 <id>sign-artifacts</id>
149 <phase>verify</phase>
150 <goals>
151 <goal>sign</goal>
152 </goals>
153 </execution>
154 </executions>
155 </plugin>
156 </plugins>
157 </build>
158 </profile>
159
160 <!-- Use failsafe to run integration tests with an NFD instance; e.g.
161 `mvn verify -Pnfd-integration-tests -Dnfd.ip=10.0.0.1; these are not run by default
162 due to the external NFD dependency -->
163 <profile>
164 <id>nfd-integration-tests</id>
165 <build>
166 <plugins>
167 <plugin>
168 <groupId>org.apache.maven.plugins</groupId>
169 <artifactId>maven-failsafe-plugin</artifactId>
170 <version>2.18.1</version>
171 <executions>
172 <execution>
173 <id>runIntegrationTests</id>
174 <phase>integration-test</phase>
175 <goals>
176 <goal>integration-test</goal>
177 </goals>
178 </execution>
179 <execution>
180 <id>verifyIntegrationTests</id>
181 <phase>verify</phase>
182 <goals>
183 <goal>verify</goal>
184 </goals>
185 </execution>
186 </executions>
187 </plugin>
188 </plugins>
189 </build>
190 </profile>
191
192 <!-- Run `mvn clean javadoc:javadoc scm-publish:publish-scm -P docs` to push
193 Javadoc to Github -->
194 <profile>
195 <id>docs</id>
196 <build>
197 <plugins>
198 <plugin>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-javadoc-plugin</artifactId>
201 <version>2.10.2</version>
202 <configuration>
203 <additionalparam>-Xdoclint:none</additionalparam>
204 </configuration>
205 </plugin>
206 <plugin>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-scm-publish-plugin</artifactId>
209 <version>1.1</version>
210 <configuration>
211 <checkoutDirectory>${project.build.directory}/scmpublish</checkoutDirectory>
212 <checkinComment>Publishing javadoc for ${project.artifactId}:${project.version}</checkinComment>
213 <content>${project.build.directory}/site/apidocs</content>
214 <skipDeletedFiles>true</skipDeletedFiles>
215 <pubScmUrl>scm:git:https://github.com/01org/jndn-utils.git</pubScmUrl>
216 <scmBranch>gh-pages</scmBranch>
217 </configuration>
218 </plugin>
219 </plugins>
220 </build>
221 </profile>
222 </profiles>
andrewsbrown300cd3c2015-04-14 14:25:54 -0700223</project>