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

https://github.com/dataliquid/resource-extractor-maven-plugin

Extract and process resources from artifacts during the build process.
https://github.com/dataliquid/resource-extractor-maven-plugin

artifact-extraction java maven-plugin resource-extraction

Last synced: 5 months ago
JSON representation

Extract and process resources from artifacts during the build process.

Awesome Lists containing this project

README

          

= Resource Extractor Maven Plugin

image:https://github.com/dataliquid/resource-extractor-maven-plugin/actions/workflows/ci.yml/badge.svg[CI Build,link=https://github.com/dataliquid/resource-extractor-maven-plugin/actions/workflows/ci.yml]
image:https://img.shields.io/maven-central/v/com.dataliquid.maven/resource-extractor-maven-plugin.svg[Maven Central,link=https://search.maven.org/artifact/com.dataliquid.maven/resource-extractor-maven-plugin]
image:https://img.shields.io/badge/license-Apache%202.0-blue.svg[License,link=https://opensource.org/licenses/Apache-2.0]
image:https://img.shields.io/badge/Java-17%2B-blue.svg[Java Version]
image:https://img.shields.io/badge/Maven-3.9%2B-blue.svg[Maven Version]

A Maven plugin for extracting resources from JAR dependencies during the build process.

== Usage

[source,xml]
----

com.dataliquid.maven
resource-extractor-maven-plugin
1.0.1



extract


${project.build.directory}/extracted


commons-io
commons-io



META-INF/*.txt



----

== Configuration

[cols="1,2,1",options="header"]
|===
| Parameter | Description | Default

| `outputDirectory`
| Target directory for extracted files
| required

| `dependencies`
| List of dependencies to extract from
| -

| `includes`
| Glob patterns to include
| all files

| `excludes`
| Glob patterns to exclude
| -

| `overwrite`
| Overwrite existing files
| `true`

| `flattenStructure`
| Flatten directory structure
| `false`

| `scope`
| Dependency scope (compile, test, etc.)
| `compile`
|===