|
|
@@ -1,233 +1,248 @@
|
|
|
-<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>
|
|
|
- <artifactId>jplag</artifactId>
|
|
|
- <version>2.12.1-SNAPSHOT</version>
|
|
|
-
|
|
|
- <parent>
|
|
|
- <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
- <artifactId>parent</artifactId>
|
|
|
- <version>0.3-SNAPSHOT</version>
|
|
|
- <relativePath>../jplag.parent/pom.xml</relativePath>
|
|
|
- </parent>
|
|
|
- <repositories>
|
|
|
- <repository>
|
|
|
- <id>ipdNexus</id>
|
|
|
- <name>IPD-Nexus-Public</name>
|
|
|
- <url>http://bob.ipd.kit.edu/nexus/repository/maven-public-all</url>
|
|
|
- </repository>
|
|
|
- </repositories>
|
|
|
-
|
|
|
- <build>
|
|
|
- <resources>
|
|
|
- <resource>
|
|
|
- <directory>src/main/resources</directory>
|
|
|
- <filtering>true</filtering>
|
|
|
- <includes>
|
|
|
- <include>jplag/version.properties</include>
|
|
|
- </includes>
|
|
|
- </resource>
|
|
|
- <resource>
|
|
|
- <directory>src/main/resources</directory>
|
|
|
- <filtering>false</filtering>
|
|
|
- <excludes>
|
|
|
- <exclude>jplag/version.properties</exclude>
|
|
|
- </excludes>
|
|
|
- </resource>
|
|
|
- </resources>
|
|
|
-
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.codehaus.mojo</groupId>
|
|
|
- <artifactId>build-helper-maven-plugin</artifactId>
|
|
|
- <version>1.7</version>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>add-antlr-source</id>
|
|
|
- <phase>generate-sources</phase>
|
|
|
- <goals>
|
|
|
- <goal>add-source</goal>
|
|
|
- </goals>
|
|
|
- <configuration>
|
|
|
- <sources>
|
|
|
- <source>target/generated-sources/antlr</source>
|
|
|
- <source>target/generated-sources/javacc</source>
|
|
|
- </sources>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- <plugin>
|
|
|
- <groupId>org.codehaus.mojo</groupId>
|
|
|
- <artifactId>javacc-maven-plugin</artifactId>
|
|
|
- <!-- If you need javacc version 3.2 (as did the original jplag) use plugin
|
|
|
- version 2.0; plugin version 2.6 uses javacc version 5.0 -->
|
|
|
- <version>2.6</version>
|
|
|
- <configuration>
|
|
|
- <debugParser>false</debugParser>
|
|
|
- <isStatic>false</isStatic>
|
|
|
- <!-- we need this since the old plugin does not read the package from
|
|
|
- the grammar; as of 2.4 the plugin does that on its own <packageName>jplag.filter</packageName> -->
|
|
|
- </configuration>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>javacc</id>
|
|
|
- <goals>
|
|
|
- <goal>javacc</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-jar-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <archive>
|
|
|
- <manifest>
|
|
|
- <mainClass>jplag.CLI</mainClass>
|
|
|
- <packageName>jplag</packageName>
|
|
|
- </manifest>
|
|
|
- </archive>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-assembly-plugin</artifactId>
|
|
|
- <version>2.4</version>
|
|
|
- <configuration>
|
|
|
- <descriptorRefs>
|
|
|
- <descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
- </descriptorRefs>
|
|
|
-
|
|
|
- <archive>
|
|
|
- <manifest>
|
|
|
- <mainClass>jplag.CLI</mainClass>
|
|
|
- <packageName>jplag</packageName>
|
|
|
- </manifest>
|
|
|
- </archive>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- <plugin>
|
|
|
- <groupId>com.github.wvengen</groupId>
|
|
|
- <artifactId>proguard-maven-plugin</artifactId>
|
|
|
- <version>2.0.11</version>
|
|
|
- <!-- executions>
|
|
|
- <execution>
|
|
|
- <phase>package</phase>
|
|
|
- <goals>
|
|
|
- <goal>proguard</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions-->
|
|
|
- <configuration>
|
|
|
- <proguardVersion>4.8</proguardVersion>
|
|
|
- <options>
|
|
|
- <option>-allowaccessmodification</option>
|
|
|
- <option>-keep public class * extends java.applet.Applet { *; }</option>
|
|
|
- </options>
|
|
|
- <libs>
|
|
|
- <lib>${java.home}/lib/rt.jar</lib>
|
|
|
- </libs>
|
|
|
- </configuration>
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>net.sf.proguard</groupId>
|
|
|
- <artifactId>proguard-base</artifactId>
|
|
|
- <version>4.9</version>
|
|
|
- <scope>runtime</scope>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- </plugins>
|
|
|
- <pluginManagement>
|
|
|
- <plugins>
|
|
|
- <!--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.codehaus.mojo
|
|
|
- </groupId>
|
|
|
- <artifactId>
|
|
|
- javacc-maven-plugin
|
|
|
- </artifactId>
|
|
|
- <versionRange>
|
|
|
- [2.0],[2.6]
|
|
|
- </versionRange>
|
|
|
- <goals>
|
|
|
- <goal>javacc</goal>
|
|
|
- </goals>
|
|
|
- </pluginExecutionFilter>
|
|
|
- <action>
|
|
|
- <ignore></ignore>
|
|
|
- </action>
|
|
|
- </pluginExecution>
|
|
|
- </pluginExecutions>
|
|
|
- </lifecycleMappingMetadata>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </pluginManagement>
|
|
|
- </build>
|
|
|
-
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
- <artifactId>frontend-utils</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
- <artifactId>java-1.1exp</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
- <artifactId>utils</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
- <artifactId>text</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
- <artifactId>java-1.5</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
- <artifactId>java-1.7</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
- <artifactId>java-1.9</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
- <artifactId>python-3</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
- <artifactId>csharp-1.2</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
- <artifactId>cpp</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
- <artifactId>scheme</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
- <artifactId>chars</artifactId>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
+<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>
|
|
|
+ <artifactId>jplag</artifactId>
|
|
|
+ <version>2.12.1-SNAPSHOT</version>
|
|
|
+
|
|
|
+ <parent>
|
|
|
+ <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
+ <artifactId>parent</artifactId>
|
|
|
+ <version>0.3-SNAPSHOT</version>
|
|
|
+ <relativePath>../jplag.parent/pom.xml</relativePath>
|
|
|
+ </parent>
|
|
|
+
|
|
|
+ <repositories>
|
|
|
+ <repository>
|
|
|
+ <id>ipdNexus</id>
|
|
|
+ <name>IPD-Nexus-Public</name>
|
|
|
+ <url>http://bob.ipd.kit.edu/nexus/repository/maven-public-all</url>
|
|
|
+ </repository>
|
|
|
+ </repositories>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ <filtering>true</filtering>
|
|
|
+ <includes>
|
|
|
+ <include>jplag/version.properties</include>
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ <filtering>false</filtering>
|
|
|
+ <excludes>
|
|
|
+ <exclude>jplag/version.properties</exclude>
|
|
|
+ </excludes>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
|
+ <artifactId>build-helper-maven-plugin</artifactId>
|
|
|
+ <version>1.7</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>add-antlr-source</id>
|
|
|
+ <phase>generate-sources</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>add-source</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <sources>
|
|
|
+ <source>target/generated-sources/antlr</source>
|
|
|
+ <source>target/generated-sources/javacc</source>
|
|
|
+ </sources>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
|
+ <artifactId>javacc-maven-plugin</artifactId>
|
|
|
+ <!-- If you need javacc version 3.2 (as did the original jplag) use plugin
|
|
|
+ version 2.0; plugin version 2.6 uses javacc version 5.0 -->
|
|
|
+ <version>2.6</version>
|
|
|
+ <configuration>
|
|
|
+ <debugParser>false</debugParser>
|
|
|
+ <isStatic>false</isStatic>
|
|
|
+ <!-- we need this since the old plugin does not read the package from
|
|
|
+ the grammar; as of 2.4 the plugin does that on its own <packageName>jplag.filter</packageName> -->
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>javacc</id>
|
|
|
+ <goals>
|
|
|
+ <goal>javacc</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <archive>
|
|
|
+ <manifest>
|
|
|
+ <mainClass>jplag.CLI</mainClass>
|
|
|
+ <packageName>jplag</packageName>
|
|
|
+ </manifest>
|
|
|
+ </archive>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
+ <version>2.4</version>
|
|
|
+ <configuration>
|
|
|
+ <descriptorRefs>
|
|
|
+ <descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
+ </descriptorRefs>
|
|
|
+
|
|
|
+ <archive>
|
|
|
+ <manifest>
|
|
|
+ <mainClass>jplag.CLI</mainClass>
|
|
|
+ <packageName>jplag</packageName>
|
|
|
+ </manifest>
|
|
|
+ </archive>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>com.github.wvengen</groupId>
|
|
|
+ <artifactId>proguard-maven-plugin</artifactId>
|
|
|
+ <version>2.0.11</version>
|
|
|
+ <!-- executions>
|
|
|
+ <execution>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>proguard</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions-->
|
|
|
+ <configuration>
|
|
|
+ <proguardVersion>4.8</proguardVersion>
|
|
|
+ <options>
|
|
|
+ <option>-allowaccessmodification</option>
|
|
|
+ <option>-keep public class * extends java.applet.Applet { *; }</option>
|
|
|
+ </options>
|
|
|
+ <libs>
|
|
|
+ <lib>${java.home}/lib/rt.jar</lib>
|
|
|
+ </libs>
|
|
|
+ </configuration>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>net.sf.proguard</groupId>
|
|
|
+ <artifactId>proguard-base</artifactId>
|
|
|
+ <version>4.9</version>
|
|
|
+ <scope>runtime</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+
|
|
|
+ <pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <!--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.codehaus.mojo
|
|
|
+ </groupId>
|
|
|
+ <artifactId>
|
|
|
+ javacc-maven-plugin
|
|
|
+ </artifactId>
|
|
|
+ <versionRange>
|
|
|
+ [2.0],[2.6]
|
|
|
+ </versionRange>
|
|
|
+ <goals>
|
|
|
+ <goal>javacc</goal>
|
|
|
+ </goals>
|
|
|
+ </pluginExecutionFilter>
|
|
|
+ <action>
|
|
|
+ <ignore/>
|
|
|
+ </action>
|
|
|
+ </pluginExecution>
|
|
|
+ </pluginExecutions>
|
|
|
+ </lifecycleMappingMetadata>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </pluginManagement>
|
|
|
+ </build>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
+ <artifactId>frontend-utils</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
+ <artifactId>java-1.1exp</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
+ <artifactId>utils</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
+ <artifactId>text</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
+ <artifactId>java-1.5</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
+ <artifactId>java-1.7</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
+ <artifactId>java-1.9</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
+ <artifactId>python-3</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
+ <artifactId>csharp-1.2</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
+ <artifactId>cpp</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
+ <artifactId>scheme</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>edu.kit.ipd.jplag</groupId>
|
|
|
+ <artifactId>chars</artifactId>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
</project>
|