Skip to content

Commit 8f8b4fe

Browse files
committed
add README.md
1 parent dca8820 commit 8f8b4fe

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

AliyunOSSStorageWagon/README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# OSSStorageWagon
2+
3+
## Upload maven artifacts using aliyunOSS
4+
5+
The OSSStorageWagon project enables you to upload your artifacts to a aliyun cloud storage bucket.
6+
7+
```xml
8+
<project>
9+
<build>
10+
<extensions>
11+
<extension>
12+
<groupId>com.qlangtech.maven.cloud</groupId>
13+
<artifactId>oss-storage-wagon</artifactId>
14+
<version>2.3</version>
15+
</extension>
16+
</extensions>
17+
</build>
18+
19+
<profiles>
20+
21+
<profile>
22+
<id>oss-repo</id>
23+
<properties>
24+
<releasesRepository>oss://maven.qlangtech.com/release</releasesRepository>
25+
<snapshotRepository>oss://maven.qlangtech.com/snapshot</snapshotRepository>
26+
</properties>
27+
</profile>
28+
</profiles>
29+
</project>
30+
```
31+
32+
And in local user_home `vi ~/aliyun-oss/mvn-config.properties` shall add aliyun bucket config.
33+
34+
```properties
35+
endpoint=http://oss-cn-hangzhou.aliyuncs.com
36+
accessKey=xxxxxxxxx
37+
secretKey=xxxxxxxxx
38+
bucketName=kkkk
39+
```
40+
41+
Then you can deploy artifact by sh command `mvn deploy -Poss-repo`
42+
43+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The CloudStorageMaven projects aims to provide an easy way to host your java artifacts on the cloud without having to set up a maven repository.
66

77
Cloud storage options supported:
8-
8+
* [Aliyun OSS](https://github.com/qlangtech/CloudStorageMaven/tree/master/AliyunOSSStorageWagon)
99
* [AWS S3](https://github.com/gkatzioura/CloudStorageMaven/tree/master/S3StorageWagon)
1010
* [Google Cloud Storage](https://github.com/gkatzioura/CloudStorageMaven/tree/master/GoogleStorageWagon)
1111
* [Azure Blob storage](https://github.com/gkatzioura/CloudStorageMaven/tree/master/AzureStorageWagon)

0 commit comments

Comments
 (0)