Procházet zdrojové kódy

Reworked pom.xml to ensure easy build.

Dominik Fuchß před 5 roky
rodič
revize
0e646427dd

+ 16 - 17
jplag.frontend-utils/pom.xml

@@ -1,20 +1,19 @@
 <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>frontend-utils</artifactId>
-  <version>0.0.3-SNAPSHOT</version>
-  <parent>
-    <groupId>de.jplag</groupId>
-    <artifactId>parent</artifactId>
-    <version>0.3-SNAPSHOT</version>
-    <relativePath>../jplag.parent/pom.xml</relativePath>
-  </parent>
+	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>frontend-utils</artifactId>
 
-  <dependencies>
-    <dependency>
-      <groupId>antlr</groupId>
-      <artifactId>antlr</artifactId>
-    </dependency>
-  </dependencies>
+	<parent>
+		<groupId>de.jplag</groupId>
+		<artifactId>aggregator</artifactId>
+		<version>3.0.0-SNAPSHOT</version>
+	</parent>
+
+	<dependencies>
+		<dependency>
+			<groupId>antlr</groupId>
+			<artifactId>antlr</artifactId>
+		</dependency>
+	</dependencies>
 </project>

+ 15 - 35
jplag.frontend.chars/pom.xml

@@ -1,37 +1,17 @@
 <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>
-  <version>0.0.1-SNAPSHOT</version>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifest>
-              <mainClass>de.jplag.chars.Parser</mainClass>
-              <packageName>jplag.chars</packageName>
-            </manifest>
-          </archive>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>frontend-utils</artifactId>
-    </dependency>
-  </dependencies>
-  <parent>
-    <groupId>de.jplag</groupId>
-    <artifactId>parent</artifactId>
-    <version>0.3-SNAPSHOT</version>
-    <relativePath>../jplag.parent/pom.xml</relativePath>
-  </parent>
-  <artifactId>chars</artifactId>
+	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>
+	<dependencies>
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>frontend-utils</artifactId>
+		</dependency>
+	</dependencies>
+	<parent>
+		<groupId>de.jplag</groupId>
+		<artifactId>aggregator</artifactId>
+		<version>3.0.0-SNAPSHOT</version>
+	</parent>
+	<artifactId>chars</artifactId>
 </project>

+ 39 - 104
jplag.frontend.cpp/pom.xml

@@ -1,108 +1,43 @@
 <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>cpp</artifactId>
-  <version>0.0.2-SNAPSHOT</version>
+	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>cpp</artifactId>
 
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-        <version>3.2.0</version>
-        <configuration>
-          <sources>
-            <source>target/generated-sources/javacc</source>
-          </sources>
-        </configuration>
-        <executions>
-          <execution>
-            <id>add-javacc-source</id>
-            <phase>generate-sources</phase>
-            <goals>
-              <goal>add-source</goal>
-            </goals>
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>com.helger.maven</groupId>
+				<artifactId>ph-javacc-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>javacc-gen</id>
+						<phase>generate-sources</phase>
+						<goals>
+							<goal>javacc</goal>
+						</goals>
+						<configuration>
+							<jdkVersion>1.5</jdkVersion>
+							<javadocFriendlyComments>true</javadocFriendlyComments>
+							<packageName>de.jplag.cpp</packageName>
+							<sourceDirectory>src/main/javacc</sourceDirectory>
+							<outputDirectory>${project.build.directory}/generated-sources/javacc</outputDirectory>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
 
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>javacc-maven-plugin</artifactId>
-        <version>2.6</version>
-        <configuration>
-          <configuration>
-            <debugparser>false</debugparser>
-            <isStatic>false</isStatic>
-            <grammarEncoding>${project.build.sourceEncoding}</grammarEncoding>
-          </configuration>
-        </configuration>
-        <executions>
-          <execution>
-            <id>javacc</id>
-            <goals>
-              <goal>javacc</goal>
-            </goals>
-          </execution>
-        </executions>
-        <dependencies>
-          <dependency>
-            <groupId>net.java.dev.javacc</groupId>
-            <artifactId>javacc</artifactId>
-            <version>7.0.10</version>
-          </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.6]
-                    </versionRange>
-                    <goals>
-                      <goal>javacc</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <ignore></ignore>
-                  </action>
-                </pluginExecution>
-              </pluginExecutions>
-            </lifecycleMappingMetadata>
-          </configuration>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>frontend-utils</artifactId>
-    </dependency>
-  </dependencies>
-  <parent>
-    <groupId>de.jplag</groupId>
-    <artifactId>parent</artifactId>
-    <version>0.3-SNAPSHOT</version>
-    <relativePath>../jplag.parent/pom.xml</relativePath>
-  </parent>
+	<dependencies>
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>frontend-utils</artifactId>
+		</dependency>
+	</dependencies>
+	<parent>
+		<groupId>de.jplag</groupId>
+		<artifactId>aggregator</artifactId>
+		<version>3.0.0-SNAPSHOT</version>
+	</parent>
 </project>

