combiner-maven-plugin

The combiner-maven-plugin is used to take multiple different resources (typically files) and merge them into a single resource.

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.github.jasonmfehr
ArtifactId

ArtifactId

combiner-maven-plugin
Last Version

Last Version

1.0.0-beta-05
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

combiner-maven-plugin
The combiner-maven-plugin is used to take multiple different resources (typically files) and merge them into a single resource.

Download combiner-maven-plugin

How to add to project

<plugin>
    <groupId>com.github.jasonmfehr</groupId>
    <artifactId>combiner-maven-plugin</artifactId>
    <version>1.0.0-beta-05</version>
</plugin>

Dependencies

compile (4)

Group / Artifact Type Version
com.github.jasonmfehr : combiner-maven-plugin-api jar 1.0.0-beta-05
com.google.guava : guava jar 16.0.1
org.apache.commons : commons-lang3 jar 3.3.1
org.apache.maven : maven-core jar 3.2.1

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.2

test (2)

Group / Artifact Type Version
junit : junit jar 4.11
org.mockito : mockito-all jar 1.9.5

Project Modules

There are no modules declared in this project.

combiner-maven-plugin

Build Status Maven Central

Documentation can be found at: https://jasonmfehr.github.io/combiner-maven-plugin/

Sample pom showing all available configuration options:
<plugin>
  <groupId>com.github.jasonmfehr</groupId>
  <artifactId>combiner-maven-plugin</artifactId>
  <version>latest</version>
  <configuration>
    <skip>false</skip>
    <encoding>UTF-8</encoding>
    <combinations>
      <combination>
        <id>append-files</id>
        <inputResources>
          <includes>
            <include>src/main/resources/file*.txt</include>
          </includes>
          <excludes>
            <exclude>src/main/resources/file-exclude-me.txt</exclude>
          </excludes>
        </inputResources>
        <inputSourceReader>InputReader</inputSourceReader>
        <transformers>
          <transformer>Transformer1</transformer>
          <transformer>Transformer2</transformer>
        </transformers>
        <combiner>Combiner</combiner>
        <outputSourceWriter>OutputWriter</outputSourceWriter>
        <outputDestination>output-file.txt</outputDestination>
        <settings>
          <key1>value1</key1>
          <key2>value2</key2>
        </settings>
      </combination>
    </combinations>
  </configuration>
  <executions>
    <execution>
      <id>combiner</id>
      <goals>
        <goal>combine</goal>
      </goals>
    </execution>
  </executions>
</plugin>

Versions

Version
1.0.0-beta-05
1.0.0-beta-04
1.0.0-beta-03
1.0.0-beta-01