SBuild Maven Deploy Plugin.

SBuild Plugin to deploy to Remote Maven Repositories such as Nexus.

Лицензия

Лицензия

Категории

Категории

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

Группа

org.sbuild
Идентификатор

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

org.sbuild.plugins.mavendeploy
Последняя версия

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

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

SBuild Maven Deploy Plugin.
SBuild Plugin to deploy to Remote Maven Repositories such as Nexus.
Ссылка на сайт

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

https://github.com/SBuild-org/sbuild-maven-deploy
Система контроля версий

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

https://github.com/SBuild-org/sbuild-maven-deploy

Скачать org.sbuild.plugins.mavendeploy

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

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

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

SBuild Maven Deploy Plugin

This SBuild plugin provides targets to deploy artifacts with the Maven. E.g. you can use it to deploy to Nexus OSS.

Installation

SBuild Maven Deploy Plugin can be downloaded from Maven Central.

To include it in you SBuild buildfile use the @classpath annotation:

@classpath("mvn:org.sbuild:org.sbuild.plugins.mavendeploy:0.1.0")

Building from Source

git clone https://github.com/SBuild-org/maven-deploy.git
cd sbuild-sbuild-plugin/org.sbuild.plugins.mavendeploy
sbuild all

You will find the built jar in the directory org.sbuild.plugins.mavendeploy/target.

Configuration

All configurable properties are documented via ScalaDoc. See file MavenDeploy.

Usage Example

import de.tototec.sbuild._

@version("0.7.1")
@classpath("mvn:org.sbuild:org.sbuild.plugins.mavendeploy:0.1.0")
class SBuild(implicit _project: Project) {

  import org.sbuild.plugins.mavendeploy._

  Plugin[MavenDeploy] configure { _.copy(
    groupId = "org.example",
    artifactId = "hello",
    version = "1.0.0",
    repository = Repository(id = "nexus", url = "http:://nexus.my-company.local/repo"),
    files = Map(
      "jar" -> "target/hello-1.0.0.jar",
      "sources" -> "target/hello-1.0.0-sources.jar"
    )
  )}

}
bash$ sbuild -l

To deploy the artifacts use the maven-deploy target. It is essential, to run sbuild with the -j 1 option, as the targets are interactive and require user input.

Changelog

SBuild Maven Deploy Plugin 0.1.0 - 2014-01-24

  • Initial Release.

org.sbuild

SBuild

A magic-free yet powerful Scala-based build tool

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

Версия
0.1.0