Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/huluvu424242/jar-install-plugin

Maven Plugin to install jar's from remote url's into the local repository and add them as dependency
https://github.com/huluvu424242/jar-install-plugin

Last synced: 27 days ago
JSON representation

Maven Plugin to install jar's from remote url's into the local repository and add them as dependency

Awesome Lists containing this project

README

        

[![Stories in Ready](https://badge.waffle.io/FunThomas424242/jar-install-plugin.png?label=ready&title=Ready)](http://waffle.io/FunThomas424242/jar-install-plugin)
[![Build Status](https://travis-ci.org/FunThomas424242/jar-install-plugin.svg?branch=master)](https://travis-ci.org/FunThomas424242/jar-install-plugin)
[ ![Download](https://api.bintray.com/packages/funthomas424242/funthomas424242-maven-plugins/jar-install-plugin/images/download.svg) ](https://bintray.com/funthomas424242/funthomas424242-maven-plugins/jar-install-plugin/_latestVersion)

# jar-install-plugin (for maven)

You can use the jar-install-plugin in maven3 to download jar's by a given url
and add them to the local maven repository and the maven project dependencies.

Das Plugin lädt für einen Maven Build benötigte JAR Files aus dem
Internet und installiert diese im lokalen Maven
Repository.
Die
herunter geladenen Dateien werden zusätzlich entsprechend ihres
Scopes
in die Liste der Abhängigkeiten des Maven Projektes aufgenommen.

Nützlich um JAR's von Drittanbietern in den Maven Build Prozess zu
integrieren, falls diese weder in einem zentralen
Repository
verfügbar sind oder einfach auch keine Artifakte eines Maven Builds
darstellen und ihnen somit die Metainformationen fehlen.

## Nutzung / Beispiel

Eine mögliche pom.xml folgt. Im pom wird gui4j aus dem Internet heruntergeladen und ins lokale repository installiert.

```

4.0.0
com.github.funthomas424242
flat-project
jar
0.0.3-SNAPSHOT
Test JAR Install Plugin
2016

https://github.com/FunThomas424242/jar-install-plugin/




install


com.github.funthomas424242
jar-install-plugin
0.0.3-SNAPSHOT
true


downloadjars
validate

install







http://sourceforge.net/projects/gui4j/files/gui4j/1.2.3/gui4j-1.2.3.jar/download
gui4j
gui4j
1.2.3
compile




```

**Maven Repositories**

```

false

bintray-funthomas424242-funthomas424242-maven-plugins
bintray
http://dl.bintray.com/funthomas424242/funthomas424242-maven-plugins

false

bintray-funthomas424242-funthomas424242-maven-plugins
bintray-plugins
http://dl.bintray.com/funthomas424242/funthomas424242-maven-plugins

bintray

```

**Project on GitHub:** https://github.com/funthomas424242/jar-install-plugin/

**The old sources** are hosted on sourceforge:
http://sf-mvn-plugins.svn.sourceforge.net/viewvc/sf-mvn-plugins/ (svn repo)

## Nützliche Quellen im Zwischennetz (Neuland in de)

* https://blog.sonatype.com/2009/08/create-a-customized-build-process-in-maven/
* https://carlosvin.github.io/posts/creating-custom-maven-plugin/#write-a-custom-mojo
* https://github.com/apache/maven-clean-plugin/blob/maven-clean-plugin-3.1.0/pom.xml
* https://stackoverflow.com/questions/12433120/creating-a-new-phase
* https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-scm-publish-plugin/
* https://stackoverflow.com/questions/36617759/adding-phases-to-the-maven-lifecycle
* https://github.com/wemu/codezoo-lifecycle-maven-plugin/tree/master/src/main
* https://maven.apache.org/examples/maven-3-lifecycle-extensions.html
* https://maven.apache.org/plugin-developers/plugin-testing.html
* https://github.com/apache/maven-plugins/blob/trunk/maven-install-plugin/src/test/java/org/apache/maven/plugin/install/InstallFileMojoTest.java

## Powered by

[![Maven](http://maven.apache.org/images/logos/maven-feather.png)](http://maven.apache.org)