|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
2 | 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" |
| 4 | + child.project.url.inherit.append.path="false"> |
4 | 5 | <modelVersion>4.0.0</modelVersion> |
5 | 6 |
|
6 | 7 | <groupId>com.datadoghq</groupId> |
7 | 8 | <artifactId>dogstatsd-http</artifactId> |
8 | 9 | <packaging>pom</packaging> |
9 | 10 | <name>dogstatsd-http</name> |
10 | | - <version>1.0.0-SNAPSHOT</version> |
| 11 | + <version>${version}</version> |
11 | 12 | <description>Aggregator for the DogStatsD HTTP client modules.</description> |
12 | 13 | <url>https://github.com/DataDog/java-dogstatsd-client</url> |
13 | 14 |
|
14 | 15 | <properties> |
| 16 | + <version>1.0.0-SNAPSHOT</version> |
15 | 17 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 18 | + <maven.compiler.release>7</maven.compiler.release> |
16 | 19 | </properties> |
17 | 20 |
|
18 | 21 | <licenses> |
|
23 | 26 | </license> |
24 | 27 | </licenses> |
25 | 28 |
|
26 | | - <scm> |
| 29 | + <scm child.scm.url.inherit.append.path="false" |
| 30 | + child.scm.connection.inherit.append.path="false" |
| 31 | + child.scm.developerConnection.inherit.append.path="false"> |
27 | 32 | <url>https://github.com/DataDog/java-dogstatsd-client</url> |
28 | 33 | <connection>scm:git:git@github.com:DataDog/java-dogstatsd-client.git</connection> |
29 | 34 | <developerConnection>scm:git:git@github.com:Datadog/java-dogstatsd-client.git</developerConnection> |
|
37 | 42 | </developer> |
38 | 43 | </developers> |
39 | 44 |
|
| 45 | + <build> |
| 46 | + <plugins> |
| 47 | + <plugin> |
| 48 | + <groupId>org.apache.maven.plugins</groupId> |
| 49 | + <artifactId>maven-compiler-plugin</artifactId> |
| 50 | + <version>3.8.1</version> |
| 51 | + <configuration> |
| 52 | + <release>${maven.compiler.release}</release> |
| 53 | + </configuration> |
| 54 | + </plugin> |
| 55 | + <plugin> |
| 56 | + <groupId>org.apache.maven.plugins</groupId> |
| 57 | + <artifactId>maven-surefire-plugin</artifactId> |
| 58 | + <version>2.19</version> |
| 59 | + </plugin> |
| 60 | + <plugin> |
| 61 | + <groupId>org.codehaus.mojo</groupId> |
| 62 | + <artifactId>flatten-maven-plugin</artifactId> |
| 63 | + <version>1.8.0</version> |
| 64 | + <configuration> |
| 65 | + <flattenMode>ossrh</flattenMode> |
| 66 | + </configuration> |
| 67 | + <executions> |
| 68 | + <execution> |
| 69 | + <id>flatten</id> |
| 70 | + <phase>process-resources</phase> |
| 71 | + <goals> |
| 72 | + <goal>flatten</goal> |
| 73 | + </goals> |
| 74 | + </execution> |
| 75 | + <execution> |
| 76 | + <id>flatten.clean</id> |
| 77 | + <goals> |
| 78 | + <goal>clean</goal> |
| 79 | + </goals> |
| 80 | + </execution> |
| 81 | + </executions> |
| 82 | + </plugin> |
| 83 | + </plugins> |
| 84 | + </build> |
| 85 | + |
40 | 86 | <profiles> |
41 | 87 | <profile> |
42 | 88 | <id>spotless</id> |
|
68 | 114 | </plugins> |
69 | 115 | </build> |
70 | 116 | </profile> |
| 117 | + |
| 118 | + <profile> |
| 119 | + <id>deploy-artifacts</id> |
| 120 | + <activation> |
| 121 | + <activeByDefault>false</activeByDefault> |
| 122 | + <property> |
| 123 | + <name>performRelease</name> |
| 124 | + <value>true</value> |
| 125 | + </property> |
| 126 | + </activation> |
| 127 | + <build> |
| 128 | + <plugins> |
| 129 | + <plugin> |
| 130 | + <groupId>org.apache.maven.plugins</groupId> |
| 131 | + <artifactId>maven-source-plugin</artifactId> |
| 132 | + <version>2.4</version> |
| 133 | + <executions> |
| 134 | + <execution> |
| 135 | + <id>attach-sources</id> |
| 136 | + <goals> |
| 137 | + <goal>jar</goal> |
| 138 | + </goals> |
| 139 | + </execution> |
| 140 | + </executions> |
| 141 | + </plugin> |
| 142 | + <plugin> |
| 143 | + <groupId>org.apache.maven.plugins</groupId> |
| 144 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 145 | + <version>3.1.0</version> |
| 146 | + <executions> |
| 147 | + <execution> |
| 148 | + <id>attach-javadocs</id> |
| 149 | + <goals> |
| 150 | + <goal>jar</goal> |
| 151 | + </goals> |
| 152 | + </execution> |
| 153 | + </executions> |
| 154 | + </plugin> |
| 155 | + <plugin> |
| 156 | + <groupId>org.sonatype.central</groupId> |
| 157 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 158 | + <version>0.8.0</version> |
| 159 | + <extensions>true</extensions> |
| 160 | + <configuration> |
| 161 | + <publishingServerId>central</publishingServerId> |
| 162 | + <waitUntil>validated</waitUntil> |
| 163 | + <deploymentName>dogstatsd-http:${project.version}</deploymentName> |
| 164 | + <!-- The aggregator pom is build-time only: children are flattened |
| 165 | + into standalone poms with no parent reference, so it is never |
| 166 | + resolved by consumers and must not be published. --> |
| 167 | + <excludeArtifacts> |
| 168 | + <excludeArtifact>dogstatsd-http</excludeArtifact> |
| 169 | + </excludeArtifacts> |
| 170 | + </configuration> |
| 171 | + </plugin> |
| 172 | + <plugin> |
| 173 | + <groupId>org.apache.maven.plugins</groupId> |
| 174 | + <artifactId>maven-gpg-plugin</artifactId> |
| 175 | + <version>1.6</version> |
| 176 | + <executions> |
| 177 | + <execution> |
| 178 | + <id>sign-artifacts</id> |
| 179 | + <phase>verify</phase> |
| 180 | + <goals> |
| 181 | + <goal>sign</goal> |
| 182 | + </goals> |
| 183 | + <configuration> |
| 184 | + <gpgArguments> |
| 185 | + <arg>--pinentry-mode</arg> |
| 186 | + <arg>loopback</arg> |
| 187 | + </gpgArguments> |
| 188 | + </configuration> |
| 189 | + </execution> |
| 190 | + </executions> |
| 191 | + </plugin> |
| 192 | + </plugins> |
| 193 | + </build> |
| 194 | + </profile> |
71 | 195 | </profiles> |
72 | 196 |
|
73 | 197 | <modules> |
|
0 commit comments