|
5 | 5 |
|
6 | 6 | <groupId>com.meituan.lyrebird.sdk</groupId>
|
7 | 7 | <artifactId>lyrebird-java-client</artifactId>
|
8 |
| - <version>1.0.1</version> |
| 8 | + <version>1.0.2</version> |
| 9 | + |
| 10 | + <name>lyrebird-java-client</name> |
| 11 | + <url>https://github.com/Meituan-Dianping/lyrebird-java-client</url> |
| 12 | + <description>lyrebird java client is a Java SDK of Lyrebird</description> |
| 13 | + |
| 14 | + <licenses> |
| 15 | + <license> |
| 16 | + <name>MIT License</name> |
| 17 | + <url>http://www.opensource.org/licenses/mit-license.php</url> |
| 18 | + </license> |
| 19 | + </licenses> |
| 20 | + |
| 21 | + <developers> |
| 22 | + <developer> |
| 23 | + <name>hbqa</name> |
| 24 | + |
| 25 | + <organization>Meituan-Dianping</organization> |
| 26 | + <organizationUrl>https://tech.meituan.com/</organizationUrl> |
| 27 | + </developer> |
| 28 | + </developers> |
| 29 | + |
| 30 | + <scm> |
| 31 | + <connection>scm:git:git://github.com/Meituan-Dianping/lyrebird-java-client.git</connection> |
| 32 | + <developerConnection>scm:git:ssh://github.com:Meituan-Dianping/lyrebird-java-client.git</developerConnection> |
| 33 | + <url>https://github.com/Meituan-Dianping/lyrebird-java-client/tree/master</url> |
| 34 | + </scm> |
| 35 | + |
| 36 | + <distributionManagement> |
| 37 | + <snapshotRepository> |
| 38 | + <id>ossrh</id> |
| 39 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 40 | + </snapshotRepository> |
| 41 | + <repository> |
| 42 | + <id>ossrh</id> |
| 43 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
| 44 | + </repository> |
| 45 | + </distributionManagement> |
| 46 | + |
| 47 | + <properties> |
| 48 | + <java.version>1.8</java.version> |
| 49 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 50 | + </properties> |
| 51 | + |
9 | 52 | <build>
|
10 | 53 | <plugins>
|
11 | 54 | <plugin>
|
|
19 | 62 | </plugins>
|
20 | 63 | </build>
|
21 | 64 |
|
22 |
| - <distributionManagement> |
23 |
| - <repository> |
24 |
| - <id>github</id> |
25 |
| - <name>GitHub Meituan-Dianping Apache Maven Packages</name> |
26 |
| - <url>https://maven.pkg.github.com/Meituan-Dianping/lyrebird-java-client</url> |
27 |
| - </repository> |
28 |
| - </distributionManagement> |
| 65 | + <profiles> |
| 66 | + <!-- Activate using the release property: mvn clean install -Prelease --> |
| 67 | + <profile> |
| 68 | + <id>release</id> |
| 69 | + <activation> |
| 70 | + <property> |
| 71 | + <name>release</name> |
| 72 | + </property> |
| 73 | + </activation> |
| 74 | + <build> |
| 75 | + <plugins> |
| 76 | + <plugin> |
| 77 | + <groupId>org.apache.maven.plugins</groupId> |
| 78 | + <artifactId>maven-source-plugin</artifactId> |
| 79 | + <version>2.2.1</version> |
| 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 | + <version>2.9.1</version> |
| 93 | + <executions> |
| 94 | + <execution> |
| 95 | + <id>attach-javadocs</id> |
| 96 | + <goals> |
| 97 | + <goal>jar</goal> |
| 98 | + </goals> |
| 99 | + </execution> |
| 100 | + </executions> |
| 101 | + </plugin> |
| 102 | + <plugin> |
| 103 | + <groupId>org.apache.maven.plugins</groupId> |
| 104 | + <artifactId>maven-gpg-plugin</artifactId> |
| 105 | + <version>1.5</version> |
| 106 | + <executions> |
| 107 | + <execution> |
| 108 | + <id>sign-artifacts</id> |
| 109 | + <phase>verify</phase> |
| 110 | + <goals> |
| 111 | + <goal>sign</goal> |
| 112 | + </goals> |
| 113 | + <!-- gpg: signing failed: No such file or directory --> |
| 114 | + <configuration> |
| 115 | + <gpgArguments> |
| 116 | + <arg>--pinentry-mode</arg> |
| 117 | + <arg>loopback</arg> |
| 118 | + </gpgArguments> |
| 119 | + </configuration> |
| 120 | + </execution> |
| 121 | + </executions> |
| 122 | + </plugin> |
| 123 | + <plugin> |
| 124 | + <groupId>org.sonatype.plugins</groupId> |
| 125 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 126 | + <version>1.6.7</version> |
| 127 | + <extensions>true</extensions> |
| 128 | + <configuration> |
| 129 | + <serverId>ossrh</serverId> |
| 130 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 131 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 132 | + </configuration> |
| 133 | + </plugin> |
| 134 | + <plugin> |
| 135 | + <groupId>org.apache.maven.plugins</groupId> |
| 136 | + <artifactId>maven-release-plugin</artifactId> |
| 137 | + <version>2.4.2</version> |
| 138 | + </plugin> |
| 139 | + </plugins> |
| 140 | + </build> |
| 141 | + </profile> |
| 142 | + </profiles> |
29 | 143 |
|
30 | 144 | <dependencies>
|
31 | 145 | <dependency>
|
|
0 commit comments