Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dernasherbrezon/swift-maven
Maven Wagon for OpenStack Swift
https://github.com/dernasherbrezon/swift-maven
maven-plugin maven-wagon openstack-swift
Last synced: about 2 months ago
JSON representation
Maven Wagon for OpenStack Swift
- Host: GitHub
- URL: https://github.com/dernasherbrezon/swift-maven
- Owner: dernasherbrezon
- License: apache-2.0
- Created: 2018-05-19T15:18:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-21T20:12:55.000Z (over 3 years ago)
- Last Synced: 2024-05-02T05:09:19.407Z (8 months ago)
- Topics: maven-plugin, maven-wagon, openstack-swift
- Language: Java
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Swift Maven Wagon [![Build Status](https://travis-ci.com/dernasherbrezon/swift-maven.svg?branch=master)](https://travis-ci.com/dernasherbrezon/swift-maven) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=com.aerse%3Aswift-maven&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.aerse%3Aswift-maven)
This project is a [Maven Wagon][wagon] for [OpenStack Swift][swift]. In order to publish artifacts to an swift container, the user (as identified by their username and password) must have access to the container.
## Usage
To publish Maven artifacts to swift a build extension must be defined in a project's `pom.xml`. The latest version of the wagon can be found on the [`swift-maven`][swift-maven] page in Maven Central.```xml
...
...
...
com.aerse
swift-maven
1.1
...
...
...```
Once the build extension is configured distribution management repositories can be defined in the `pom.xml` with an `swift://` scheme.
```xml
...
container-name-snapshot
swift:///v3
container-name-release
swift:///v3
...```
Finally the `~/.m2/settings.xml` must be updated to include username and password for the account.
```xml
...
...
container-name-release
0123456789ABCDEFGHIJ
0123456789abcdefghijklmnopqrstuvwxyzABCD
container-name-snapshot
0123456789ABCDEFGHIJ
0123456789abcdefghijklmnopqrstuvwxyzABCD
...
...```
[swift-maven]: http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.aerse%22%20AND%20a%3A%22swift-maven%22
[swift]: https://docs.openstack.org/swift/latest/
[wagon]: http://maven.apache.org/wagon/