+ 1 - 1
jplag.frontend.cpp/src/main/javacc/CPP.jj

@@ -40,7 +40,7 @@ public class CPPScanner implements CPPTokenConstants {
         } catch (ParseException e) {
               scannerX.getErrorConsumer().addError("  Parsing Error in '" + fileName + "':\n  " + e.getMessage());
               return false;
-        } catch (TokenMgrError e) {
+        } catch (TokenMgrException e) {
               scannerX.getErrorConsumer().addError("  Scanning Error in '" + fileName + "':\n  " + e.getMessage());
               return false;
         }

+ 40 - 76
jplag.frontend.csharp-1.2/pom.xml

@@ -1,80 +1,44 @@
 <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>csharp-1.2</artifactId>
-  <version>0.0.1-SNAPSHOT</version>
+	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>csharp-1.2</artifactId>
 
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-        <version>3.2.0</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>
-              </sources>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>antlr-maven-plugin</artifactId>
-        <version>2.1</version>
-        <configuration>
-          <!-- Comma separated list of grammar files or pattern grammar files 
-            By default, grammar file(s) is in ${basedir}/src/main/antlr -->
-          <grammars>csharp.g</grammars>
-          <!-- <grammars>*.g</grammars> -->
-        </configuration>
-        <executions>
-          <execution>
-            <goals>
-              <goal>generate</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>antlr-maven-plugin</artifactId>
+				<configuration>
+					<!-- Comma separated list of grammar files or pattern grammar files 
+						By default, grammar file(s) is in ${basedir}/src/main/antlr -->
+					<grammars>csharp.g</grammars>
+					<!-- <grammars>*.g</grammars> -->
+				</configuration>
+				<executions>
+					<execution>
+						<goals>
+							<goal>generate</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
 
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifest>
-              <mainClass>de.jplag.csharp.Parser</mainClass>
-              <packageName>jplag.csharp</packageName>
-            </manifest>
-          </archive>
-        </configuration>
-      </plugin>
-
-    </plugins>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>antlr</groupId>
-      <artifactId>antlr</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>frontend-utils</artifactId>
-    </dependency>
-  </dependencies>
-  <parent>
-    <groupId>de.jplag</groupId>
-    <artifactId>parent</artifactId>
-    <version>0.3-SNAPSHOT</version>
-    <relativePath>../jplag.parent/pom.xml</relativePath>
-  </parent>
+	<dependencies>
+		<dependency>
+			<groupId>antlr</groupId>
+			<artifactId>antlr</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>frontend-utils</artifactId>
+		</dependency>
+	</dependencies>
+	<parent>
+		<groupId>de.jplag</groupId>
+		<artifactId>aggregator</artifactId>
+		<version>3.0.0-SNAPSHOT</version>
+	</parent>
 </project>

+ 15 - 37
jplag.frontend.java/pom.xml

@@ -1,39 +1,17 @@
 <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>java</artifactId>
-  <version>0.0.1-SNAPSHOT</version>
-
-  <build>
-    <plugins>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifest>
-              <mainClass>de.jplag.java.Parser</mainClass>
-              <packageName>jplag.java</packageName>
-            </manifest>
-          </archive>
-        </configuration>
-      </plugin>
-
-    </plugins>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>frontend-utils</artifactId>
-    </dependency>
-  </dependencies>
-  <parent>
-    <groupId>de.jplag</groupId>
-    <artifactId>parent</artifactId>
-    <version>0.3-SNAPSHOT</version>
-    <relativePath>../jplag.parent/pom.xml</relativePath>
-  </parent>
+	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>java</artifactId>
+	<dependencies>
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>frontend-utils</artifactId>
+		</dependency>
+	</dependencies>
+	<parent>
+		<groupId>de.jplag</groupId>
+		<artifactId>aggregator</artifactId>
+		<version>3.0.0-SNAPSHOT</version>
+	</parent>
 </project>

