maven-editsource

Maven plugin to edit source/resource files with variables

License

License

Categories

Categories

Maven Build Tools Ant
GroupId

GroupId

in.ashwanthkumar
ArtifactId

ArtifactId

maven-editsource
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

maven-editsource
Maven plugin to edit source/resource files with variables
Project URL

Project URL

https://github.com/ashwanthkumar/maven-editsource
Source Code Management

Source Code Management

https://github.com/ashwanthkumar/maven-editsource

Download maven-editsource

How to add to project

<plugin>
    <groupId>in.ashwanthkumar</groupId>
    <artifactId>maven-editsource</artifactId>
    <version>0.0.2</version>
</plugin>

Dependencies

compile (1)

Group / Artifact Type Version
in.ashwanthkumar : my-java-utils jar 0.1.0

provided (2)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.0
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.4

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

maven-editsource

Maven EditSource Plugin.

Usage

<plugin>
    <groupId>in.ashwanthkumar</groupId>
    <artifactId>maven-editsource</artifactId>
    <version>0.0.2</version>
    <executions>
        <execution>
            <phase>generate-resources</phase>
            <goals>
                <goal>edit</goal>
            </goals>
            <configuration>
                <variables>
                    <version>${project.version}</version>
                </variables>
                <files>
                    <file>
                        <input>${project.basedir}/src/main/resources/plugin.xml</input>
                        <output>${project.build.outputDirectory}/plugin.xml</output>
                    </file>
                </files>
            </configuration>
        </execution>
    </executions>
</plugin>

License

http://www.apache.org/licenses/LICENSE-2.0

Versions

Version
0.0.2
0.0.1