blob: c92da382bd09275acb1dc697a96db161914ea928 [file] [log] [blame]
Andrew Browne1ebd672015-01-16 14:46:13 -08001<?xml version="1.0" encoding="UTF-8"?>
andrewsbrownd3465b02016-06-10 14:34: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">
Andrew Browne1ebd672015-01-16 14:46:13 -08004 <modelVersion>4.0.0</modelVersion>
5 <groupId>com.intel.jndn.mock</groupId>
6 <artifactId>jndn-mock</artifactId>
andrewsbrownfd78f952016-06-10 14:34:11 -07007 <version>1.0.3</version>
andrewsbrownc7693192015-02-23 10:14:11 -08008 <name>jndn-mock</name>
Andrew Brownec1b0d02015-02-21 13:11:42 -08009 <description>Tools for testing NDN Java code without using network IO.</description>
andrewsbrownc7693192015-02-23 10:14:11 -080010 <url>https://github.com/01org/jndn-utils</url>
11 <packaging>jar</packaging>
12 <licenses>
13 <license>
14 <name>LGPL v3</name>
15 <url>https://www.gnu.org/licenses/lgpl.html</url>
16 </license>
17 </licenses>
18 <developers>
19 <developer>
20 <name>Andrew Brown</name>
21 <url>http://github.com/andrewsbrown</url>
22 </developer>
Andrew Brown58191872016-02-05 22:16:57 -080023 <developer>
24 <name>Alexander Afanasyev</name>
25 <email>aa@cs.ucla.edu</email>
26 </developer>
andrewsbrownc7693192015-02-23 10:14:11 -080027 </developers>
28 <scm>
29 <url>https://github.com/01org/jndn-mock</url>
30 <connection>scm:git:git@github.com:01org/jndn-mock.git</connection>
31 <developerConnection>scm:git:git@github.com:01org/jndn-mock.git</developerConnection>
32 </scm>
Andrew Browneef9b8e2015-01-21 15:26:59 -080033 <properties>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 <maven.compiler.source>1.7</maven.compiler.source>
36 <maven.compiler.target>1.7</maven.compiler.target>
37 </properties>
Andrew Browne1ebd672015-01-16 14:46:13 -080038 <dependencies>
39 <dependency>
Andrew Brownb91e6902015-02-12 09:01:50 -080040 <groupId>net.named-data</groupId>
Andrew Browne1ebd672015-01-16 14:46:13 -080041 <artifactId>jndn</artifactId>
andrewsbrownfd78f952016-06-10 14:34:11 -070042 <version>0.13</version>
Andrew Browne1ebd672015-01-16 14:46:13 -080043 </dependency>
Andrew Browne1ebd672015-01-16 14:46:13 -080044 <!-- Test dependencies -->
45 <dependency>
46 <groupId>junit</groupId>
47 <artifactId>junit</artifactId>
Alexander Afanasyev8e9330f2016-01-25 19:13:40 -080048 <version>4.12</version>
Andrew Browne1ebd672015-01-16 14:46:13 -080049 <scope>test</scope>
50 </dependency>
51 </dependencies>
andrewsbrownbe120f42015-02-23 11:18:58 -080052 <profiles>
andrewsbrownd3465b02016-06-10 14:34:55 -070053
andrewsbrown7f862842016-06-10 16:59:04 -070054 <!-- Run `mvn clean package -Pfor-analysis` to send analyzed code to SonarQube -->
andrewsbrown6808d5f2016-02-16 15:29:14 -080055 <profile>
56 <id>sonarqube</id>
57 <build>
58 <plugins>
59 <plugin>
60 <groupId>org.jacoco</groupId>
61 <artifactId>jacoco-maven-plugin</artifactId>
62 <version>0.7.5.201505241946</version>
63 <executions>
64 <execution>
65 <id>pre-unit-test</id>
66 <goals>
67 <goal>prepare-agent</goal>
68 </goals>
69 </execution>
andrewsbrown7f862842016-06-10 16:59:04 -070070 <execution>
71 <id>post-unit-test</id>
72 <phase>test</phase>
73 <goals>
74 <goal>report</goal>
75 </goals>
76 </execution>
andrewsbrown6808d5f2016-02-16 15:29:14 -080077 </executions>
78 </plugin>
79 <plugin>
andrewsbrown6808d5f2016-02-16 15:29:14 -080080 <groupId>org.sonarsource.scanner.maven</groupId>
81 <artifactId>sonar-maven-plugin</artifactId>
82 <version>3.0.1</version>
83 <executions>
84 <execution>
andrewsbrown7f862842016-06-10 16:59:04 -070085 <id>scan-with-sonar</id>
86 <phase>prepare-package</phase>
andrewsbrown6808d5f2016-02-16 15:29:14 -080087 <goals>
88 <goal>sonar</goal>
89 </goals>
90 </execution>
91 </executions>
92 </plugin>
93 </plugins>
94 </build>
andrewsbrown6808d5f2016-02-16 15:29:14 -080095 </profile>
andrewsbrownd3465b02016-06-10 14:34:55 -070096
andrewsbrown6808d5f2016-02-16 15:29:14 -080097 <!-- to deploy to Maven Central: `mvn deploy -P ossrh` -->
andrewsbrownbe120f42015-02-23 11:18:58 -080098 <profile>
99 <id>ossrh</id>
100 <build>
101 <plugins>
102 <!-- OSSRH-directed plugins (see http://central.sonatype.org/pages/apache-maven.html) -->
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-source-plugin</artifactId>
106 <version>2.4</version>
107 <executions>
108 <execution>
109 <id>attach-sources</id>
110 <goals>
111 <goal>jar-no-fork</goal>
112 </goals>
113 </execution>
114 </executions>
115 </plugin>
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-javadoc-plugin</artifactId>
119 <version>2.10.1</version>
120 <executions>
121 <execution>
122 <id>attach-javadocs</id>
123 <goals>
124 <goal>jar</goal>
125 </goals>
126 </execution>
127 </executions>
andrewsbrown4f2a6ad2015-09-16 20:16:53 +0100128 <configuration>
129 <additionalparam>-Xdoclint:none</additionalparam>
130 </configuration>
andrewsbrownbe120f42015-02-23 11:18:58 -0800131 </plugin>
132 <plugin>
133 <groupId>org.sonatype.plugins</groupId>
134 <artifactId>nexus-staging-maven-plugin</artifactId>
135 <version>1.6.3</version>
136 <extensions>true</extensions>
137 <configuration>
138 <serverId>ossrh</serverId>
139 <stagingProfileId>a80137db01223a</stagingProfileId>
140 <nexusUrl>https://oss.sonatype.org/</nexusUrl>
141 <autoReleaseAfterClose>true</autoReleaseAfterClose>
142 </configuration>
143 </plugin>
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-gpg-plugin</artifactId>
147 <version>1.5</version>
148 <executions>
149 <execution>
150 <id>sign-artifacts</id>
151 <phase>verify</phase>
152 <goals>
153 <goal>sign</goal>
154 </goals>
155 </execution>
156 </executions>
157 </plugin>
158 </plugins>
159 </build>
160 </profile>
161 </profiles>
Alexander Afanasyev8e9330f2016-01-25 19:13:40 -0800162</project>