+ 34 - 77
jplag.frontend.python-3/pom.xml

@@ -1,81 +1,38 @@
 <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>python-3</artifactId>
-  <version>0.0.1-SNAPSHOT</version>
+	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>python-3</artifactId>
 
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-        <version>3.2.0</version>
-        <configuration>
-          <sources>
-            <source>target/generated-sources/antlr4</source>
-          </sources>
-        </configuration>
-        <executions>
-          <execution>
-            <id>generate-antlr-sources</id>
-            <phase>generate-sources</phase>
-            <goals>
-              <goal>add-source</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>compile-with-antlr-sources</id>
-            <phase>compile</phase>
-            <goals>
-              <goal>add-source</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.antlr</groupId>
-        <artifactId>antlr4-maven-plugin</artifactId>
-        <version>4.9.3</version>
-        <executions>
-          <execution>
-            <goals>
-              <goal>antlr4</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.antlr</groupId>
+				<artifactId>antlr4-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<goals>
+							<goal>antlr4</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
 
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifest>
-              <mainClass>de.jplag.python3.Parser</mainClass>
-              <packageName>jplag.python3</packageName>
-            </manifest>
-          </archive>
-        </configuration>
-      </plugin>
-
-    </plugins>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>frontend-utils</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.antlr</groupId>
-      <artifactId>antlr4-runtime</artifactId>
-    </dependency>
-  </dependencies>
-  <parent>
-    <groupId>de.jplag</groupId>
-    <artifactId>parent</artifactId>
-    <version>0.3-SNAPSHOT</version>
-    <relativePath>../jplag.parent/pom.xml</relativePath>
-  </parent>
+	<dependencies>
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>frontend-utils</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>org.antlr</groupId>
+			<artifactId>antlr4-runtime</artifactId>
+		</dependency>
+	</dependencies>
+	<parent>
+		<groupId>de.jplag</groupId>
+		<artifactId>aggregator</artifactId>
+		<version>3.0.0-SNAPSHOT</version>
+	</parent>
 </project>

+ 40 - 117
jplag.frontend.scheme/pom.xml

@@ -1,121 +1,44 @@
 <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>scheme</artifactId>
-  <version>0.0.1-SNAPSHOT</version>
+	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>scheme</artifactId>
 
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-        <version>3.2.0</version>
-        <configuration>
-          <sources>
-            <source>target/generated-sources/javacc</source>
-          </sources>
-        </configuration>
-        <executions>
-          <execution>
-            <id>add-javacc-source</id>
-            <phase>generate-sources</phase>
-            <goals>
-              <goal>add-source</goal>
-            </goals>
+	<build>
+		<plugins>
+		
+			<plugin>
+				<groupId>com.helger.maven</groupId>
+				<artifactId>ph-javacc-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>javacc-gen</id>
+						<phase>generate-sources</phase>
+						<goals>
+							<goal>javacc</goal>
+						</goals>
+						<configuration>
+							<jdkVersion>1.5</jdkVersion>
+							<javadocFriendlyComments>true</javadocFriendlyComments>
+							<packageName>de.jplag.scheme</packageName>
+							<sourceDirectory>src/main/javacc</sourceDirectory>
+							<outputDirectory>${project.build.directory}/generated-sources/javacc</outputDirectory>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
 
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>javacc-maven-plugin</artifactId>
-        <version>2.6</version>
-        <configuration>
-          <grammarEncoding>${project.build.sourceEncoding}</grammarEncoding>
-          <isStatic>false</isStatic>
-          <debugparser>false</debugparser>
-        </configuration>
-
-        <executions>
-          <execution>
-            <id>javacc</id>
-            <goals>
-              <goal>javacc</goal>
-            </goals>
-          </execution>
-        </executions>
-
-        <dependencies>
-          <dependency>
-            <groupId>net.java.dev.javacc</groupId>
-            <artifactId>javacc</artifactId>
-            <version>7.0.10</version>
-          </dependency>
-        </dependencies>
-      </plugin>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifest>
-              <mainClass>de.jplag.scheme.Parser</mainClass>
-              <packageName>jplag.scheme</packageName>
-            </manifest>
-          </archive>
-        </configuration>
-      </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.6]
-                    </versionRange>
-                    <goals>
-                      <goal>javacc</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <ignore></ignore>
-                  </action>
-                </pluginExecution>
-              </pluginExecutions>
-            </lifecycleMappingMetadata>
-          </configuration>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>frontend-utils</artifactId>
-    </dependency>
-  </dependencies>
-  <parent>
-    <groupId>de.jplag</groupId>
-    <artifactId>parent</artifactId>
-    <version>0.3-SNAPSHOT</version>
-    <relativePath>../jplag.parent/pom.xml</relativePath>
-  </parent>
+	<dependencies>
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>frontend-utils</artifactId>
+		</dependency>
+	</dependencies>
+	<parent>
+		<groupId>de.jplag</groupId>
+		<artifactId>aggregator</artifactId>
+		<version>3.0.0-SNAPSHOT</version>
+	</parent>
 </project>

