forked from phoedos/pmd
174 lines
5.1 KiB
XML
174 lines
5.1 KiB
XML
<?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>
|
|
|
|
<parent>
|
|
<groupId>org.sonatype.oss</groupId>
|
|
<artifactId>oss-parent</artifactId>
|
|
<version>7</version>
|
|
</parent>
|
|
|
|
<groupId>net.sourceforge.pmd</groupId>
|
|
<artifactId>pmd-build</artifactId>
|
|
<name>PMD Build Plugin</name>
|
|
<version>0.8-SNAPSHOT</version>
|
|
<packaging>maven-plugin</packaging>
|
|
<description>
|
|
<![CDATA[
|
|
This small subproject regroup most of the stuff needed to build pmd.
|
|
As some java code has been produced to reduce the use of scripts when
|
|
generating the website, the build also requires a small jar, which is
|
|
generated by this pom.
|
|
|
|
IMPORTANT NOTE: the pmd-build.jar does not need to be recompile if you
|
|
modify any ant or xslt files. You can alter the files that are in the
|
|
xslt directory and directly uses the appropriate ant or java task.
|
|
pmd-build should be recompiled and package (and its version incrememented)
|
|
only if you modify the java code.
|
|
]]>
|
|
</description>
|
|
<url>http://pmd.sourceforge.net/</url>
|
|
<inceptionYear>2008</inceptionYear>
|
|
<licenses>
|
|
<license>
|
|
<name>BSD-style</name>
|
|
<url>http://pmd.sourceforge.net/license.html</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<scm>
|
|
<connection>scm:git:git://github.com/pmd/pmd.git</connection>
|
|
<developerConnection>scm:git:ssh://git@github.com/pmd/pmd.git</developerConnection>
|
|
<url>https://github.com/pmd/pmd</url>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>rpelisse</id>
|
|
<name>Romain Pelisse</name>
|
|
<email>rpelisse@users.sourceforge.net</email>
|
|
<roles>
|
|
<role>Developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>adangel</id>
|
|
<name>Andreas Dangel</name>
|
|
<email>adangel@users.sourceforge.net</email>
|
|
<roles>
|
|
<role>Developer</role>
|
|
</roles>
|
|
</developer>
|
|
</developers>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.3.2</version>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.3.2</version>
|
|
<configuration>
|
|
<tagNameFormat>@{project.artifactId}/@{project.version}</tagNameFormat>
|
|
<pushChanges>false</pushChanges>
|
|
<localCheckout>true</localCheckout>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<mavenVersion>3.0.3</mavenVersion>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.ant</groupId>
|
|
<artifactId>ant</artifactId>
|
|
<version>1.8.2</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-plugin-api</artifactId>
|
|
<version>${mavenVersion}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-core</artifactId>
|
|
<version>${mavenVersion}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-compat</artifactId>
|
|
<version>${mavenVersion}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.8.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.maven.plugin-testing</groupId>
|
|
<artifactId>maven-plugin-testing-harness</artifactId>
|
|
<version>2.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<configuration>
|
|
<linkXref>true</linkXref>
|
|
<sourceEncoding>utf-8</sourceEncoding>
|
|
<minimumTokens>100</minimumTokens>
|
|
<targetJdk>1.6</targetJdk>
|
|
<rulesets>
|
|
<ruleset>http://pmd.svn.sourceforge.net/svnroot/pmd/trunk/pmd/rulesets/internal/dogfood.xml</ruleset>
|
|
</rulesets>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>2.8</version>
|
|
<configuration>
|
|
<configLocation>etc/checkstyle-config.xml</configLocation>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
</project>
|
|
|