com.github.migger:minio-maven-wagon

Maven transport for Minio cloud storage

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.github.migger
ArtifactId

ArtifactId

minio-maven-wagon
Last Version

Last Version

1.1
Release Date

Release Date

Type

Type

jar
Description

Description

com.github.migger:minio-maven-wagon
Maven transport for Minio cloud storage
Project URL

Project URL

https://github.com/migger/minio-maven-wagon
Source Code Management

Source Code Management

https://github.com/migger/minio-maven-wagon.git

Download minio-maven-wagon

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
io.minio : minio jar 3.0.12

provided (1)

Group / Artifact Type Version
org.apache.maven.wagon : wagon-provider-api jar 2.6

Project Modules

There are no modules declared in this project.

Minio maven wagon

This extension allows use Minio server as artifact storage for maven

How to enable

To enable minio wagon make 3 simple steps:

1. Add extension to your pom.xml

<project>
  ...
  <build>
    <extensions>
      <extension>
        <groupId>com.github.migger</groupId>
        <artifactId>minio-maven-wagon</artifactId>
        <version>1.1</version>
      </extension>
    </extensions>
  </build>
  ...
</project>

2. Add distribution model to you pom.xml

    <distributionManagement>
        <repository>
            <id>minio-repo</id>
            <url>minio://bundle>/bundle-path</url>
        </repository>
    </distributionManagement>

3. Set up user name and password

Please provide user name in form of <accesskey>@<minio-server<:port>>

There is 3 way how to pass user and password:

  • Environment variables: MINIO_USER and MINIO_PASSWORD
  • System variables (-D...): minio.user and minio.password
  • Settings xml:
    <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
      <servers>
        <server>
          <id>mino-repo</id>
          <username>[email protected]</username>
          <password>12312312309898123</password>
        </server>
      </servers>
    </settings>
    

Versions

Version
1.1