gitdescribe-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.lukegb.mojo</groupId> <artifactId>gitdescribe-maven-plugin</artifactId> <version>3.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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"> <modelVersion>4.0.0</modelVersion> <groupId>com.lukegb.mojo</groupId> <artifactId>gitdescribe-maven-plugin</artifactId> <packaging>maven-plugin</packaging> <name>Git Describe Maven Plugin</name> <version>3.0</version> <url>https://github.com/lukegb/GitDescribe-Maven-Plugin/</url> <inceptionYear>2011</inceptionYear> <prerequisites> <maven>2.0.6</maven> </prerequisites> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>7</version> </parent> <description> This plugin is designed to give you a build number. So when you might make 100 builds of version 1.0-SNAPSHOT, you can differentiate between them all. It does this by taking the output of git describe and saving it into a Maven build variable, so you can reference the value in your POM. </description> <licenses> <license> <name>The MIT License</name> <url>LICENSE.txt</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>lukegb</id> <name>Luke Granger-Brown</name> <email>git@lukegb.com</email> <url>http://www.lukegb.com</url> <organization>Bukkit</organization> <organizationUrl>http://bukkit.org</organizationUrl> <timezone>0</timezone> </developer> </developers> <properties> <maven.scm.version>1.2</maven.scm.version> <maven.api.version>2.0.6</maven.api.version> </properties> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-project</artifactId> <version>${maven.api.version}</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings</artifactId> <version>${maven.api.version}</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>${maven.api.version}</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${maven.api.version}</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-container-default</artifactId> <version>1.0-alpha-9-stable-1</version> </dependency> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-api</artifactId> <version>${maven.scm.version}</version> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-idea-plugin</artifactId> <configuration> <downloadSources>false</downloadSources> <downloadJavadocs>false</downloadJavadocs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <version>1.5</version> <configuration> <debug>true</debug> <projectsDirectory>src/it</projectsDirectory> <pomIncludes> <pomInclude>**/pom.xml</pomInclude> </pomIncludes> <postBuildHookScript>verify</postBuildHookScript> <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> <goals> <goal>clean</goal> <goal>package</goal> </goals> <settingsFile>src/it/settings.xml</settingsFile> <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> <cloneAllFiles>true</cloneAllFiles> </configuration> <executions> <execution> <id>integration-test</id> <goals> <goal>install</goal> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changes-plugin</artifactId> <version>2.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <version>1.5</version> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>run-its</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> </plugin> </plugins> </build> </profile> </profiles> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changes-plugin</artifactId> <version>2.1</version> <reportSets> <reportSet> <reports> <report>changes-report</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> <scm> <url>https://github.com/lukegb/GitDescribe-Maven-Plugin</url> <connection>scm:git:https://github.com/lukegb/GitDescribe-Maven-Plugin.git</connection> <developerConnection>scm:git:https://github.com/lukegb/GitDescribe-Maven-Plugin.git</developerConnection> </scm> </project>