+ 1 - 1
jplag.frontend.scheme/src/main/javacc/Scheme.jj

@@ -82,7 +82,7 @@ public class SchemeParser implements SchemeTokenConstants {
             parserX.getErrorConsumer().addError("  Parsing Error in '" + fileName
                 + "':\n  " + e.getMessage() + "\n");
             return false;
-        } catch (TokenMgrError e) {
+        } catch (TokenMgrException e) {
             parserX.getErrorConsumer().addError("  Scanning Error in '" + fileName
                 + "':\n  " + e.getMessage() + "\n");
             return false;

+ 40 - 78
jplag.frontend.text/pom.xml

@@ -1,81 +1,43 @@
 <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>text</artifactId>
-  <version>0.0.1-SNAPSHOT</version>
+	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>text</artifactId>
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>antlr-maven-plugin</artifactId>
+				<configuration>
+					<!-- Comma separated list of grammar files or pattern grammar files 
+						By default, grammar file(s) is in ${basedir}/src/main/antlr -->
+					<!-- <grammars>*.g</grammars> -->
+					<grammars>text.g</grammars>
+				</configuration>
+				<executions>
+					<execution>
+						<goals>
+							<goal>generate</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
 
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-        <version>3.2.0</version>
-        <configuration>
-          <sources>
-            <source>target/generated-sources/antlr</source>
-          </sources>
-        </configuration>
-        <executions>
-          <execution>
-            <id>add-antlr-source</id>
-            <phase>generate-sources</phase>
-            <goals>
-              <goal>add-source</goal>
-            </goals>
-
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>antlr-maven-plugin</artifactId>
-        <version>2.2</version>
-        <configuration>
-          <!-- Comma separated list of grammar files or pattern grammar files 
-            By default, grammar file(s) is in ${basedir}/src/main/antlr -->
-          <!-- <grammars>*.g</grammars> -->
-          <grammars>text.g</grammars>
-        </configuration>
-        <executions>
-          <execution>
-            <goals>
-              <goal>generate</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifest>
-              <mainClass>de.jplag.text.Parser</mainClass>
-              <packageName>jplag.text</packageName>
-            </manifest>
-          </archive>
-        </configuration>
-      </plugin>
-
-    </plugins>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>antlr</groupId>
-      <artifactId>antlr</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>frontend-utils</artifactId>
-    </dependency>
-  </dependencies>
-  <parent>
-    <groupId>de.jplag</groupId>
-    <artifactId>parent</artifactId>
-    <version>0.3-SNAPSHOT</version>
-    <relativePath>../jplag.parent/pom.xml</relativePath>
-  </parent>
+	<dependencies>
+		<dependency>
+			<groupId>antlr</groupId>
+			<artifactId>antlr</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>frontend-utils</artifactId>
+		</dependency>
+	</dependencies>
+	<parent>
+		<groupId>de.jplag</groupId>
+		<artifactId>aggregator</artifactId>
+		<version>3.0.0-SNAPSHOT</version>
+	</parent>
 </project>

+ 0 - 245
jplag.parent/pom.xml

@@ -1,245 +0,0 @@
-<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>de.jplag</groupId>
-  <artifactId>parent</artifactId>
-  <version>0.3-SNAPSHOT</version>
-  <packaging>pom</packaging>
-
-  <url>http://jplag.de</url>
-
-  <issueManagement>
-    <system>GitHub</system>
-    <url>https://github.com/jplag/jplag</url>
-  </issueManagement>
-  <ciManagement>
-    <system>GitHub Actions</system>
-    <url>https://github.com/jplag/jplag/actions</url>
-  </ciManagement>
-  <organization>
-    <name>Karlsruhe Institute of Technology (KIT), Institute for Program Structures and Data
-      Organization
-    </name>
-    <url>http://www.ipd.kit.edu</url>
-  </organization>
-
-  <developers>
-    <developer>
-      <id>sebinside</id>
-      <name>Sebastian Hahner</name>
-      <email>hahner@kit.edu</email>
-      <url>https://sdq.ipd.kit.edu/people/sebastian-hahner/</url>
-      <organization>KASTEL</organization>
-      <organizationUrl>https://sdq.ipd.kit.edu/</organizationUrl>
-      <timezone>GMT+1</timezone>
-    </developer>
-    <developer>
-      <id>tsaglam</id>
-      <name>Timur Sağlam</name>
-      <email>saglam@kit.edu</email>
-      <url>https://sdq.ipd.kit.edu/people/timur-saglam/</url>
-      <organization>KASTEL</organization>
-      <organizationUrl>https://sdq.ipd.kit.edu/</organizationUrl>
-      <timezone>GMT+1</timezone>
-    </developer>
-  </developers>
-
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <project.build.source>14</project.build.source>
-    <project.build.target>14</project.build.target>
-    <project.build.optimize>true</project.build.optimize>
-  </properties>
-
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.8.1</version>
-        <configuration>
-          <encoding>${project.build.sourceEncoding}</encoding>
-          <source>${project.build.source}</source>
-          <target>${project.build.target}</target>
-          <optimize>${project.build.optimize}</optimize>
-        </configuration>
-      </plugin>
-
-      <plugin>
-        <artifactId>maven-jar-plugin</artifactId>
-        <version>3.2.0</version>
-        <configuration>
-          <archive>
-            <manifest>
-              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
-            </manifest>
-          </archive>
-        </configuration>
-      </plugin>
-
-
-      <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <version>3.3.0</version>
-        <configuration>
-          <descriptorRefs>
-            <descriptorRef>jar-with-dependencies</descriptorRef>
-          </descriptorRefs>
-          <archive>
-            <manifest>
-              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
-            </manifest>
-          </archive>
-        </configuration>
-      </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]
-                    </versionRange>
-                    <goals>
-                      <goal>javacc</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <ignore></ignore>
-                  </action>
-                </pluginExecution>
-                <pluginExecution>
-                  <pluginExecutionFilter>
-                    <groupId>org.antlr</groupId>
-                    <artifactId>antlr4-maven-plugin</artifactId>
-                    <versionRange>[4.0,)</versionRange>
-                    <goals>
-                      <goal>antlr4</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <execute></execute>
-                  </action>
-                </pluginExecution>
-              </pluginExecutions>
-            </lifecycleMappingMetadata>
-          </configuration>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>de.jplag</groupId>
-        <artifactId>text</artifactId>
-        <version>0.0.1-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>de.jplag</groupId>
-        <artifactId>java</artifactId>
-        <version>0.0.1-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>de.jplag</groupId>
-        <artifactId>python-3</artifactId>
-        <version>0.0.1-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>de.jplag</groupId>
-        <artifactId>csharp-1.2</artifactId>
-        <version>0.0.1-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>de.jplag</groupId>
-        <artifactId>cpp</artifactId>
-        <version>0.0.2-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>de.jplag</groupId>
-        <artifactId>scheme</artifactId>
-        <version>0.0.1-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>de.jplag</groupId>
-        <artifactId>chars</artifactId>
-        <version>0.0.1-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>4.13.2</version>
-      </dependency>
-      <dependency>
-        <groupId>antlr</groupId>
-        <artifactId>antlr</artifactId>
-        <version>2.7.7</version>
-      </dependency>
-      <dependency>
-        <groupId>org.antlr</groupId>
-        <artifactId>antlr4-runtime</artifactId>
-        <version>4.9.3</version>
-      </dependency>
-      <dependency>
-        <groupId>org.antlr</groupId>
-        <artifactId>antlr4</artifactId>
-        <version>4.9.3</version>
-      </dependency>
-      <dependency>
-        <groupId>org.antlr</groupId>
-        <artifactId>antlr3</artifactId>
-        <version>3.5</version>
-      </dependency>
-      <dependency>
-        <groupId>org.antlr</groupId>
-        <artifactId>antlr3-runtime</artifactId>
-        <version>3.5</version>
-      </dependency>
-      <dependency>
-        <groupId>de.jplag</groupId>
-        <artifactId>frontend-utils</artifactId>
-        <version>0.0.3-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>de.jplag</groupId>
-        <artifactId>jplag</artifactId>
-        <version>3.0.0-SNAPSHOT</version>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-  <name>JPlag Plagiarism Detector</name>
-
-  <distributionManagement>
-    <repository>
-      <id>ossrh</id>
-      <name>Central Repository OSSRH</name>
-      <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
-    </repository>
-  </distributionManagement>
-</project>

