Andrew Brown | 3f2521a | 2015-01-17 22:10:15 -0800 | [diff] [blame] | 1 | <?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 Brown | ac28226 | 2015-01-20 16:14:43 -0800 | [diff] [blame] | 4 | <groupId>com.intel.jndn.utils</groupId> |
Andrew Brown | 3f2521a | 2015-01-17 22:10:15 -0800 | [diff] [blame] | 5 | <artifactId>jndn-utils</artifactId> |
andrewsbrown | 68a399f | 2016-06-10 14:27:59 -0700 | [diff] [blame^] | 6 | <version>1.0.3</version> |
andrewsbrown | 8372eaa | 2015-02-23 10:08:17 -0800 | [diff] [blame] | 7 | <name>jndn-utils</name> |
Andrew Brown | a88e6ef | 2015-01-22 11:43:44 -0800 | [diff] [blame] | 8 | <description>Collection of tools to simplify synchronous and asynchronous data transfer over the NDN network</description> |
andrewsbrown | 8372eaa | 2015-02-23 10:08:17 -0800 | [diff] [blame] | 9 | <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> |
andrewsbrown | 13b11c5 | 2015-07-02 14:23:15 -0700 | [diff] [blame] | 23 | <distributionManagement> |
| 24 | <snapshotRepository> |
| 25 | <id>ossrh</id> |
| 26 | <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 27 | </snapshotRepository> |
| 28 | </distributionManagement> |
andrewsbrown | 8372eaa | 2015-02-23 10:08:17 -0800 | [diff] [blame] | 29 | <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 Brown | 3f2521a | 2015-01-17 22:10:15 -0800 | [diff] [blame] | 34 | <dependencies> |
| 35 | <dependency> |
Andrew Brown | db45705 | 2015-02-21 15:41:58 -0800 | [diff] [blame] | 36 | <groupId>net.named-data</groupId> |
Andrew Brown | 3f2521a | 2015-01-17 22:10:15 -0800 | [diff] [blame] | 37 | <artifactId>jndn</artifactId> |
andrewsbrown | 68a399f | 2016-06-10 14:27:59 -0700 | [diff] [blame^] | 38 | <version>0.13</version> |
Andrew Brown | 3f2521a | 2015-01-17 22:10:15 -0800 | [diff] [blame] | 39 | </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> |
andrewsbrown | 0acf8d8 | 2016-04-22 14:16:18 -0700 | [diff] [blame] | 50 | <version>1.0.2</version> |
Andrew Brown | 3f2521a | 2015-01-17 22:10:15 -0800 | [diff] [blame] | 51 | <scope>test</scope> |
| 52 | </dependency> |
| 53 | </dependencies> |
| 54 | <properties> |
| 55 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
andrewsbrown | 8d5ae29 | 2015-07-01 17:38:22 -0700 | [diff] [blame] | 56 | <maven.compiler.source>1.8</maven.compiler.source> |
| 57 | <maven.compiler.target>1.8</maven.compiler.target> |
Andrew Brown | 3f2521a | 2015-01-17 22:10:15 -0800 | [diff] [blame] | 58 | </properties> |
andrewsbrown | 2e34956 | 2015-04-01 14:26:36 -0700 | [diff] [blame] | 59 | <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> |
andrewsbrown | 7836a5f | 2015-02-23 11:20:10 -0800 | [diff] [blame] | 83 | <profiles> |
andrewsbrown | 68a399f | 2016-06-10 14:27:59 -0700 | [diff] [blame^] | 84 | |
| 85 | <!-- Use OSSRH-directed plugins (see http://central.sonatype.org/pages/apache-maven.html) |
andrewsbrown | 13b11c5 | 2015-07-02 14:23:15 -0700 | [diff] [blame] | 86 | for deployment to Maven central; e.g. `mvn deploy -P ossrh`--> |
andrewsbrown | 7836a5f | 2015-02-23 11:20:10 -0800 | [diff] [blame] | 87 | <profile> |
| 88 | <id>ossrh</id> |
| 89 | <build> |
| 90 | <plugins> |
andrewsbrown | 7836a5f | 2015-02-23 11:20:10 -0800 | [diff] [blame] | 91 | <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> |
andrewsbrown | 13b11c5 | 2015-07-02 14:23:15 -0700 | [diff] [blame] | 107 | <version>2.10.2</version> |
| 108 | <configuration> |
| 109 | <additionalparam>-Xdoclint:none</additionalparam> |
| 110 | </configuration> |
andrewsbrown | 7836a5f | 2015-02-23 11:20:10 -0800 | [diff] [blame] | 111 | <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> |
andrewsbrown | 474f240 | 2015-04-07 09:11:30 -0700 | [diff] [blame] | 147 | </build> |
| 148 | </profile> |
andrewsbrown | 68a399f | 2016-06-10 14:27:59 -0700 | [diff] [blame^] | 149 | |
andrewsbrown | 13b11c5 | 2015-07-02 14:23:15 -0700 | [diff] [blame] | 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> |
andrewsbrown | 68a399f | 2016-06-10 14:27:59 -0700 | [diff] [blame^] | 179 | </build> |
andrewsbrown | 13b11c5 | 2015-07-02 14:23:15 -0700 | [diff] [blame] | 180 | </profile> |
andrewsbrown | 474f240 | 2015-04-07 09:11:30 -0700 | [diff] [blame] | 181 | |
andrewsbrown | 13b11c5 | 2015-07-02 14:23:15 -0700 | [diff] [blame] | 182 | <!-- Run `mvn clean javadoc:javadoc scm-publish:publish-scm -P docs` to push |
andrewsbrown | 474f240 | 2015-04-07 09:11:30 -0700 | [diff] [blame] | 183 | 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> |
andrewsbrown | 13b11c5 | 2015-07-02 14:23:15 -0700 | [diff] [blame] | 192 | <configuration> |
| 193 | <additionalparam>-Xdoclint:none</additionalparam> |
| 194 | </configuration> |
andrewsbrown | 474f240 | 2015-04-07 09:11:30 -0700 | [diff] [blame] | 195 | </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> |
andrewsbrown | 7836a5f | 2015-02-23 11:20:10 -0800 | [diff] [blame] | 211 | </profile> |
| 212 | </profiles> |
andrewsbrown | 300cd3c | 2015-04-14 14:25:54 -0700 | [diff] [blame] | 213 | </project> |