Filter repository extension

Add one or multiple repositories to the build

License

License

GroupId

GroupId

com.github.rmannibucau
ArtifactId

ArtifactId

filter-repository-extension
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

Filter repository extension
Add one or multiple repositories to the build
Project URL

Project URL

https://github.com/rmannibucau/filter-repository-extension
Source Code Management

Source Code Management

https://github.com/rmannibucau/filter-repository-extension

Download filter-repository-extension

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.rmannibucau/filter-repository-extension/ -->
<dependency>
    <groupId>com.github.rmannibucau</groupId>
    <artifactId>filter-repository-extension</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.rmannibucau/filter-repository-extension/
implementation 'com.github.rmannibucau:filter-repository-extension:1.0.2'
// https://jarcasting.com/artifacts/com.github.rmannibucau/filter-repository-extension/
implementation ("com.github.rmannibucau:filter-repository-extension:1.0.2")
'com.github.rmannibucau:filter-repository-extension:jar:1.0.2'
<dependency org="com.github.rmannibucau" name="filter-repository-extension" rev="1.0.2">
  <artifact name="filter-repository-extension" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.rmannibucau', module='filter-repository-extension', version='1.0.2')
)
libraryDependencies += "com.github.rmannibucau" % "filter-repository-extension" % "1.0.2"
[com.github.rmannibucau/filter-repository-extension "1.0.2"]

Dependencies

compile (2)

Group / Artifact Type Version
org.eclipse.jgit : org.eclipse.jgit jar 5.2.1.201812262042-r
org.apache.commons : commons-text jar 1.6

provided (1)

Group / Artifact Type Version
org.apache.maven : maven-core jar 3.6.0

Project Modules

There are no modules declared in this project.

Maven Repository Filter Extension

Gives the ability to filter repositories with maven placeholders.

Setup

<!-- in build section -->
<extensions>
  <extension>
    <groupId>com.github.rmannibucau</groupId>
    <artifactId>filter-repository-extension</artifactId>
    <version>${extension.version}</version>
  </extension>
</extensions>

Usage

<repository>
  <id>company.dynamic.snapshots</id>
  <url>https://foo.com/nexus/content/repositories/snapshots/${git.branch}</url>
  <releases>
    <enabled>false</enabled>
  </releases>
  <snapshots>
    <enabled>true</enabled>
  </snapshots>
</repository>

Versions

Version
1.0.2
1.0.1
1.0.0