Openstack swift Maven Wagon Support

Standard Maven wagon support for swift:// urls

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

com.aerse
Идентификатор

Идентификатор

swift-maven
Последняя версия

Последняя версия

1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Openstack swift Maven Wagon Support
Standard Maven wagon support for swift:// urls
Ссылка на сайт

Ссылка на сайт

https://github.com/dernasherbrezon/swift-maven
Система контроля версий

Система контроля версий

https://github.com/dernasherbrezon/swift-maven

Скачать swift-maven

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.aerse/swift-maven/ -->
<dependency>
    <groupId>com.aerse</groupId>
    <artifactId>swift-maven</artifactId>
    <version>1.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.aerse/swift-maven/
implementation 'com.aerse:swift-maven:1.1'
// https://jarcasting.com/artifacts/com.aerse/swift-maven/
implementation ("com.aerse:swift-maven:1.1")
'com.aerse:swift-maven:jar:1.1'
<dependency org="com.aerse" name="swift-maven" rev="1.1">
  <artifact name="swift-maven" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.aerse', module='swift-maven', version='1.1')
)
libraryDependencies += "com.aerse" % "swift-maven" % "1.1"
[com.aerse/swift-maven "1.1"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.pacesys : openstack4j jar 3.1.0
org.glassfish.jersey.core : jersey-common jar 2.22.2

provided (1)

Идентификатор библиотеки Тип Версия
org.apache.maven.wagon : wagon-provider-api jar 2.6

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.10

Модули Проекта

Данный проект не имеет модулей.

Swift Maven Wagon Build Status Quality Gate Status

This project is a Maven Wagon for OpenStack 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 page in Maven Central.

<project>
  ...
  <build>
    ...
    <extensions>
      ...
      <extension>
        <groupId>com.aerse</groupId>
        <artifactId>swift-maven</artifactId>
        <version>1.1</version>
      </extension>
      ...
    </extensions>
    ...
  </build>
  ...
</project>

Once the build extension is configured distribution management repositories can be defined in the pom.xml with an swift:// scheme.

<project>
  ...
  <distributionManagement>
    <repository>
      <id>container-name-snapshot</id>
      <url>swift://<host>/v3</url>
    </repository>
    <snapshotRepository>
      <id>container-name-release</id>
      <name><container name></name>
      <url>swift://<host>/v3</url>
    </snapshotRepository>
  </distributionManagement>
  ...
</project>

Finally the ~/.m2/settings.xml must be updated to include username and password for the account.

<settings>
  ...
  <servers>
    ...
    <server>
      <id>container-name-release</id>
      <username>0123456789ABCDEFGHIJ</username>
      <password>0123456789abcdefghijklmnopqrstuvwxyzABCD</password>
    </server>
    <server>
      <id>container-name-snapshot</id>
      <username>0123456789ABCDEFGHIJ</username>
      <password>0123456789abcdefghijklmnopqrstuvwxyzABCD</password>
    </server>
    ...
  </servers>
  ...
</settings>

Версии библиотеки

Версия
1.1
1.0