blob: 6944136aa07a8b12c0e089cca8a9922114036879 [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
andrewsbrown6808d5f2016-02-16 15:29:14 -080054 <!-- for scanning code using Sonarqube: `mvn test -P sonarqube` -->
55 <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>
70 </executions>
71 </plugin>
72 <plugin>
73 <groupId>org.apache.maven.plugins</groupId>
74 <artifactId>maven-surefire-plugin</artifactId>
75 <version>2.19.1</version>
76 <configuration>
77 <properties>
78 <property>
79 <name>listener</name>
80 <value>org.sonar.java.jacoco.JUnitListener</value>
81 </property>
82 </properties>
83 </configuration>
84 </plugin>
85 <plugin>
86 <groupId>org.sonarsource.scanner.maven</groupId>
87 <artifactId>sonar-maven-plugin</artifactId>
88 <version>3.0.1</version>
89 <executions>
90 <execution>
91 <phase>test</phase>
92 <goals>
93 <goal>sonar</goal>
94 </goals>
95 </execution>
96 </executions>
97 </plugin>
98 </plugins>
99 </build>
100 <dependencies>
101 <dependency>
102 <groupId>org.codehaus.sonar-plugins.java</groupId>
103 <artifactId>sonar-jacoco-listeners</artifactId>
104 <version>3.2</version>
105 <scope>test</scope>
106 </dependency>
107 </dependencies>
108 </profile>
andrewsbrownd3465b02016-06-10 14:34:55 -0700109
andrewsbrown6808d5f2016-02-16 15:29:14 -0800110 <!-- to deploy to Maven Central: `mvn deploy -P ossrh` -->
andrewsbrownbe120f42015-02-23 11:18:58 -0800111 <profile>
112 <id>ossrh</id>
113 <build>
114 <plugins>
115 <!-- OSSRH-directed plugins (see http://central.sonatype.org/pages/apache-maven.html) -->
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-source-plugin</artifactId>
119 <version>2.4</version>
120 <executions>
121 <execution>
122 <id>attach-sources</id>
123 <goals>
124 <goal>jar-no-fork</goal>
125 </goals>
126 </execution>
127 </executions>
128 </plugin>
129 <plugin>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-javadoc-plugin</artifactId>
132 <version>2.10.1</version>
133 <executions>
134 <execution>
135 <id>attach-javadocs</id>
136 <goals>
137 <goal>jar</goal>
138 </goals>
139 </execution>
140 </executions>
andrewsbrown4f2a6ad2015-09-16 20:16:53 +0100141 <configuration>
142 <additionalparam>-Xdoclint:none</additionalparam>
143 </configuration>
andrewsbrownbe120f42015-02-23 11:18:58 -0800144 </plugin>
145 <plugin>
146 <groupId>org.sonatype.plugins</groupId>
147 <artifactId>nexus-staging-maven-plugin</artifactId>
148 <version>1.6.3</version>
149 <extensions>true</extensions>
150 <configuration>
151 <serverId>ossrh</serverId>
152 <stagingProfileId>a80137db01223a</stagingProfileId>
153 <nexusUrl>https://oss.sonatype.org/</nexusUrl>
154 <autoReleaseAfterClose>true</autoReleaseAfterClose>
155 </configuration>
156 </plugin>
157 <plugin>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-gpg-plugin</artifactId>
160 <version>1.5</version>
161 <executions>
162 <execution>
163 <id>sign-artifacts</id>
164 <phase>verify</phase>
165 <goals>
166 <goal>sign</goal>
167 </goals>
168 </execution>
169 </executions>
170 </plugin>
171 </plugins>
172 </build>
173 </profile>
174 </profiles>
Alexander Afanasyev8e9330f2016-01-25 19:13:40 -0800175</project>