Maven Merge Plugin

Merges multiple files into one

Лицензия

Лицензия

Категории

Категории

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

Группа

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

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

merge-maven-plugin
Последняя версия

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

0.0.3
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Maven Merge Plugin
Merges multiple files into one
Организация-разработчик

Организация-разработчик

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

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

https://github.com/rob19780114/merge-maven-plugin.git

Скачать merge-maven-plugin

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

<plugin>
    <groupId>org.zcore.maven</groupId>
    <artifactId>merge-maven-plugin</artifactId>
    <version>0.0.3</version>
</plugin>

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.0.1
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.2

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

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

merge-maven-plugin

Maven(3) plugin which merges multiple files into one

Simple Configuration example

<mergers>
  <merge>
    <target>${build.outputDirectory}/target.txt</target>
    <sources>
      <source>src/main/config/${property}/application.txt</source>
      <source>src/main/config/extended/application.txt</source>
      <source>src/main/config/default/application.txt</source>
    </sources>
  </merge>
</mergers>

Full pom configuration example

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  [...]
  <dependencies>
    <dependency>
      <groupId>org.zcore.maven</groupId>
      <artifactId>merge-maven-plugin</artifactId>
      <version>0.0.3</version>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.zcore.maven</groupId>
        <artifactId>merge-maven-plugin</artifactId>
        <configuration>
          <mergers>
            <merger>
              <target>${build.outputDirectory}/target.txt</target>
              <sources>
                <source>src/main/resources/input0.txt</source>
                <source>src/main/resources/input1.txt</source>
                <source>src/main/resources/inputn.txt</source>
              </sources>
            </merger>
          </mergers>
        </configuration>
      </plugin>
    </plugins>
  </build>
  [...]
</project>

How to run?

At the moment do mvn org.zcore.maven:merge-maven-plugin:merge. This will be easier in the future

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

Версия
0.0.3