|
14 | 14 | <description> |
15 | 15 | Java idiomatic client for metrics monitoring, with Stackdriver backend as an example. |
16 | 16 | </description> |
| 17 | + <url>https://github.com/google/java-monitoring-client-library</url> |
17 | 18 |
|
18 | 19 | <properties> |
19 | 20 | <maven.compiler.source>1.8</maven.compiler.source> |
20 | 21 | <maven.compiler.target>1.8</maven.compiler.target> |
21 | 22 | </properties> |
22 | 23 |
|
| 24 | + <licenses> |
| 25 | + <license> |
| 26 | + <name>The Apache Software License, Version 2.0</name> |
| 27 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 28 | + </license> |
| 29 | + </licenses> |
| 30 | + |
| 31 | + <developers> |
| 32 | + <developer> |
| 33 | + <name>Greg Shikhman</name> |
| 34 | + <email>shikhman@google.com</email> |
| 35 | + <organization>Google</organization> |
| 36 | + <organizationUrl>http://google.com</organizationUrl> |
| 37 | + </developer> |
| 38 | + <developer> |
| 39 | + <name>Lai Jiang</name> |
| 40 | + <email>jianglai@google.com</email> |
| 41 | + <organization>Google</organization> |
| 42 | + <organizationUrl>http://google.com</organizationUrl> |
| 43 | + </developer> |
| 44 | + </developers> |
| 45 | + |
| 46 | + <scm> |
| 47 | + <connection>scm:git:https://github.com/google/java-monitoring-client-library.git</connection> |
| 48 | + <developerConnection>scm:git:git@github.com:google/java-monitoring-client-library.git |
| 49 | + </developerConnection> |
| 50 | + <url>https://github.com/google/java-monitoring-client-library</url> |
| 51 | + </scm> |
| 52 | + |
| 53 | + <distributionManagement> |
| 54 | + <snapshotRepository> |
| 55 | + <id>sonatype-nexus-staging</id> |
| 56 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 57 | + </snapshotRepository> |
| 58 | + <repository> |
| 59 | + <id>sonatype-nexus-staging</id> |
| 60 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 61 | + </repository> |
| 62 | + </distributionManagement> |
| 63 | + |
23 | 64 | <modules> |
24 | 65 | <module>metrics</module> |
25 | 66 | <module>contrib</module> |
|
28 | 69 | </modules> |
29 | 70 |
|
30 | 71 | <build> |
31 | | - <pluginManagement> |
32 | | - <plugins> |
33 | | - <plugin> |
34 | | - <groupId>org.apache.maven.plugins</groupId> |
35 | | - <artifactId>maven-surefire-plugin</artifactId> |
36 | | - <version>2.20.1</version> |
37 | | - </plugin> |
38 | | - <plugin> |
39 | | - <groupId>org.apache.maven.plugins</groupId> |
40 | | - <artifactId>maven-source-plugin</artifactId> |
41 | | - <executions> |
42 | | - <execution> |
43 | | - <id>attach-sources</id> |
44 | | - <goals> |
45 | | - <goal>jar</goal> |
46 | | - </goals> |
47 | | - </execution> |
48 | | - </executions> |
49 | | - </plugin> |
50 | | - <plugin> |
51 | | - <groupId>org.apache.maven.plugins</groupId> |
52 | | - <artifactId>maven-javadoc-plugin</artifactId> |
53 | | - <executions> |
54 | | - <execution> |
55 | | - <id>attach-javadocs</id> |
56 | | - <goals> |
57 | | - <goal>jar</goal> |
58 | | - </goals> |
59 | | - </execution> |
60 | | - </executions> |
61 | | - </plugin> |
62 | | - </plugins> |
63 | | - </pluginManagement> |
| 72 | + <plugins> |
| 73 | + <plugin> |
| 74 | + <groupId>org.apache.maven.plugins</groupId> |
| 75 | + <artifactId>maven-surefire-plugin</artifactId> |
| 76 | + </plugin> |
| 77 | + <plugin> |
| 78 | + <groupId>org.apache.maven.plugins</groupId> |
| 79 | + <artifactId>maven-source-plugin</artifactId> |
| 80 | + <executions> |
| 81 | + <execution> |
| 82 | + <id>attach-sources</id> |
| 83 | + <goals> |
| 84 | + <goal>jar-no-fork</goal> |
| 85 | + </goals> |
| 86 | + </execution> |
| 87 | + </executions> |
| 88 | + </plugin> |
| 89 | + <plugin> |
| 90 | + <groupId>org.apache.maven.plugins</groupId> |
| 91 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 92 | + <configuration> |
| 93 | + <additionalOptions> |
| 94 | + <additionalOption>-Xdoclint:all,-missing</additionalOption> |
| 95 | + </additionalOptions> |
| 96 | + </configuration> |
| 97 | + <executions> |
| 98 | + <execution> |
| 99 | + <id>attach-javadocs</id> |
| 100 | + <goals> |
| 101 | + <goal>jar</goal> |
| 102 | + </goals> |
| 103 | + </execution> |
| 104 | + </executions> |
| 105 | + </plugin> |
| 106 | + </plugins> |
64 | 107 | </build> |
| 108 | + |
| 109 | + <profiles> |
| 110 | + <profile> |
| 111 | + <id>release</id> |
| 112 | + <build> |
| 113 | + <plugins> |
| 114 | + <plugin> |
| 115 | + <groupId>org.apache.maven.plugins</groupId> |
| 116 | + <artifactId>maven-gpg-plugin</artifactId> |
| 117 | + <executions> |
| 118 | + <execution> |
| 119 | + <id>sign-artifacts</id> |
| 120 | + <phase>verify</phase> |
| 121 | + <goals> |
| 122 | + <goal>sign</goal> |
| 123 | + </goals> |
| 124 | + </execution> |
| 125 | + </executions> |
| 126 | + </plugin> |
| 127 | + <plugin> |
| 128 | + <groupId>org.sonatype.plugins</groupId> |
| 129 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 130 | + <extensions>true</extensions> |
| 131 | + <configuration> |
| 132 | + <serverId>sonatype-nexus-staging</serverId> |
| 133 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 134 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 135 | + </configuration> |
| 136 | + </plugin> |
| 137 | + </plugins> |
| 138 | + </build> |
| 139 | + </profile> |
| 140 | + </profiles> |
65 | 141 | </project> |
0 commit comments