blob: 03797a7c394a3b4055f95433997fbf23023eba2d [file] [log] [blame]
Andrew Browne1ebd672015-01-16 14:46:13 -08001<?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>
4 <groupId>com.intel.jndn.mock</groupId>
5 <artifactId>jndn-mock</artifactId>
andrewsbrownb1935c92016-02-16 19:01:03 -08006 <version>1.0.1</version>
andrewsbrownc7693192015-02-23 10:14:11 -08007 <name>jndn-mock</name>
Andrew Brownec1b0d02015-02-21 13:11:42 -08008 <description>Tools for testing NDN Java code without using network IO.</description>
andrewsbrownc7693192015-02-23 10:14:11 -08009 <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>
Andrew Brown58191872016-02-05 22:16:57 -080022 <developer>
23 <name>Alexander Afanasyev</name>
24 <email>aa@cs.ucla.edu</email>
25 </developer>
andrewsbrownc7693192015-02-23 10:14:11 -080026 </developers>
27 <scm>
28 <url>https://github.com/01org/jndn-mock</url>
29 <connection>scm:git:git@github.com:01org/jndn-mock.git</connection>
30 <developerConnection>scm:git:git@github.com:01org/jndn-mock.git</developerConnection>
31 </scm>
Andrew Browneef9b8e2015-01-21 15:26:59 -080032 <properties>
33 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34 <maven.compiler.source>1.7</maven.compiler.source>
35 <maven.compiler.target>1.7</maven.compiler.target>
36 </properties>
Andrew Browne1ebd672015-01-16 14:46:13 -080037 <dependencies>
38 <dependency>
Andrew Brownb91e6902015-02-12 09:01:50 -080039 <groupId>net.named-data</groupId>
Andrew Browne1ebd672015-01-16 14:46:13 -080040 <artifactId>jndn</artifactId>
andrewsbrown6d700282016-02-16 18:29:46 -080041 <version>0.10</version>
Andrew Browne1ebd672015-01-16 14:46:13 -080042 </dependency>
Andrew Browne1ebd672015-01-16 14:46:13 -080043 <!-- Test dependencies -->
44 <dependency>
45 <groupId>junit</groupId>
46 <artifactId>junit</artifactId>
Alexander Afanasyev8e9330f2016-01-25 19:13:40 -080047 <version>4.12</version>
Andrew Browne1ebd672015-01-16 14:46:13 -080048 <scope>test</scope>
49 </dependency>
50 </dependencies>
andrewsbrownbe120f42015-02-23 11:18:58 -080051 <profiles>
andrewsbrown6808d5f2016-02-16 15:29:14 -080052
53 <!-- for scanning code using Sonarqube: `mvn test -P sonarqube` -->
54 <profile>
55 <id>sonarqube</id>
56 <build>
57 <plugins>
58 <plugin>
59 <groupId>org.jacoco</groupId>
60 <artifactId>jacoco-maven-plugin</artifactId>
61 <version>0.7.5.201505241946</version>
62 <executions>
63 <execution>
64 <id>pre-unit-test</id>
65 <goals>
66 <goal>prepare-agent</goal>
67 </goals>
68 </execution>
69 </executions>
70 </plugin>
71 <plugin>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-surefire-plugin</artifactId>
74 <version>2.19.1</version>
75 <configuration>
76 <properties>
77 <property>
78 <name>listener</name>
79 <value>org.sonar.java.jacoco.JUnitListener</value>
80 </property>
81 </properties>
82 </configuration>
83 </plugin>
84 <plugin>
85 <groupId>org.sonarsource.scanner.maven</groupId>
86 <artifactId>sonar-maven-plugin</artifactId>
87 <version>3.0.1</version>
88 <executions>
89 <execution>
90 <phase>test</phase>
91 <goals>
92 <goal>sonar</goal>
93 </goals>
94 </execution>
95 </executions>
96 </plugin>
97 </plugins>
98 </build>
99 <dependencies>
100 <dependency>
101 <groupId>org.codehaus.sonar-plugins.java</groupId>
102 <artifactId>sonar-jacoco-listeners</artifactId>
103 <version>3.2</version>
104 <scope>test</scope>
105 </dependency>
106 </dependencies>
107 </profile>
108
109 <!-- to deploy to Maven Central: `mvn deploy -P ossrh` -->
andrewsbrownbe120f42015-02-23 11:18:58 -0800110 <profile>
111 <id>ossrh</id>
112 <build>
113 <plugins>
114 <!-- OSSRH-directed plugins (see http://central.sonatype.org/pages/apache-maven.html) -->
115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-source-plugin</artifactId>
118 <version>2.4</version>
119 <executions>
120 <execution>
121 <id>attach-sources</id>
122 <goals>
123 <goal>jar-no-fork</goal>
124 </goals>
125 </execution>
126 </executions>
127 </plugin>
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-javadoc-plugin</artifactId>
131 <version>2.10.1</version>
132 <executions>
133 <execution>
134 <id>attach-javadocs</id>
135 <goals>
136 <goal>jar</goal>
137 </goals>
138 </execution>
139 </executions>
andrewsbrown4f2a6ad2015-09-16 20:16:53 +0100140 <configuration>
141 <additionalparam>-Xdoclint:none</additionalparam>
142 </configuration>
andrewsbrownbe120f42015-02-23 11:18:58 -0800143 </plugin>
144 <plugin>
145 <groupId>org.sonatype.plugins</groupId>
146 <artifactId>nexus-staging-maven-plugin</artifactId>
147 <version>1.6.3</version>
148 <extensions>true</extensions>
149 <configuration>
150 <serverId>ossrh</serverId>
151 <stagingProfileId>a80137db01223a</stagingProfileId>
152 <nexusUrl>https://oss.sonatype.org/</nexusUrl>
153 <autoReleaseAfterClose>true</autoReleaseAfterClose>
154 </configuration>
155 </plugin>
156 <plugin>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-gpg-plugin</artifactId>
159 <version>1.5</version>
160 <executions>
161 <execution>
162 <id>sign-artifacts</id>
163 <phase>verify</phase>
164 <goals>
165 <goal>sign</goal>
166 </goals>
167 </execution>
168 </executions>
169 </plugin>
170 </plugins>
171 </build>
172 </profile>
173 </profiles>
Alexander Afanasyev8e9330f2016-01-25 19:13:40 -0800174</project>