bulk-maven-repository-deploy-plugin Maven Plugin

bulk-maven-repository-deploy-plugin will take a lock maven2 repo and bulk upload the artifacts into a remote maven repository for http. You can upload from your local m2 repository or another directory that is in the same format.

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.github.vincentrussell
ArtifactId

ArtifactId

bulk-maven-repository-deploy-plugin
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

bulk-maven-repository-deploy-plugin Maven Plugin
bulk-maven-repository-deploy-plugin will take a lock maven2 repo and bulk upload the artifacts into a remote maven repository for http. You can upload from your local m2 repository or another directory that is in the same format.
Project URL

Project URL

https://github.com/vincentrussell/bulk-maven-repository-deploy-plugin
Source Code Management

Source Code Management

https://github.com/vincentrussell/bulk-maven-repository-deploy-plugin

Download bulk-maven-repository-deploy-plugin

How to add to project

<plugin>
    <groupId>com.github.vincentrussell</groupId>
    <artifactId>bulk-maven-repository-deploy-plugin</artifactId>
    <version>1.0</version>
</plugin>

Dependencies

compile (12)

Group / Artifact Type Version
org.eclipse.aether : aether-connector-basic jar 1.1.0
org.eclipse.aether : aether-transport-http jar 1.1.0
org.apache.maven.wagon : wagon-http jar 3.0.0
org.apache.maven : maven-plugin-api jar 3.3.9
org.apache.maven : maven-core jar 3.3.9
org.apache.maven : maven-model jar 3.3.9
org.apache.maven : maven-artifact jar 3.3.9
org.apache.maven.shared : maven-artifact-transfer jar 0.12.0
commons-io : commons-io jar 2.5
com.google.guava : guava jar 29.0-jre
org.apache.commons : commons-lang3 jar 3.10
org.codehaus.plexus : plexus-utils jar 3.2.0

provided (2)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.5
org.slf4j : slf4j-api jar 1.7.5

test (7)

Group / Artifact Type Version
me.alexpanov : free-port-finder jar 1.0
org.eclipse.jetty : jetty-server jar 9.4.29.v20200521
org.eclipse.jetty : jetty-servlet jar 9.4.29.v20200521
org.apache.maven : maven-compat jar 3.3.9
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 3.3.0
junit : junit jar 4.12
org.slf4j : slf4j-nop jar 1.7.5

Project Modules

There are no modules declared in this project.

bulk-maven-repository-deploy-plugin Maven Central Build Status

bulk-maven-repository-deploy-plugin will take a lock maven2 repo and bulk upload the artifacts into a remote maven repository. You can upload from your local m2 repository or another directory that is in the same format.

Maven

Add a dependency to com.github.vincentrussell:bulk-maven-repository-deploy-plugin.

<dependency>
   <groupId>com.github.vincentrussell</groupId>
   <artifactId>bulk-maven-repository-deploy-plugin</artifactId>
   <version>1.0</version>
</dependency>

Requirements

  • JDK 1.7 or higher

Running from the command line

The easiest way to use this plugin is to just use it from the command line.

mvn com.github.vincentrussell:bulk-maven-repository-deploy-plugin:1.0:bulk-import -DrepositoryId=thirdparty -DrepositoryUrl=http://localhost:8081/repository/thirdparty/
Option Description
repositoryId Server Id to map on the <id> under <server> section of settings.xml In most cases, this parameter will be required for authentication.
repositoryUrl URL where the artifact will be deployed. (i.e: http://localhost:8081/repository/thirdparty/)
repositoryBase Alternative location to upload artifacts from. This directory must be in the same format as an maven2 local repository
deploymentType This parameter can be used to control whether or not to only allow snapshots, releases or both to be uploaded to the nexus repository. The options are SNAPSHOT_ONLY, RELEASE_ONLY, or SNAPSHOT_AND_RELEASE. The default value is RELEASE_ONLY

Change Log

1.0 (2020-06-11)

Enhancements:

  • Initial Release

Versions

Version
1.0