Andrew Brown | 3f2521a | 2015-01-17 22:10:15 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Andrew Brown | 454d89f | 2016-09-02 17:24:21 -0700 | [diff] [blame] | 2 | <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" |
andrewsbrown | 249ebb3 | 2016-06-10 14:28:55 -0700 | [diff] [blame] | 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> |
andrewsbrown | 68a399f | 2016-06-10 14:27:59 -0700 | [diff] [blame] | 5 | |
andrewsbrown | 249ebb3 | 2016-06-10 14:28:55 -0700 | [diff] [blame] | 6 | <groupId>com.intel.jndn.utils</groupId> |
| 7 | <artifactId>jndn-utils</artifactId> |
Andrew Brown | 9e011a3 | 2016-08-29 14:52:15 -0700 | [diff] [blame] | 8 | <version>1.0.4</version> |
Andrew Brown | 3301c0d | 2016-09-07 16:01:09 -0700 | [diff] [blame^] | 9 | <name>jndn-utils</name> |
andrewsbrown | 249ebb3 | 2016-06-10 14:28:55 -0700 | [diff] [blame] | 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> |
andrewsbrown | 68a399f | 2016-06-10 14:27:59 -0700 | [diff] [blame] | 14 | |
andrewsbrown | 249ebb3 | 2016-06-10 14:28:55 -0700 | [diff] [blame] | 15 | <licenses> |
| 16 | <license> |
Andrew Brown | 3301c0d | 2016-09-07 16:01:09 -0700 | [diff] [blame^] | 17 | <name>LGPL v3</name> |
andrewsbrown | 249ebb3 | 2016-06-10 14:28:55 -0700 | [diff] [blame] | 18 | <url>https://www.gnu.org/licenses/lgpl.html</url> |
| 19 | </license> |
| 20 | </licenses> |
andrewsbrown | 474f240 | 2015-04-07 09:11:30 -0700 | [diff] [blame] | 21 | |
andrewsbrown | 249ebb3 | 2016-06-10 14:28:55 -0700 | [diff] [blame] | 22 | <developers> |
| 23 | <developer> |
Andrew Brown | 3301c0d | 2016-09-07 16:01:09 -0700 | [diff] [blame^] | 24 | <name>Andrew Brown</name> |
andrewsbrown | 249ebb3 | 2016-06-10 14:28:55 -0700 | [diff] [blame] | 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 Brown | b224390 | 2016-08-24 16:48:49 -0700 | [diff] [blame] | 58 | <version>1.1.0</version> |
andrewsbrown | 249ebb3 | 2016-06-10 14:28:55 -0700 | [diff] [blame] | 59 | <scope>test</scope> |
| 60 | </dependency> |
Andrew Brown | 3301c0d | 2016-09-07 16:01:09 -0700 | [diff] [blame^] | 61 | <dependency> |
| 62 | <groupId>org.mockito</groupId> |
| 63 | <artifactId>mockito-core</artifactId> |
| 64 | <version>1.10.19</version> |
| 65 | <scope>test</scope> |
| 66 | </dependency> |
andrewsbrown | 249ebb3 | 2016-06-10 14:28:55 -0700 | [diff] [blame] | 67 | </dependencies> |
| 68 | |
| 69 | <properties> |
| 70 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 71 | <maven.compiler.source>1.8</maven.compiler.source> |
| 72 | <maven.compiler.target>1.8</maven.compiler.target> |
| 73 | </properties> |
| 74 | |
andrewsbrown | 249ebb3 | 2016-06-10 14:28:55 -0700 | [diff] [blame] | 75 | <profiles> |
Andrew Brown | 454d89f | 2016-09-02 17:24:21 -0700 | [diff] [blame] | 76 | <!-- Run `mvn clean package -P sonarqube` to send analyzed code to SonarQube --> |
| 77 | <profile> |
| 78 | <id>sonarqube</id> |
| 79 | <build> |
| 80 | <plugins> |
| 81 | <plugin> |
| 82 | <groupId>org.jacoco</groupId> |
| 83 | <artifactId>jacoco-maven-plugin</artifactId> |
| 84 | <version>0.7.7.201606060606</version> |
| 85 | <executions> |
| 86 | <execution> |
| 87 | <id>pre-unit-test</id> |
| 88 | <goals> |
| 89 | <goal>prepare-agent</goal> |
| 90 | </goals> |
| 91 | </execution> |
| 92 | <execution> |
| 93 | <id>post-unit-test</id> |
| 94 | <phase>test</phase> |
| 95 | <goals> |
| 96 | <goal>report</goal> |
| 97 | </goals> |
| 98 | </execution> |
| 99 | </executions> |
| 100 | </plugin> |
| 101 | <plugin> |
| 102 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 103 | <artifactId>sonar-maven-plugin</artifactId> |
| 104 | <version>3.0.2</version> |
| 105 | <executions> |
| 106 | <execution> |
| 107 | <id>scan-with-sonar</id> |
| 108 | <phase>prepare-package</phase> |
| 109 | <goals> |
| 110 | <goal>sonar</goal> |
| 111 | </goals> |
| 112 | </execution> |
| 113 | </executions> |
| 114 | </plugin> |
| 115 | </plugins> |
| 116 | </build> |
| 117 | </profile> |
| 118 | |
andrewsbrown | 249ebb3 | 2016-06-10 14:28:55 -0700 | [diff] [blame] | 119 | <!-- Use OSSRH-directed plugins (see http://central.sonatype.org/pages/apache-maven.html) |
| 120 | for deployment to Maven central; e.g. `mvn deploy -P ossrh`--> |
| 121 | <profile> |
| 122 | <id>ossrh</id> |
| 123 | <build> |
| 124 | <plugins> |
| 125 | <plugin> |
| 126 | <groupId>org.apache.maven.plugins</groupId> |
| 127 | <artifactId>maven-source-plugin</artifactId> |
| 128 | <version>2.4</version> |
| 129 | <executions> |
| 130 | <execution> |
| 131 | <id>attach-sources</id> |
| 132 | <goals> |
| 133 | <goal>jar-no-fork</goal> |
| 134 | </goals> |
| 135 | </execution> |
| 136 | </executions> |
| 137 | </plugin> |
| 138 | <plugin> |
| 139 | <groupId>org.apache.maven.plugins</groupId> |
| 140 | <artifactId>maven-javadoc-plugin</artifactId> |
| 141 | <version>2.10.2</version> |
| 142 | <configuration> |
| 143 | <additionalparam>-Xdoclint:none</additionalparam> |
| 144 | </configuration> |
| 145 | <executions> |
| 146 | <execution> |
| 147 | <id>attach-javadocs</id> |
| 148 | <goals> |
| 149 | <goal>jar</goal> |
| 150 | </goals> |
| 151 | </execution> |
| 152 | </executions> |
| 153 | </plugin> |
| 154 | <plugin> |
| 155 | <groupId>org.sonatype.plugins</groupId> |
| 156 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 157 | <version>1.6.3</version> |
| 158 | <extensions>true</extensions> |
| 159 | <configuration> |
| 160 | <serverId>ossrh</serverId> |
| 161 | <stagingProfileId>a80137db01223a</stagingProfileId> |
| 162 | <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 163 | <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 164 | </configuration> |
| 165 | </plugin> |
| 166 | <plugin> |
| 167 | <groupId>org.apache.maven.plugins</groupId> |
| 168 | <artifactId>maven-gpg-plugin</artifactId> |
| 169 | <version>1.5</version> |
| 170 | <executions> |
| 171 | <execution> |
| 172 | <id>sign-artifacts</id> |
| 173 | <phase>verify</phase> |
| 174 | <goals> |
| 175 | <goal>sign</goal> |
| 176 | </goals> |
| 177 | </execution> |
| 178 | </executions> |
| 179 | </plugin> |
| 180 | </plugins> |
| 181 | </build> |
| 182 | </profile> |
| 183 | |
| 184 | <!-- Use failsafe to run integration tests with an NFD instance; e.g. |
| 185 | `mvn verify -Pnfd-integration-tests -Dnfd.ip=10.0.0.1; these are not run by default |
| 186 | due to the external NFD dependency --> |
| 187 | <profile> |
| 188 | <id>nfd-integration-tests</id> |
| 189 | <build> |
| 190 | <plugins> |
| 191 | <plugin> |
| 192 | <groupId>org.apache.maven.plugins</groupId> |
| 193 | <artifactId>maven-failsafe-plugin</artifactId> |
| 194 | <version>2.18.1</version> |
| 195 | <executions> |
| 196 | <execution> |
| 197 | <id>runIntegrationTests</id> |
| 198 | <phase>integration-test</phase> |
| 199 | <goals> |
| 200 | <goal>integration-test</goal> |
| 201 | </goals> |
| 202 | </execution> |
| 203 | <execution> |
| 204 | <id>verifyIntegrationTests</id> |
| 205 | <phase>verify</phase> |
| 206 | <goals> |
| 207 | <goal>verify</goal> |
| 208 | </goals> |
| 209 | </execution> |
| 210 | </executions> |
| 211 | </plugin> |
| 212 | </plugins> |
| 213 | </build> |
| 214 | </profile> |
| 215 | |
| 216 | <!-- Run `mvn clean javadoc:javadoc scm-publish:publish-scm -P docs` to push |
| 217 | Javadoc to Github --> |
| 218 | <profile> |
| 219 | <id>docs</id> |
| 220 | <build> |
| 221 | <plugins> |
| 222 | <plugin> |
| 223 | <groupId>org.apache.maven.plugins</groupId> |
| 224 | <artifactId>maven-javadoc-plugin</artifactId> |
| 225 | <version>2.10.2</version> |
| 226 | <configuration> |
| 227 | <additionalparam>-Xdoclint:none</additionalparam> |
| 228 | </configuration> |
| 229 | </plugin> |
| 230 | <plugin> |
| 231 | <groupId>org.apache.maven.plugins</groupId> |
| 232 | <artifactId>maven-scm-publish-plugin</artifactId> |
| 233 | <version>1.1</version> |
| 234 | <configuration> |
| 235 | <checkoutDirectory>${project.build.directory}/scmpublish</checkoutDirectory> |
| 236 | <checkinComment>Publishing javadoc for ${project.artifactId}:${project.version}</checkinComment> |
| 237 | <content>${project.build.directory}/site/apidocs</content> |
| 238 | <skipDeletedFiles>true</skipDeletedFiles> |
| 239 | <pubScmUrl>scm:git:https://github.com/01org/jndn-utils.git</pubScmUrl> |
| 240 | <scmBranch>gh-pages</scmBranch> |
| 241 | </configuration> |
| 242 | </plugin> |
| 243 | </plugins> |
| 244 | </build> |
| 245 | </profile> |
| 246 | </profiles> |
andrewsbrown | 300cd3c | 2015-04-14 14:25:54 -0700 | [diff] [blame] | 247 | </project> |