+ 138 - 204
jplag/pom.xml

@@ -1,206 +1,140 @@
 <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>3.0.0-SNAPSHOT</version>
-
-  <parent>
-    <groupId>de.jplag</groupId>
-    <artifactId>parent</artifactId>
-    <version>0.3-SNAPSHOT</version>
-    <relativePath>../jplag.parent/pom.xml</relativePath>
-  </parent>
-
-  <build>
-    <resources>
-      <resource>
-        <directory>src/main/resources</directory>
-        <filtering>true</filtering>
-      </resource>
-
-      <resource>
-        <directory>src/main/resources</directory>
-        <filtering>false</filtering>
-        <excludes>
-          <exclude>de/jplag/version.properties</exclude>
-        </excludes>
-      </resource>
-    </resources>
-
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-        <version>3.2.0</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>de.jplag.CLI</mainClass>
-              <packageName>jplag</packageName>
-            </manifest>
-          </archive>
-        </configuration>
-      </plugin>
-
-      <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <version>3.3.0</version>
-        <configuration>
-          <descriptorRefs>
-            <descriptorRef>jar-with-dependencies</descriptorRef>
-          </descriptorRefs>
-
-          <archive>
-            <manifest>
-              <mainClass>de.jplag.CLI</mainClass>
-              <packageName>jplag</packageName>
-            </manifest>
-          </archive>
-        </configuration>
-        <executions>
-          <execution>
-            <id>make-assembly</id>
-            <phase>package</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-          </execution>
-        </executions>
-      </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>net.sourceforge.argparse4j</groupId>
-      <artifactId>argparse4j</artifactId>
-      <version>0.9.0</version>
-    </dependency>
-
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>frontend-utils</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>text</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>java</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>python-3</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>csharp-1.2</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>cpp</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>scheme</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>de.jplag</groupId>
-      <artifactId>chars</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.github.stefanbirkner</groupId>
-      <artifactId>system-rules</artifactId>
-      <scope>test</scope>
-      <version>1.19.0</version>
-    </dependency>
-  </dependencies>
+	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>
+
+	<parent>
+		<groupId>de.jplag</groupId>
+		<artifactId>aggregator</artifactId>
+		<version>3.0.0-SNAPSHOT</version>
+	</parent>
+
+	<build>
+		<resources>
+			<resource>
+				<directory>src/main/resources</directory>
+				<filtering>true</filtering>
+			</resource>
+
+			<resource>
+				<directory>src/main/resources</directory>
+				<filtering>false</filtering>
+				<excludes>
+					<exclude>de/jplag/version.properties</exclude>
+				</excludes>
+			</resource>
+		</resources>
+
+		<plugins>
+			<plugin>
+				<artifactId>maven-jar-plugin</artifactId>
+				<configuration>
+					<archive>
+						<manifest>
+							<mainClass>de.jplag.CLI</mainClass>
+							<packageName>jplag</packageName>
+						</manifest>
+					</archive>
+				</configuration>
+			</plugin>
+
+			<!-- <plugin> -->
+			<!-- <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>
+				<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>
+				<artifactId>maven-assembly-plugin</artifactId>
+				<configuration>
+					<descriptorRefs>
+						<descriptorRef>jar-with-dependencies</descriptorRef>
+					</descriptorRefs>
+					<archive>
+						<manifest>
+							<mainClass>de.jplag.CLI</mainClass>
+							<packageName>jplag</packageName>
+						</manifest>
+					</archive>
+				</configuration>
+				<executions>
+					<execution>
+						<id>make-assembly</id>
+						<phase>package</phase>
+						<goals>
+							<goal>single</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+
+	<dependencies>
+		<dependency>
+			<groupId>net.sourceforge.argparse4j</groupId>
+			<artifactId>argparse4j</artifactId>
+			<version>0.9.0</version>
+		</dependency>
+		<dependency>
+			<groupId>com.github.stefanbirkner</groupId>
+			<artifactId>system-rules</artifactId>
+			<scope>test</scope>
+			<version>1.19.0</version>
+		</dependency>
+
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>frontend-utils</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>text</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>java</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>python-3</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>csharp-1.2</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>cpp</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>scheme</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>de.jplag</groupId>
+			<artifactId>chars</artifactId>
+		</dependency>
+	</dependencies>
 </project>

