|
7 | 7 | <version>3.0.1</version> |
8 | 8 | <packaging>jar</packaging> |
9 | 9 |
|
10 | | - <name>mcclient</name> |
11 | | - <url>http://maven.apache.org</url> |
| 10 | + <name>${project.groupId}:${project.artifactId}</name> |
| 11 | + <description>Java SDK for Cloudpods API</description> |
| 12 | + <url>https://github.com/yunionio/mcclient_java</url> |
| 13 | + |
| 14 | + <licenses> |
| 15 | + <license> |
| 16 | + <name>The Apache License, Version 2.0</name> |
| 17 | + <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 18 | + </license> |
| 19 | + </licenses> |
| 20 | + |
| 21 | + <developers> |
| 22 | + <developer> |
| 23 | + <name>Sword Qiu</name> |
| 24 | + |
| 25 | + <organization>Cloudpods</organization> |
| 26 | + <organizationUrl>https://www.cloudpods.org</organizationUrl> |
| 27 | + </developer> |
| 28 | + </developers> |
| 29 | + |
| 30 | + <scm> |
| 31 | + <connection>scm:git:git://github.com/yunionio/mcclient_java.git</connection> |
| 32 | + <developerConnection>scm:git:ssh://github.com:yunionio/mcclient_java.git</developerConnection> |
| 33 | + <url>http://github.com/yunionio/mcclient_java/tree/master</url> |
| 34 | + </scm> |
12 | 35 |
|
13 | 36 | <properties> |
14 | 37 | <maven.compiler.source>1.8</maven.compiler.source> |
|
52 | 75 | </dependency> |
53 | 76 | </dependencies> |
54 | 77 |
|
| 78 | + <build> |
| 79 | + <plugins> |
| 80 | + <plugin> |
| 81 | + <groupId>org.apache.maven.plugins</groupId> |
| 82 | + <artifactId>maven-source-plugin</artifactId> |
| 83 | + <version>3.3.0</version> |
| 84 | + <executions> |
| 85 | + <execution> |
| 86 | + <id>attach-sources</id> |
| 87 | + <goals> |
| 88 | + <goal>jar-no-fork</goal> |
| 89 | + </goals> |
| 90 | + </execution> |
| 91 | + </executions> |
| 92 | + </plugin> |
| 93 | + <plugin> |
| 94 | + <groupId>org.apache.maven.plugins</groupId> |
| 95 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 96 | + <version>3.5.0</version> |
| 97 | + <executions> |
| 98 | + <execution> |
| 99 | + <id>attach-javadocs</id> |
| 100 | + <goals> |
| 101 | + <goal>jar</goal> |
| 102 | + </goals> |
| 103 | + </execution> |
| 104 | + </executions> |
| 105 | + </plugin> |
| 106 | + <plugin> |
| 107 | + <groupId>org.apache.maven.plugins</groupId> |
| 108 | + <artifactId>maven-surefire-plugin</artifactId> |
| 109 | + <version>3.1.2</version> |
| 110 | + </plugin> |
| 111 | + <plugin> |
| 112 | + <artifactId>maven-release-plugin</artifactId> |
| 113 | + <configuration> |
| 114 | + <tagNameFormat>v@{project.version}</tagNameFormat> |
| 115 | + </configuration> |
| 116 | + </plugin> |
| 117 | + </plugins> |
| 118 | + </build> |
| 119 | + |
| 120 | + <profiles> |
| 121 | + <profile> |
| 122 | + <id>ci-cd</id> |
| 123 | + <build> |
| 124 | + <plugins> |
| 125 | + <plugin> |
| 126 | + <groupId>org.apache.maven.plugins</groupId> |
| 127 | + <artifactId>maven-gpg-plugin</artifactId> |
| 128 | + <version>3.1.0</version> |
| 129 | + <executions> |
| 130 | + <execution> |
| 131 | + <id>sign-artifacts</id> |
| 132 | + <phase>verify</phase> |
| 133 | + <goals> |
| 134 | + <goal>sign</goal> |
| 135 | + </goals> |
| 136 | + <configuration> |
| 137 | + <!-- Prevent gpg from using pinentry programs. Fixes: |
| 138 | + gpg: signing failed: Inappropriate ioctl for device --> |
| 139 | + <gpgArguments> |
| 140 | + <arg>--pinentry-mode</arg> |
| 141 | + <arg>loopback</arg> |
| 142 | + </gpgArguments> |
| 143 | + </configuration> |
| 144 | + </execution> |
| 145 | + </executions> |
| 146 | + </plugin> |
| 147 | + </plugins> |
| 148 | + </build> |
| 149 | + </profile> |
| 150 | + </profiles> |
| 151 | + |
55 | 152 | </project> |
0 commit comments