pmd/pom.xml

1031 lines
40 KiB
XML
Raw Normal View History

<?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>net.sourceforge.pmd</groupId>
<artifactId>pmd</artifactId>
<version>5.4.4-SNAPSHOT</version>
<packaging>pom</packaging>
<name>PMD</name>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
<relativePath />
</parent>
<description>
<![CDATA[
<p>PMD scans Java source code and looks for potential problems like:</p>
<ul>
<li>Possible bugs - empty try/catch/finally/switch statements</li>
<li>Dead code - unused local variables, parameters and private methods</li>
<li>Suboptimal code - wasteful String/StringBuffer usage</li>
<li>Overcomplicated expressions - unnecessary if statements, for loops that could be while loops</li>
<li>Duplicate code - copied/pasted code means copied/pasted bugs</li>
</ul>
<p>You can <b><a href="https://github.com/pmd/pmd/releases">download everything from here</a></b>, and you can get an overview of all the rules at the <a href="https://pmd.github.io/latest/pmd-java/rules/index.html">rulesets index</a> page.</p>
<p>PMD is <a href="https://pmd.github.io/latest/usage/integrations.html">integrated</a> with JDeveloper, Eclipse, JEdit, JBuilder, BlueJ, CodeGuide, NetBeans/Sun Java Studio Enterprise/Creator, IntelliJ IDEA, TextPad, Maven, Ant, Gel, JCreator, and Emacs.</p>
]]>
</description>
<url>https://pmd.github.io/</url>
<ciManagement>
<url>https://travis-ci.org/pmd/pmd</url>
</ciManagement>
<inceptionYear>2002</inceptionYear>
<licenses>
<license>
<name>BSD-style</name>
<url>http://pmd.sourceforge.net/license.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<mailingLists>
<mailingList>
<name>PMD development</name>
<subscribe>https://lists.sourceforge.net/lists/listinfo/pmd-devel</subscribe>
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/pmd-devel</unsubscribe>
<archive>https://sourceforge.net/p/pmd/mailman/pmd-devel</archive>
</mailingList>
<mailingList>
<name>PMD commits</name>
<subscribe>https://lists.sourceforge.net/lists/listinfo/pmd-commits</subscribe>
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/pmd-commits</unsubscribe>
<archive>https://sourceforge.net/p/pmd/mailman/pmd-commits</archive>
</mailingList>
</mailingLists>
<developers>
<developer>
<id>tomcopeland</id>
<name>Tom Copeland</name>
<email>tom@infoether.com</email>
<organization>InfoEther</organization>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>dpeugh</id>
<name>David Dixon-Peugh</name>
<email>ddp@apache.org</email>
<organization>Lockheed Martin Corporation</organization>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>olemartin</id>
<name>Ole-Martin Mork</name>
<email>olemartin@users.sourceforge.net</email>
<organization>Bekk Consulting</organization>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>mikkey</id>
<name>Miguel Griffa</name>
<email>mikkey@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>phherlin</id>
<name>Philippe Herlin</name>
<email>phherlin@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>jigerjava</id>
<name>Jiger Patel</name>
<email>jigerjava@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>kubacki</id>
<name>Radim Kubacki</name>
<email>kubacki@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>tomslot</id>
<name>Tomasz Slota</name>
<email>tomslot@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>ezust</id>
<name>Alan Ezust</name>
<email>ezust@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>nascif</id>
<name>Nascif Abousalh Neto</name>
<email>nascif@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>allancaplan</id>
<name>Allan Caplan</name>
<email>allancaplan@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>holobender</id>
<name>Sven Jacob</name>
<email>holobender@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>wfzelle</id>
<name>Wouter Zelle</name>
<email>wfzelle@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>hooperbloob</id>
<name>Brian Remedios</name>
<email>hooperbloob@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>xlv</id>
<name>Xavier Le Vourch</name>
<email>xlv@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>rgustav</id>
<name>Ryan Gustafson</name>
<email>rgustav@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>bluejohn</id>
<name>Johan Nagels</name>
<email>bluejohn@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>tkleiber</id>
<name>Torsten Kleiber</name>
<url>http://develishdevelopment.wordpress.com</url>
<email>tkleiber@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>rpelisse</id>
<name>Romain Pelisse</name>
<email>rpelisse@users.sourceforge.net</email>
<url>http://belaran.eu/</url>
<organization>Atos Origin</organization>
<organizationUrl>https://osc-service.si.fr.atosorigin.com/</organizationUrl>
<roles>
<role>Developer</role>
</roles>
<timezone>+1</timezone>
<properties>
<picUrl>http://belaran.eu/wordpress/wp-content/uploads/2008/05/RomainPELISSE.jpg</picUrl>
</properties>
</developer>
<developer>
<id>adangel</id>
<name>Andreas Dangel</name>
<email>adangel@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<id>acanda</id>
<name>Philip Graf</name>
<email>acanda@users.sourceforge.net</email>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id> juansotuyo</id>
<name>Juan Martín Sotuyo Dodero</name>
<email>jmsotuyo@monits.com</email>
<roles>
<role>Developer</role>
</roles>
<timezone>-3</timezone>
</developer>
</developers>
<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>
2014-10-03 21:00:28 +02:00
<distributionManagement>
<site>
<id>local</id>
<url>file:///tmp/pmd-site</url>
</site>
</distributionManagement>
<organization>
<name>PMD</name>
<url>https://pmd.github.io/</url>
</organization>
<issueManagement>
<url>https://github.com/pmd/pmd/issues</url>
</issueManagement>
<properties>
<javacc.version>5.0</javacc.version>
2015-10-04 11:55:51 +02:00
<surefire.version>2.18.1</surefire.version>
<checkstyle.version>2.16</checkstyle.version>
<pmd.plugin.version>3.5</pmd.plugin.version>
<java.version>1.7</java.version>
2015-09-26 18:13:34 +02:00
<jacoco.version>0.7.5.201505241946</jacoco.version>
2015-10-04 11:55:51 +02:00
<ant.version>1.9.6</ant.version>
<javadoc.plugin.version>2.10.3</javadoc.plugin.version>
<antlr.version>4.5.2-1</antlr.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2014-10-08 21:49:23 +02:00
<pmd.website.baseurl>http://pmd.sourceforge.net/snapshot/${project.artifactId}</pmd.website.baseurl>
2015-09-26 18:13:34 +02:00
<argLine>-Xmx512m -Dfile.encoding=${project.build.sourceEncoding}</argLine>
<config.basedir>${basedir}/pmd-core</config.basedir>
<pmd.dogfood.ruleset>${config.basedir}/src/main/resources/rulesets/internal/dogfood.xml</pmd.dogfood.ruleset>
<checkstyle.configLocation>${config.basedir}/etc/checkstyle-config.xml</checkstyle.configLocation>
<checkstyle.suppressionsFile>${config.basedir}/etc/checkstyle-suppressions.xml</checkstyle.suppressionsFile>
</properties>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
2015-10-04 11:55:51 +02:00
<version>2.10</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<version>${antlr.version}</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
<executions>
<execution>
<id>antlr</id>
<goals>
<goal>antlr4</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
2015-10-04 11:55:51 +02:00
<version>1.8</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
2015-10-04 11:55:51 +02:00
<version>2.5.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
2015-10-04 11:55:51 +02:00
<version>2.10</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
2015-10-04 11:55:51 +02:00
<version>2.5.2</version>
<configuration>
<releaseProfiles>pmd-release</releaseProfiles>
<pushChanges>false</pushChanges>
<localCheckout>true</localCheckout>
<autoVersionSubmodules>true</autoVersionSubmodules>
2014-10-18 21:28:26 +02:00
<tagNameFormat>pmd_releases/@{project.version}</tagNameFormat>
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
2015-10-04 11:55:51 +02:00
<version>2.6.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
2015-10-04 11:55:51 +02:00
<version>3.3</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
2014-10-18 21:38:57 +02:00
<version>2.8.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
2014-10-18 21:38:57 +02:00
<version>2.5.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
2015-10-04 11:55:51 +02:00
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
2014-10-18 21:38:57 +02:00
<version>2.7</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.4</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>1.6</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
<configuration>
<forkMode>once</forkMode>
<runOrder>alphabetical</runOrder>
</configuration>
</plugin>
2016-04-10 16:55:25 +02:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<version>${java.version}</version>
</jdk>
</toolchains>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
2014-10-18 21:38:57 +02:00
<version>1.9.1</version>
</plugin>
<plugin>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-build</artifactId>
<version>0.10</version>
<executions>
<execution>
<goals>
<goal>pmd-pre-site</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
2014-10-18 21:38:57 +02:00
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
2015-10-04 11:55:51 +02:00
<version>1.4.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${pmd.plugin.version}</version>
</plugin>
<!--This plugin's configuration is used to store Eclipse
m2e settings only. It has no influence on the Maven build itself. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<versionRange>[1.7,)</versionRange>
<goals>
<goal>run</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute>
<runOnIncremental>false</runOnIncremental>
<runOnConfiguration>true</runOnConfiguration>
</execute>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
2014-10-03 21:00:28 +02:00
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<inherited>false</inherited>
2014-10-03 21:00:28 +02:00
<executions>
<execution>
<id>attach-site-descriptor</id>
<goals>
<goal>attach-descriptor</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<inherited>true</inherited>
<executions>
<execution>
<id>pmd-clean</id>
<phase>clean</phase>
<configuration>
<target>
<echo>PMD specific tasks: cleaning generated xdocs</echo>
<delete quiet="true">
<fileset dir="${src.xdocs.dir}/rules" includes="**/*.xml" />
<fileset dir="${src.xdocs.dir}/" includes="mergedruleset.xml" />
</delete>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
2015-09-26 18:13:34 +02:00
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
2015-04-04 10:50:09 +02:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>pmd</goal>
<goal>cpd</goal>
</goals>
</execution>
</executions>
<configuration>
<minimumTokens>100</minimumTokens>
<targetJdk>${java.version}</targetJdk>
<rulesets>
<ruleset>${pmd.dogfood.ruleset}</ruleset>
</rulesets>
<excludeRoots>
<excludeRoot>target/generated-sources/javacc</excludeRoot>
</excludeRoots>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
</executions>
<configuration>
<configLocation>${checkstyle.configLocation}</configLocation>
2015-10-04 11:55:51 +02:00
<suppressionsLocation>${checkstyle.suppressionsFile}</suppressionsLocation>
2015-04-04 10:50:09 +02:00
</configuration>
</plugin>
2016-04-10 16:55:25 +02:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
</plugin>
2014-10-03 21:00:28 +02:00
</plugins>
</build>
2014-10-08 21:49:23 +02:00
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
2015-10-04 11:55:51 +02:00
<version>2.5</version>
2014-10-08 21:49:23 +02:00
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
2014-10-18 21:38:57 +02:00
<version>${javadoc.plugin.version}</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
2014-10-08 21:49:23 +02:00
<reportSets>
<reportSet>
<reports>
<report>javadoc</report>
<report>test-javadoc</report>
<report>aggregate</report>
<report>test-aggregate</report>
2014-10-08 21:49:23 +02:00
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${pmd.plugin.version}</version>
<configuration>
<linkXref>true</linkXref>
<minimumTokens>100</minimumTokens>
<targetJdk>${java.version}</targetJdk>
<rulesets>
<ruleset>${pmd.dogfood.ruleset}</ruleset>
2014-10-08 21:49:23 +02:00
</rulesets>
2014-11-15 19:08:39 +01:00
<excludeRoots>
<excludeRoot>target/generated-sources/javacc</excludeRoot>
</excludeRoots>
2014-10-08 21:49:23 +02:00
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyle.version}</version>
<configuration>
<configLocation>${checkstyle.configLocation}</configLocation>
2015-10-04 12:05:41 +02:00
<suppressionsLocation>${checkstyle.suppressionsFile}</suppressionsLocation>
2014-10-08 21:49:23 +02:00
</configuration>
<reportSets>
<reportSet>
<reports>
<report>checkstyle</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
2015-10-04 11:55:51 +02:00
<version>2.8.1</version>
2014-10-08 21:49:23 +02:00
<reportSets>
<reportSet>
<reports>
<report>summary</report>
<report>dependencies</report>
<report>dependency-convergence</report>
<report>dependency-info</report>
<report>dependency-management</report>
<report>modules</report>
<report>plugin-management</report>
<report>plugins</report>
2014-10-08 21:49:23 +02:00
<report>project-team</report>
<report>mailing-list</report>
<report>cim</report>
<report>issue-tracking</report>
<report>license</report>
<report>scm</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${surefire.version}</version>
</plugin>
2015-09-26 18:13:34 +02:00
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
</plugin>
2014-10-08 21:49:23 +02:00
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
2015-10-04 11:55:51 +02:00
<version>2.2</version>
2014-10-08 21:49:23 +02:00
<reportSets>
<reportSet>
<reports>
<report>dependency-updates-report</report>
<report>plugin-updates-report</report>
<report>property-updates-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>${antlr.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>${ant.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-testutil</artifactId>
<version>${ant.version}</version>
</dependency>
<dependency>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
2015-10-04 11:55:51 +02:00
<version>1.1.6</version>
<exclusions>
<exclusion>
<artifactId>xercesImpl</artifactId>
<groupId>xerces</groupId>
</exclusion>
<exclusion>
<artifactId>xalan</artifactId>
<groupId>xalan</groupId>
</exclusion>
<exclusion>
<artifactId>icu4j</artifactId>
<groupId>com.ibm.icu</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.beust</groupId>
<artifactId>jcommander</artifactId>
2015-10-04 11:55:51 +02:00
<version>1.48</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
2015-10-04 11:55:51 +02:00
<version>5.0.4</version>
</dependency>
2014-10-12 09:39:43 +02:00
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-test</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.saxon</groupId>
<artifactId>saxon</artifactId>
<version>9.1.0.8</version>
</dependency>
<dependency>
<groupId>net.sourceforge.saxon</groupId>
<artifactId>saxon</artifactId>
<version>9.1.0.8</version>
<classifier>dom</classifier>
</dependency>
<dependency>
<groupId>org.mozilla</groupId>
<artifactId>rhino</artifactId>
2015-10-04 11:55:51 +02:00
<version>1.7.7</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
2015-10-04 11:55:51 +02:00
<version>4.12</version>
</dependency>
<dependency>
<groupId>net.java.dev.javacc</groupId>
<artifactId>javacc</artifactId>
<version>${javacc.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
2015-10-04 11:55:51 +02:00
<version>1.10.19</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
2015-10-04 11:55:51 +02:00
<version>3.4</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
2015-10-04 11:55:51 +02:00
<version>1.7.12</version>
</dependency>
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock</artifactId>
2015-10-04 11:55:51 +02:00
<version>1.57</version>
</dependency>
<dependency>
<groupId>com.github.stefanbirkner</groupId>
<artifactId>system-rules</artifactId>
<version>1.8.0</version>
</dependency>
</dependencies>
</dependencyManagement>
<repositories>
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>sonatype-nexus-plugin-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<profiles>
<profile>
<id>pmd-release</id>
<properties>
2015-07-25 12:56:08 +02:00
<pmd.website.baseurl>https://pmd.github.io/pmd-${project.version}/${project.artifactId}</pmd.website.baseurl>
</properties>
</profile>
<profile>
<id>sf-release</id>
<distributionManagement>
<repository>
<id>pmd-repo</id>
<name>Default Repository</name>
<url>scp://shell.sourceforge.net/home/project-web/pmd/htdocs/maven2</url>
</repository>
<site>
<id>pmd-site</id>
<name>Default Site</name>
<url>scp://shell.sourceforge.net/home/project-web/pmd/htdocs/pmd-${project.version}</url>
</site>
</distributionManagement>
<properties>
2015-07-25 12:56:08 +02:00
<pmd.website.baseurl>https://pmd.github.io/pmd-${project.version}/${project.artifactId}</pmd.website.baseurl>
</properties>
<build>
<plugins>
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<updateReleaseInfo>true</updateReleaseInfo>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>sf-snapshot</id>
<distributionManagement>
<snapshotRepository>
<id>pmd-snapshot-repo</id>
<name>Snapshot Repository</name>
<url>scp://shell.sourceforge.net/home/project-web/pmd/htdocs/snapshot/maven2</url>
<uniqueVersion>true</uniqueVersion>
</snapshotRepository>
<site>
<id>pmd-snapshot-site</id>
<name>Default Site</name>
<url>scp://shell.sourceforge.net/home/project-web/pmd/htdocs/snapshot</url>
</site>
</distributionManagement>
</profile>
<profile>
<id>jdk8-modules</id>
<activation>
<jdk>1.8</jdk>
</activation>
<modules>
<module>pmd-java8</module>
<module>pmd-ui</module>
</modules>
</profile>
<profile>
<id>jdk9-disabled</id>
<activation>
<jdk>!1.9</jdk>
</activation>
<modules>
<!--
https://issues.scala-lang.org/browse/SI-9103
https://sourceforge.net/p/pmd/bugs/1314/
-->
<module>pmd-scala</module>
</modules>
</profile>
2016-04-10 16:55:25 +02:00
<profile>
<id>travis</id>
<activation>
<!-- https://github.com/travis-ci/travis-ci/issues/2727 -->
<!-- http://docs.travis-ci.com/user/ci-environment/#Environment-variables -->
<!-- from: https://github.com/marschall/jdeps-maven-plugin/blob/master/pom.xml -->
<property>
<name>env.TRAVIS</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-toolchains-plugin</artifactId>
<executions>
<execution>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>site</id>
<!--
In order to build the site and build the aggregate javadoc report
javadoc needs to use java8 in order to be able to parse the java8 modules (apex, ui, ...)
-->
<properties>
<java.version>1.8</java.version>
</properties>
</profile>
</profiles>
<modules>
<module>pmd-core</module>
<module>pmd-cpp</module>
2014-10-11 11:23:07 +02:00
<module>pmd-cs</module>
<module>pmd-dist</module>
<module>pmd-fortran</module>
<module>pmd-go</module>
<module>pmd-java</module>
2014-10-04 18:23:23 +02:00
<module>pmd-javascript</module>
<module>pmd-jsp</module>
2015-01-07 10:46:03 +01:00
<module>pmd-matlab</module>
2015-01-08 16:04:15 +01:00
<module>pmd-objectivec</module>
2014-10-04 20:00:55 +02:00
<module>pmd-php</module>
<module>pmd-plsql</module>
2015-01-06 17:02:02 +01:00
<module>pmd-python</module>
2014-10-04 20:09:46 +02:00
<module>pmd-ruby</module>
<module>pmd-swift</module>
<module>pmd-test</module>
<module>pmd-vm</module>
<module>pmd-xml</module>
</modules>
</project>