|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 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"> |
3 | 4 | <modelVersion>4.0.0</modelVersion> |
4 | 5 | <groupId>com.volcengine</groupId> |
5 | 6 | <artifactId>volcengine-java-sdk</artifactId> |
6 | 7 | <packaging>pom</packaging> |
7 | 8 | <version>0.1.31</version> |
| 9 | + <name>volcengine-java-sdk</name> |
| 10 | + <url>https://open.volcengineapi.com</url> |
| 11 | + <description>The Java SDK For Volcengine</description> |
| 12 | + <licenses> |
| 13 | + <license> |
| 14 | + <name>The Apache Software License, Version 2.0</name> |
| 15 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 16 | + <distribution>repo</distribution> |
| 17 | + </license> |
| 18 | + </licenses> |
| 19 | + <scm> |
| 20 | + <url>scm:git:https://github.com/volcengine/volcengine-java-sdk.git</url> |
| 21 | + <connection>scm:git:https://github.com/volcengine/volcengine-java-sdk.git</connection> |
| 22 | + <developerConnection>scm:https://github.com/volcengine/volcengine-java-sdk.git</developerConnection> |
| 23 | + </scm> |
| 24 | + <developers> |
| 25 | + <developer> |
| 26 | + <id>volcengine</id> |
| 27 | + <name>volcengine-java-sdk</name> |
| 28 | + |
| 29 | + </developer> |
| 30 | + </developers> |
8 | 31 | <properties> |
9 | 32 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
10 | 33 | <java.source.version>1.7</java.source.version> |
|
71 | 94 | </dependency> |
72 | 95 | </dependencies> |
73 | 96 | </dependencyManagement> |
74 | | - <distributionManagement> |
75 | | - <repository> |
76 | | - <id>maven.byted.org</id> |
77 | | - <name>maven.byted.org</name> |
78 | | - <!--suppress UnresolvedMavenProperty --> |
79 | | - <url>https://${MAVEN_SERVER}/repository/releases/</url> |
80 | | - </repository> |
81 | | - <snapshotRepository> |
82 | | - <id>maven.byted.org</id> |
83 | | - <name>maven.byted.org</name> |
84 | | - <!--suppress UnresolvedMavenProperty --> |
85 | | - <url>https://${MAVEN_SERVER}/repository/releases/</url> |
86 | | - </snapshotRepository> |
87 | | - </distributionManagement> |
| 97 | + |
| 98 | + <profiles> |
| 99 | + <profile> |
| 100 | + <id>public</id> |
| 101 | + <distributionManagement> |
| 102 | + <snapshotRepository> |
| 103 | + <id>sonatype-nexus-staging</id> |
| 104 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 105 | + </snapshotRepository> |
| 106 | + <repository> |
| 107 | + <id>sonatype-nexus-staging</id> |
| 108 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 109 | + </repository> |
| 110 | + </distributionManagement> |
| 111 | + <build> |
| 112 | + <plugins> |
| 113 | + <plugin> |
| 114 | + <groupId>org.apache.maven.plugins</groupId> |
| 115 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 116 | + <executions> |
| 117 | + <execution> |
| 118 | + <id>attach-javadocs</id> |
| 119 | + <goals> |
| 120 | + <goal>jar</goal> |
| 121 | + </goals> |
| 122 | + </execution> |
| 123 | + </executions> |
| 124 | + </plugin> |
| 125 | + <plugin> |
| 126 | + <groupId>org.apache.maven.plugins</groupId> |
| 127 | + <artifactId>maven-surefire-plugin</artifactId> |
| 128 | + <version>${dep.maven-surefire-plugin.version}</version> |
| 129 | + <configuration> |
| 130 | + <argLine>-Dfile.encoding=UTF-8</argLine> |
| 131 | + </configuration> |
| 132 | + </plugin> |
| 133 | + <plugin> |
| 134 | + <groupId>org.apache.maven.plugins</groupId> |
| 135 | + <artifactId>maven-gpg-plugin</artifactId> |
| 136 | + <version>1.6</version> |
| 137 | + <executions> |
| 138 | + <execution> |
| 139 | + <id>sign-artifacts</id> |
| 140 | + <phase>verify</phase> |
| 141 | + <goals> |
| 142 | + <goal>sign</goal> |
| 143 | + </goals> |
| 144 | + </execution> |
| 145 | + </executions> |
| 146 | + </plugin> |
| 147 | + <plugin> |
| 148 | + <groupId>org.sonatype.plugins</groupId> |
| 149 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 150 | + <version>1.6.7</version> |
| 151 | + <extensions>true</extensions> |
| 152 | + <configuration> |
| 153 | + <serverId>sonatype-nexus-staging</serverId> |
| 154 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 155 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 156 | + </configuration> |
| 157 | + </plugin> |
| 158 | + </plugins> |
| 159 | + </build> |
| 160 | + </profile> |
| 161 | + <profile> |
| 162 | + <id>byted</id> |
| 163 | + <distributionManagement> |
| 164 | + <repository> |
| 165 | + <id>maven.byted.org</id> |
| 166 | + <name>maven.byted.org</name> |
| 167 | + <!--suppress UnresolvedMavenProperty --> |
| 168 | + <url>https://${MAVEN_SERVER}/repository/releases/</url> |
| 169 | + </repository> |
| 170 | + <snapshotRepository> |
| 171 | + <id>maven.byted.org</id> |
| 172 | + <name>maven.byted.org</name> |
| 173 | + <!--suppress UnresolvedMavenProperty --> |
| 174 | + <url>https://${MAVEN_SERVER}/repository/releases/</url> |
| 175 | + </snapshotRepository> |
| 176 | + </distributionManagement> |
| 177 | + </profile> |
| 178 | + </profiles> |
| 179 | + |
88 | 180 | <build> |
89 | 181 | <plugins> |
90 | 182 | <plugin> |
|
0 commit comments