+ 241 - 21
pom.xml

@@ -1,23 +1,243 @@
 <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>de.jplag</groupId>
-  <artifactId>aggregator</artifactId>
-  <version>0.0.1-SNAPSHOT</version>
-  <packaging>pom</packaging>
-
-  <name>JPlag Aggregator</name>
-  <modules>
-    <module>jplag.parent</module>
-    <module>jplag.frontend-utils</module>
-    <module>jplag.frontend.chars</module>
-    <module>jplag.frontend.cpp</module>
-    <module>jplag.frontend.csharp-1.2</module>
-    <module>jplag.frontend.java</module>
-    <module>jplag.frontend.python-3</module>
-    <module>jplag.frontend.scheme</module>
-    <module>jplag.frontend.text</module>
-    <module>jplag</module>
-  </modules>
+	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>de.jplag</groupId>
+	<artifactId>aggregator</artifactId>
+	<version>3.0.0-SNAPSHOT</version>
+	<packaging>pom</packaging>
+
+	<name>JPlag Plagiarism Detector</name>
+
+	<url>http://jplag.de</url>
+
+	<issueManagement>
+		<system>GitHub</system>
+		<url>https://github.com/jplag/jplag</url>
+	</issueManagement>
+	<ciManagement>
+		<system>GitHub Actions</system>
+		<url>https://github.com/jplag/jplag/actions</url>
+	</ciManagement>
+	<organization>
+		<name>Karlsruhe Institute of Technology (KIT), Institute for Program Structures and Data Organization</name>
+		<url>http://www.ipd.kit.edu</url>
+	</organization>
+
+	<developers>
+		<developer>
+			<id>sebinside</id>
+			<name>Sebastian Hahner</name>
+			<email>hahner@kit.edu</email>
+			<url>https://sdq.ipd.kit.edu/people/sebastian-hahner/</url>
+			<organization>KASTEL</organization>
+			<organizationUrl>https://sdq.ipd.kit.edu/</organizationUrl>
+			<timezone>GMT+1</timezone>
+		</developer>
+		<developer>
+			<id>tsaglam</id>
+			<name>Timur Sağlam</name>
+			<email>saglam@kit.edu</email>
+			<url>https://sdq.ipd.kit.edu/people/timur-saglam/</url>
+			<organization>KASTEL</organization>
+			<organizationUrl>https://sdq.ipd.kit.edu/</organizationUrl>
+			<timezone>GMT+1</timezone>
+		</developer>
+	</developers>
+
+	<properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<maven.compiler.source>14</maven.compiler.source>
+		<maven.compiler.target>14</maven.compiler.target>
+		<log4j.version>2.15.0</log4j.version>
+	</properties>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>build-helper-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>add-source</id>
+						<phase>generate-sources</phase>
+						<goals>
+							<goal>add-source</goal>
+						</goals>
+						<configuration>
+							<sources>
+								<source>${project.build.directory}/generated-sources/javacc/</source>
+								<source>${project.build.directory}/generated-sources/antlr/</source>
+							</sources>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+		<pluginManagement>
+			<plugins>
+				<plugin>
+					<groupId>com.helger.maven</groupId>
+					<artifactId>ph-javacc-maven-plugin</artifactId>
+					<version>4.1.4</version>
+				</plugin>
+
+				<plugin>
+					<groupId>org.codehaus.mojo</groupId>
+					<artifactId>build-helper-maven-plugin</artifactId>
+					<version>3.2.0</version>
+				</plugin>
+				<plugin>
+					<groupId>org.codehaus.mojo</groupId>
+					<artifactId>antlr-maven-plugin</artifactId>
+					<version>2.1</version>
+				</plugin>
+				<plugin>
+					<groupId>org.antlr</groupId>
+					<artifactId>antlr4-maven-plugin</artifactId>
+					<version>4.9.3</version>
+				</plugin>
+
+				<plugin>
+					<artifactId>maven-jar-plugin</artifactId>
+					<version>3.2.0</version>
+					<configuration>
+						<archive>
+							<manifest>
+								<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+								<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+							</manifest>
+						</archive>
+					</configuration>
+				</plugin>
+				<plugin>
+					<artifactId>maven-assembly-plugin</artifactId>
+					<version>3.3.0</version>
+					<configuration>
+						<descriptorRefs>
+							<descriptorRef>jar-with-dependencies</descriptorRef>
+						</descriptorRefs>
+						<archive>
+							<manifest>
+								<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+								<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+							</manifest>
+						</archive>
+					</configuration>
+				</plugin>
+			</plugins>
+		</pluginManagement>
+	</build>
+	<dependencies>
+		<dependency>
+			<groupId>org.apache.logging.log4j</groupId>
+			<artifactId>log4j-api</artifactId>
+			<version>${log4j.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.logging.log4j</groupId>
+			<artifactId>log4j-core</artifactId>
+			<version>${log4j.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<scope>test</scope>
+		</dependency>
+	</dependencies>
+	<dependencyManagement>
+		<dependencies>
+			<!-- ANTLR -->
+			<dependency>
+				<groupId>antlr</groupId>
+				<artifactId>antlr</artifactId>
+				<version>2.7.7</version>
+			</dependency>
+			<dependency>
+				<groupId>org.antlr</groupId>
+				<artifactId>antlr4-runtime</artifactId>
+				<version>4.9.3</version>
+			</dependency>
+			<dependency>
+				<groupId>org.antlr</groupId>
+				<artifactId>antlr4</artifactId>
+				<version>4.9.3</version>
+			</dependency>
+			<dependency>
+				<groupId>org.antlr</groupId>
+				<artifactId>antlr3</artifactId>
+				<version>3.5</version>
+			</dependency>
+			<dependency>
+				<groupId>org.antlr</groupId>
+				<artifactId>antlr3-runtime</artifactId>
+				<version>3.5</version>
+			</dependency>
+
+			<dependency>
+				<groupId>junit</groupId>
+				<artifactId>junit</artifactId>
+				<version>4.13.2</version>
+			</dependency>
+
+			<!-- JPLAG -->
+			<dependency>
+				<groupId>${project.groupId}</groupId>
+				<artifactId>text</artifactId>
+				<version>${project.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>${project.groupId}</groupId>
+				<artifactId>java</artifactId>
+				<version>${project.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>${project.groupId}</groupId>
+				<artifactId>python-3</artifactId>
+				<version>${project.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>${project.groupId}</groupId>
+				<artifactId>csharp-1.2</artifactId>
+				<version>${project.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>${project.groupId}</groupId>
+				<artifactId>cpp</artifactId>
+				<version>${project.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>${project.groupId}</groupId>
+				<artifactId>scheme</artifactId>
+				<version>${project.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>${project.groupId}</groupId>
+				<artifactId>chars</artifactId>
+				<version>${project.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>${project.groupId}</groupId>
+				<artifactId>frontend-utils</artifactId>
+				<version>${project.version}</version>
+			</dependency>
+			<dependency>
+				<groupId>${project.groupId}</groupId>
+				<artifactId>jplag</artifactId>
+				<version>${project.version}</version>
+			</dependency>
+		</dependencies>
+	</dependencyManagement>
+
+	<modules>
+		<module>jplag.frontend-utils</module>
+		<module>jplag.frontend.chars</module>
+		<module>jplag.frontend.cpp</module>
+		<module>jplag.frontend.csharp-1.2</module>
+		<module>jplag.frontend.java</module>
+		<module>jplag.frontend.python-3</module>
+		<module>jplag.frontend.scheme</module>
+		<module>jplag.frontend.text</module>
+		<module>jplag</module>
+	</modules>
 </project>