Skip to content

Commit 1b01e57

Browse files
committed
add deploy.sh
1 parent fad8c72 commit 1b01e57

File tree

4 files changed

+88
-14
lines changed

4 files changed

+88
-14
lines changed

AliyunOSSStorageWagon/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<parent>
66
<artifactId>cloud-storage-maven</artifactId>
7-
<groupId>com.gkatzioura.maven.cloud</groupId>
7+
<groupId>com.qlangtech.maven.cloud</groupId>
88
<version>2.3</version>
9+
<relativePath>../pom.xml</relativePath>
910
</parent>
1011
<modelVersion>4.0.0</modelVersion>
1112

@@ -50,7 +51,7 @@
5051
<!-- <version>${aws.version}</version>-->
5152
<!-- </dependency>-->
5253
<dependency>
53-
<groupId>com.gkatzioura.maven.cloud</groupId>
54+
<groupId>com.qlangtech.maven.cloud</groupId>
5455
<artifactId>cloud-storage-core</artifactId>
5556
<version>${project.parent.version}</version>
5657
</dependency>

CloudStorageCore/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
<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">
33
<parent>
44
<artifactId>cloud-storage-maven</artifactId>
5-
<groupId>com.gkatzioura.maven.cloud</groupId>
5+
<groupId>com.qlangtech.maven.cloud</groupId>
66
<version>2.3</version>
7+
<relativePath>../pom.xml</relativePath>
78
</parent>
89
<modelVersion>4.0.0</modelVersion>
910

@@ -45,4 +46,4 @@
4546
</plugins>
4647
</build>
4748

48-
</project>
49+
</project>

deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mvn deploy -Dmaven.test.skip=true -pl AliyunOSSStorageWagon -am -Possrh

pom.xml

Lines changed: 81 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<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">
33
<modelVersion>4.0.0</modelVersion>
4-
<parent>
5-
<groupId>com.qlangtech.tis</groupId>
6-
<artifactId>tis-parent</artifactId>
7-
<version>2.0.1</version>
8-
</parent>
9-
<groupId>com.gkatzioura.maven.cloud</groupId>
4+
<groupId>com.qlangtech.maven.cloud</groupId>
5+
<!-- <groupId>com.gkatzioura.maven.cloud</groupId>-->
106
<artifactId>cloud-storage-maven</artifactId>
117
<packaging>pom</packaging>
128
<version>2.3</version>
139

1410
<name>Cloud Storage</name>
1511
<description>The CloudStorage project enables you to use the storage options of cloud provides (Google Cloud) storage as maven repositories.</description>
16-
<url>https://github.com/gkatzioura/CloudStorage</url>
12+
<url>https://github.com/qlangtech/CloudStorage</url>
1713

1814
<licenses>
1915
<license>
@@ -53,6 +49,8 @@
5349
<junit.version>4.12</junit.version>
5450
<maven.plugin.api.version>3.0</maven.plugin.api.version>
5551
<maven.plugin.annotations.version>3.4</maven.plugin.annotations.version>
52+
<releasesRepository>https://oss.sonatype.org/service/local/staging/deploy/maven2/</releasesRepository>
53+
<snapshotRepository>https://oss.sonatype.org/content/repositories/snapshots/</snapshotRepository>
5654
</properties>
5755

5856
<!-- <distributionManagement>-->
@@ -69,6 +67,79 @@
6967
<!-- <downloadUrl>https://oss.sonatype.org/content/groups/public/org/knowm/xchart</downloadUrl>-->
7068
<!-- </distributionManagement>-->
7169

70+
<distributionManagement>
71+
<repository>
72+
<id>releases</id>
73+
<url>${releasesRepository}</url>
74+
</repository>
75+
<snapshotRepository>
76+
<id>snapshots</id>
77+
<url>${snapshotRepository}</url>
78+
<uniqueVersion>true</uniqueVersion>
79+
</snapshotRepository>
80+
</distributionManagement>
81+
82+
<profiles>
83+
<profile>
84+
<!--https://central.sonatype.org/pages/apache-maven.html-->
85+
<id>ossrh</id>
86+
<properties>
87+
88+
<gpg.executable>gpg2</gpg.executable>
89+
<!--
90+
<gpg.passphrase>the_pass_phrase</gpg.passphrase>
91+
-->
92+
</properties>
93+
<build>
94+
<plugins>
95+
<plugin>
96+
<groupId>org.sonatype.plugins</groupId>
97+
<artifactId>nexus-staging-maven-plugin</artifactId>
98+
<version>1.6.7</version>
99+
<extensions>true</extensions>
100+
<configuration>
101+
<serverId>releases</serverId>
102+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
103+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
104+
</configuration>
105+
</plugin>
106+
<plugin>
107+
<groupId>org.apache.maven.plugins</groupId>
108+
<artifactId>maven-gpg-plugin</artifactId>
109+
<version>1.5</version>
110+
<executions>
111+
<execution>
112+
<id>sign-artifacts</id>
113+
<phase>verify</phase>
114+
<goals>
115+
<goal>sign</goal>
116+
</goals>
117+
</execution>
118+
</executions>
119+
</plugin>
120+
<plugin>
121+
<groupId>org.apache.maven.plugins</groupId>
122+
<artifactId>maven-javadoc-plugin</artifactId>
123+
<version>2.10.3</version>
124+
<configuration>
125+
<charset>UTF16</charset>
126+
<aggregate>true</aggregate>
127+
<additionalparam>-Xdoclint:none</additionalparam>
128+
</configuration>
129+
<executions>
130+
<execution>
131+
<id>attach-javadocs</id>
132+
<goals>
133+
<goal>jar</goal>
134+
</goals>
135+
</execution>
136+
</executions>
137+
</plugin>
138+
</plugins>
139+
</build>
140+
</profile>
141+
</profiles>
142+
72143
<build>
73144
<plugins>
74145
<plugin>
@@ -132,10 +203,10 @@
132203
</build>
133204

134205
<modules>
135-
<module>GoogleStorageWagon</module>
136206
<module>CloudStorageCore</module>
137-
<module>AzureStorageWagon</module>
138-
<module>S3StorageWagon</module>
207+
<!-- <module>GoogleStorageWagon</module>-->
208+
<!-- <module>AzureStorageWagon</module>-->
209+
<!-- <module>S3StorageWagon</module>-->
139210
<module>AliyunOSSStorageWagon</module>
140211
</modules>
141212

0 commit comments

Comments
 (0)