Skip to content

This project is a maven plugin which validates the major, minor and build numbers of modules in a given parent pom. It is intended to replace the use of the unit test currently used for the same puropse. The build number is derived from either the SVN revision number or the changes since last branch in GIT. The resulting properties are also stor…

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE
Unknown
license-header.txt
Notifications You must be signed in to change notification settings

TheLanguageArchive/VersionControlCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VersionControlCheck

This project is a maven plugin which validates the major, minor and build numbers of modules in a given parent pom. It is intended to replace the use of the unit test currently used for the same puropse. The build number is derived from either the SVN revision number or the changes since last branch in GIT. The resulting properties are also stored in properties files for use in the application at run time. Properties are also provided for each module to be used in setting the dependencies between the various modules.

Example usage:

    <build>
        <plugins>
            <plugin>
                <groupId>nl.mpi</groupId>
                <artifactId>version-control-check</artifactId>
                <version>1.0-SNAPSHOT</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>revision</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <verbose>true</verbose>
                    <vcsType>git</vcsType>
                    <allowSnapshots>true</allowSnapshots>
                    <projectDirectory>${project.basedir}</projectDirectory>
                    <majorVersion>1</majorVersion>
                    <minorVersion>0</minorVersion>
                    <buildType>pretesting</buildType>
                    <propertiesPrefix>plugin</propertiesPrefix>
                    <shortVersionModules>
                        <param>parent</param>
                    </shortVersionModules>
                </configuration>
            </plugin>
            </plugins>
    </build>
    <pluginRepositories>
        <pluginRepository>
            <id>VersionControlCheck</id>
            <name>VersionControlCheck Repository</name>
            <url>http://kinshipsoftware.github.io/VersionControlCheck/</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <releases>
                <enabled>true</enabled>
            </releases>
        </pluginRepository>
    </pluginRepositories>

About

This project is a maven plugin which validates the major, minor and build numbers of modules in a given parent pom. It is intended to replace the use of the unit test currently used for the same puropse. The build number is derived from either the SVN revision number or the changes since last branch in GIT. The resulting properties are also stor…

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE
Unknown
license-header.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages