206 lines
7.7 KiB
XML
206 lines
7.7 KiB
XML
<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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.github.gumtreediff</groupId>
|
|
<artifactId>gumtree</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
<url>http://harmony.googlecode.com</url>
|
|
<name>GumTree</name>
|
|
<organization>
|
|
<name>LaBRI</name>
|
|
<url>http://se.labri.fr</url>
|
|
</organization>
|
|
<scm>
|
|
<connection>scm:git:https://github.com/GumTreeDiff/gumtree/</connection>
|
|
<developerConnection>scm:git:https://github.com/GumTreeDiff/gumtree/</developerConnection>
|
|
<url>https://github.com/GumTreeDiff/gumtree/</url>
|
|
</scm>
|
|
|
|
<modules>
|
|
<module>core</module>
|
|
<!-- <module>gen.antlr</module>
|
|
<module>gen.antlr-r</module>
|
|
<module>gen.antlr-antlr</module>
|
|
<module>gen.antlr-json</module>
|
|
<module>gen.antlr-css</module>
|
|
<module>gen.antlr-php</module>
|
|
<module>gen.antlr-xml</module> -->
|
|
<module>gen.jdt</module>
|
|
<module>gen.srcml</module>
|
|
<!-- <module>gen.js</module>
|
|
<module>gen.ruby</module>
|
|
<module>gen.sax</module>
|
|
<module>gen.c</module> -->
|
|
<module>client</module>
|
|
<module>client.diff</module>
|
|
<!-- <module>gumtree-all</module> -->
|
|
</modules>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.12</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>1.7.25</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.3</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>2.15</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
<artifactId>checkstyle</artifactId>
|
|
<version>6.7</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<configLocation>gumtree_checkstyle.xml</configLocation>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>1.6.5</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<serverId>ossrh</serverId>
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- CODE COVERAGE -->
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>0.7.5.201505241946</version>
|
|
<executions>
|
|
<!-- Prepare execution with Surefire -->
|
|
<execution>
|
|
<id>pre-unit-test</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
<configuration>
|
|
<propertyName>surefireArgLine</propertyName>
|
|
</configuration>
|
|
</execution>
|
|
<!-- Generate report after tests are run -->
|
|
<execution>
|
|
<id>post-unit-test</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<!-- Specify classes to ignore in code coverage -->
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/ui/**</exclude>
|
|
<exclude>**/StartSolverUi**</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- UNIT TEST RUNNER -->
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.18.1</version>
|
|
<configuration>
|
|
<argLine>${surefireArgLine}</argLine>
|
|
<includes>
|
|
<include>**/*Test*.java</include>
|
|
</includes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>run-unit-tests</id>
|
|
<goals>
|
|
<goal>test</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eluder.coveralls</groupId>
|
|
<artifactId>coveralls-maven-plugin</artifactId>
|
|
<version>3.1.0</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release-profile</id>
|
|
<activation>
|
|
<property>
|
|
<name>release</name>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>1.5</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>ossrh</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
</project>
|
|
|