template-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.github.wolf480pl.maven-plugins</groupId>
<artifactId>template-maven-plugin</artifactId>
<version>1.0.1</version>
</dependency><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>
<!-- Project information -->
<name>Template Maven Plugin</name>
<groupId>com.github.wolf480pl.maven-plugins</groupId>
<artifactId>template-maven-plugin</artifactId>
<version>1.0.1</version>
<url>http://github.com/Wolf480pl/template-maven-plugin</url>
<inceptionYear>2013</inceptionYear>
<packaging>maven-plugin</packaging>
<description>A maven plugin based on trove4j's source generator. Replicates each template file for every configured primitive and replaces placeholders. It's kinda like compile-time generics for primitive types.</description>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>
<!-- Build properties -->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<author>Wolf480pl</author>
<email>wolf480@interia.pl</email>
<buildNumber>0</buildNumber>
</properties>
<!-- Developers -->
<developers>
<developer>
<name>Wolf480pl</name>
<email>wolf480@interia.pl</email>
<url>https://github.com/Wolf480pl/</url>
</developer>
</developers>
<!-- License information -->
<licenses>
<license>
<name>GNU Lesser General Public License Version 3</name>
<url>https://www.gnu.org/licenses/lgpl-3.0-standalone.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<!-- Source code access -->
<scm>
<url>http://github.com/Wolf480pl/template-maven-plugin</url>
<connection>scm:git:git://github.com/Wolf480pl/template-maven-plugin.git</connection>
<developerConnection>scm:git:git@github.com:Wolf480pl/template-maven-plugin.git</developerConnection>
<tag>v1.0.1</tag>
</scm>
<!-- Continuous integration -->
<ciManagement>
<system>travis</system>
<url>https://travis-ci.org/Wolf480pl/template-maven-plugin</url>
</ciManagement>
<!-- Build dependencies -->
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.0.8</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>1.9.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<version>2.2.1</version>
</dependency>
</dependencies>
<!-- Build configuration -->
<build>
<defaultGoal>clean install</defaultGoal>
<!-- Resources to include -->
<resources>
<!-- Static resources -->
<resource>
<filtering>false</filtering>
<directory>.</directory>
<targetPath>.</targetPath>
<includes>
<include>LICENSE.txt</include>
</includes>
</resource>
</resources>
<!-- Build plugins -->
<plugins>
<!-- License header plugin -->
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>1.10.b1</version>
<executions>
<execution>
<configuration>
<properties>
<name>${project.name}</name>
<url>${email}</url>
<inceptionYear>${project.inceptionYear}</inceptionYear>
<organization>${author}</organization>
</properties>
<quiet>true</quiet>
<encoding>UTF-8</encoding>
<strictCheck>true</strictCheck>
<header>HEADER.txt</header>
<mapping>
<java>SLASHSTAR_STYLE</java>
</mapping>
<keywords>
<keyword>${project.name}</keyword>
<keyword>license</keyword>
</keywords>
<includes>
<include>src/main/java/**</include>
<include>src/test/java/**</include>
</includes>
</configuration>
<phase>clean</phase>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Source compiler plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<compilerArguments>
<O>-Xlint:all</O>
<O>-Xlint:-path</O>
</compilerArguments>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<!-- Maven plugin descriptor generator plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.2</version>
<configuration>
<goalPrefix>template-maven-plugin</goalPrefix>
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
</configuration>
<executions>
<execution>
<id>mojo-descriptor</id>
<goals>
<goal>descriptor</goal>
</goals>
</execution>
<execution>
<id>help-goal</id>
<goals>
<goal>helpmojo</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Maven release plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<localCheckout>true</localCheckout>
<pushChanges>false</pushChanges>
<arguments>${arguments} -Psonatype-oss-release,run-its</arguments>
</configuration>
</plugin>
</plugins>
</build>
<!-- Build profiles -->
<profiles>
<profile>
<activation>
<property>
<name>env.TRAVIS_BRANCH</name>
<value>master</value>
</property>
</activation>
<id>run-its</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.7</version>
<configuration>
<debug>true</debug>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<pomIncludes>
<pomInclude>*/pom.xml</pomInclude>
</pomIncludes>
<postBuildHookScript>verify</postBuildHookScript>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<settingsFile>src/it/settings.xml</settingsFile>
<goals>
<goal>clean</goal>
<goal>test</goal>
</goals>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>install</goal>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>wolf480-nexus-deploy</id>
<activation>
<property>
<name>env.TRAVIS_BRANCH</name>
<value>master</value>
</property>
</activation>
<distributionManagement>
<snapshotRepository>
<id>wolf480pl-snapshots</id>
<name>Wolf480pl Nexus Snapshots</name>
<url>http://nex-wolf480pl.rhcloud.com/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>
</project>