Andrew Brown | e1ebd67 | 2015-01-16 14:46:13 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
andrewsbrown | d3465b0 | 2016-06-10 14:34:55 -0700 | [diff] [blame] | 2 | <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 Brown | e1ebd67 | 2015-01-16 14:46:13 -0800 | [diff] [blame] | 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | <groupId>com.intel.jndn.mock</groupId> |
| 6 | <artifactId>jndn-mock</artifactId> |
andrewsbrown | fd78f95 | 2016-06-10 14:34:11 -0700 | [diff] [blame] | 7 | <version>1.0.3</version> |
andrewsbrown | c769319 | 2015-02-23 10:14:11 -0800 | [diff] [blame] | 8 | <name>jndn-mock</name> |
Andrew Brown | ec1b0d0 | 2015-02-21 13:11:42 -0800 | [diff] [blame] | 9 | <description>Tools for testing NDN Java code without using network IO.</description> |
andrewsbrown | c769319 | 2015-02-23 10:14:11 -0800 | [diff] [blame] | 10 | <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 Brown | 5819187 | 2016-02-05 22:16:57 -0800 | [diff] [blame] | 23 | <developer> |
| 24 | <name>Alexander Afanasyev</name> |
| 25 | <email>aa@cs.ucla.edu</email> |
| 26 | </developer> |
andrewsbrown | c769319 | 2015-02-23 10:14:11 -0800 | [diff] [blame] | 27 | </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 Brown | eef9b8e | 2015-01-21 15:26:59 -0800 | [diff] [blame] | 33 | <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 Brown | e1ebd67 | 2015-01-16 14:46:13 -0800 | [diff] [blame] | 38 | <dependencies> |
| 39 | <dependency> |
Andrew Brown | b91e690 | 2015-02-12 09:01:50 -0800 | [diff] [blame] | 40 | <groupId>net.named-data</groupId> |
Andrew Brown | e1ebd67 | 2015-01-16 14:46:13 -0800 | [diff] [blame] | 41 | <artifactId>jndn</artifactId> |
andrewsbrown | fd78f95 | 2016-06-10 14:34:11 -0700 | [diff] [blame] | 42 | <version>0.13</version> |
Andrew Brown | e1ebd67 | 2015-01-16 14:46:13 -0800 | [diff] [blame] | 43 | </dependency> |
Andrew Brown | e1ebd67 | 2015-01-16 14:46:13 -0800 | [diff] [blame] | 44 | <!-- Test dependencies --> |
| 45 | <dependency> |
| 46 | <groupId>junit</groupId> |
| 47 | <artifactId>junit</artifactId> |
Alexander Afanasyev | 8e9330f | 2016-01-25 19:13:40 -0800 | [diff] [blame] | 48 | <version>4.12</version> |
Andrew Brown | e1ebd67 | 2015-01-16 14:46:13 -0800 | [diff] [blame] | 49 | <scope>test</scope> |
| 50 | </dependency> |
| 51 | </dependencies> |
andrewsbrown | be120f4 | 2015-02-23 11:18:58 -0800 | [diff] [blame] | 52 | <profiles> |
andrewsbrown | d3465b0 | 2016-06-10 14:34:55 -0700 | [diff] [blame] | 53 | |
andrewsbrown | 7f86284 | 2016-06-10 16:59:04 -0700 | [diff] [blame] | 54 | <!-- Run `mvn clean package -Pfor-analysis` to send analyzed code to SonarQube --> |
andrewsbrown | 6808d5f | 2016-02-16 15:29:14 -0800 | [diff] [blame] | 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> |
andrewsbrown | 7f86284 | 2016-06-10 16:59:04 -0700 | [diff] [blame] | 70 | <execution> |
| 71 | <id>post-unit-test</id> |
| 72 | <phase>test</phase> |
| 73 | <goals> |
| 74 | <goal>report</goal> |
| 75 | </goals> |
| 76 | </execution> |
andrewsbrown | 6808d5f | 2016-02-16 15:29:14 -0800 | [diff] [blame] | 77 | </executions> |
| 78 | </plugin> |
| 79 | <plugin> |
andrewsbrown | 6808d5f | 2016-02-16 15:29:14 -0800 | [diff] [blame] | 80 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 81 | <artifactId>sonar-maven-plugin</artifactId> |
| 82 | <version>3.0.1</version> |
| 83 | <executions> |
| 84 | <execution> |
andrewsbrown | 7f86284 | 2016-06-10 16:59:04 -0700 | [diff] [blame] | 85 | <id>scan-with-sonar</id> |
| 86 | <phase>prepare-package</phase> |
andrewsbrown | 6808d5f | 2016-02-16 15:29:14 -0800 | [diff] [blame] | 87 | <goals> |
| 88 | <goal>sonar</goal> |
| 89 | </goals> |
| 90 | </execution> |
| 91 | </executions> |
| 92 | </plugin> |
| 93 | </plugins> |
| 94 | </build> |
andrewsbrown | 6808d5f | 2016-02-16 15:29:14 -0800 | [diff] [blame] | 95 | </profile> |
andrewsbrown | d3465b0 | 2016-06-10 14:34:55 -0700 | [diff] [blame] | 96 | |
andrewsbrown | 6808d5f | 2016-02-16 15:29:14 -0800 | [diff] [blame] | 97 | <!-- to deploy to Maven Central: `mvn deploy -P ossrh` --> |
andrewsbrown | be120f4 | 2015-02-23 11:18:58 -0800 | [diff] [blame] | 98 | <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> |
andrewsbrown | 4f2a6ad | 2015-09-16 20:16:53 +0100 | [diff] [blame] | 128 | <configuration> |
| 129 | <additionalparam>-Xdoclint:none</additionalparam> |
| 130 | </configuration> |
andrewsbrown | be120f4 | 2015-02-23 11:18:58 -0800 | [diff] [blame] | 131 | </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 Afanasyev | 8e9330f | 2016-01-25 19:13:40 -0800 | [diff] [blame] | 162 | </project> |