Skip to content

Commit b369bc1

Browse files
authored
Merge pull request #33 from volcengine/core_patch
Core patch
2 parents feb0fd2 + 56d06d6 commit b369bc1

File tree

25 files changed

+144
-49
lines changed

25 files changed

+144
-49
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
建议使用Maven构建自己的项目,添加需要的相应模块的依赖,示例如下:
3232

3333
##### Init maven setting.xml #####
34+
如果您使用的版本大于0.1.27 可以不进行设置 直接使用中央仓库进行依赖
35+
36+
如果您使用的版本小于或者等于0.1.27
3437
需要使用字节跳动的maven仓库来完成依赖,请先到maven安装目录的conf/setting.xml
3538
在<mirrors/>标签中增加
3639

@@ -51,7 +54,7 @@
5154
<dependency>
5255
<groupId>com.volcengine</groupId>
5356
<artifactId>volcengine-java-sdk-bom</artifactId>
54-
<version>0.1.28</version>
57+
<version>0.1.29</version>
5558
<type>pom</type>
5659
<scope>import</scope>
5760
</dependency>
@@ -67,12 +70,12 @@
6770
<dependency>
6871
<groupId>com.volcengine</groupId>
6972
<artifactId>volcengine-java-sdk-vpc</artifactId>
70-
<version>0.1.28</version>
73+
<version>0.1.29</version>
7174
</dependency>
7275
<dependency>
7376
<groupId>com.volcengine</groupId>
7477
<artifactId>volcengine-java-sdk-ecs</artifactId>
75-
<version>0.1.28</version>
78+
<version>0.1.29</version>
7679
</dependency>
7780
</dependencies>
7881
```

pom.xml

Lines changed: 108 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,33 @@
11
<?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">
34
<modelVersion>4.0.0</modelVersion>
45
<groupId>com.volcengine</groupId>
56
<artifactId>volcengine-java-sdk</artifactId>
67
<packaging>pom</packaging>
7-
<version>0.1.28</version>
8+
<version>0.1.29</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+
<email>[email protected]</email>
29+
</developer>
30+
</developers>
831
<properties>
932
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1033
<java.source.version>1.7</java.source.version>
@@ -71,20 +94,89 @@
7194
</dependency>
7295
</dependencies>
7396
</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+
88180
<build>
89181
<plugins>
90182
<plugin>

volcengine-java-sdk-alb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-autoscaling/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-cen/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-clb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>com.volcengine</groupId>
55
<artifactId>volcengine-java-sdk</artifactId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-core/src/main/java/com/volcengine/model/Error.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import com.google.gson.annotations.SerializedName;
44

55
/**
6-
* @Author: [email protected]
7-
* @Date: 2022/3/18 15:22
6+
7+
* 2022/3/18 15:22
88
*/
99
public class Error {
1010
@SerializedName("CodeN")

volcengine-java-sdk-core/src/main/java/com/volcengine/model/ResponseMetadata.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import com.google.gson.annotations.SerializedName;
44

55
/**
6-
* @Author: [email protected]
7-
* @Date: 2022/3/18 15:20
6+
7+
* 2022/3/18 15:20
88
*/
99
public class ResponseMetadata {
1010
@SerializedName("RequestId")

volcengine-java-sdk-core/src/main/java/com/volcengine/model/VolcstackResponse.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import com.google.gson.annotations.SerializedName;
44

55
/**
6-
* @Author: [email protected]
7-
* @Date: 2022/3/18 15:21
6+
7+
* 2022/3/18 15:21
88
*/
99
public class VolcstackResponse<T> {
1010
@SerializedName("ResponseMetadata")

volcengine-java-sdk-core/src/main/java/com/volcengine/sign/Credentials.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package com.volcengine.sign;
22

33
/**
4-
* @Author: [email protected]
5-
* @Date: 2022/3/18 13:12
4+
5+
* 2022/3/18 13:12
66
*/
77
public class Credentials {
88
private String accessKey;

volcengine-java-sdk-core/src/main/java/com/volcengine/sign/ServiceInfo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package com.volcengine.sign;
22

33
/**
4-
* @Author: [email protected]
5-
* @Date: 2022/3/18 14:08
4+
5+
* 2022/3/18 14:08
66
*/
77
public class ServiceInfo {
88
private String serviceName;

volcengine-java-sdk-core/src/main/java/com/volcengine/sign/VolcstackSign.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
import java.util.*;
1414

1515
/**
16-
* @Author: [email protected]
17-
* @Date: 2022/3/18 13:13
16+
17+
* 2022/3/18 13:13
1818
*/
1919
public class VolcstackSign implements Authentication {
2020

volcengine-java-sdk-cr/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-directconnect/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-ecs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-mongodb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-natgateway/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-rdsmysql/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-storageebs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-vke/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-vpc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/example/TestVpc.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
import java.util.List;
1212

1313
/**
14-
* @Author: [email protected]
15-
* @Date: 2022/3/22 18:56
14+
15+
* 2022/3/22 18:56
1616
*/
1717
public class TestVpc {
1818
public static void main(String[] args)throws Exception {

volcengine-java-sdk-vpn/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.1.28</version>
6+
<version>0.1.29</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

0 commit comments

Comments
 (0)