| <?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>groupId</groupId> |
| <artifactId>totalngrams</artifactId> |
| <version>2.1.0</version> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <maven.compiler.source>17</maven.compiler.source> |
| <maven.compiler.target>17</maven.compiler.target> |
| <!-- Use the release flag only if you are using Java 9+ --> |
| <!-- <maven.compiler.release>8</maven.compiler.release> --> |
| <!-- verbose is useful for debugging purposes --> |
| <maven.compiler.verbose>true</maven.compiler.verbose> </properties> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/xml</directory> |
| <includes> |
| <include>**/*.xml</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| <includes> |
| <include>**/*.properties</include> |
| </includes> |
| </resource> |
| </resources> |
| |
| <plugins> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>3.4.1</version> |
| <configuration> |
| <failOnError>false</failOnError> |
| <source>${maven.compiler.target}</source> |
| <javadocExecutable>${java.home}/bin/javadoc |
| </javadocExecutable> |
| </configuration> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>javadoc-no-fork</goal> |
| <goal>jar</goal> |
| </goals> |
| <configuration> |
| <failOnError>false</failOnError> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>3.2.0</version> |
| <configuration> |
| <archive> |
| <index>true</index> |
| <manifest> |
| <addClasspath>true</addClasspath> |
| <classpathPrefix>dependency/</classpathPrefix> |
| <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.10.1</version> |
| <configuration> |
| <!-- or whatever version you use --> |
| <source>${maven.compiler.source}</source> |
| <target>${maven.compiler.target}</target> |
| <showDeprecation>true</showDeprecation> |
| <annotationProcessorPaths> |
| <path> |
| <groupId>info.picocli</groupId> |
| <artifactId>picocli-codegen</artifactId> |
| <version>4.2.0</version> |
| </path> |
| </annotationProcessorPaths> |
| </configuration> |
| <executions> |
| <!-- Replacing default-compile as it is treated specially by maven --> |
| <execution> |
| <id>default-compile</id> |
| <phase>none</phase> |
| </execution> |
| <!-- Replacing default-testCompile as it is treated specially by |
| maven --> |
| <execution> |
| <id>default-testCompile</id> |
| <phase>none</phase> |
| </execution> |
| <execution> |
| <id>java-compile</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>java-test-compile</id> |
| <phase>test-compile</phase> |
| <goals> |
| <goal>testCompile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <archive> |
| <index>true</index> |
| <manifest> |
| <addClasspath>true</addClasspath> |
| <classpathPrefix>dependency/</classpathPrefix> |
| <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
| </manifest> |
| </archive> |
| <descriptorRefs> |
| <descriptorRef>jar-with-dependencies</descriptorRef> |
| </descriptorRefs> |
| <appendAssemblyId>false</appendAssemblyId> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>appassembler-maven-plugin</artifactId> |
| <version>1.10</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>assemble</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <binFolder>bin</binFolder> |
| <extraJvmArguments>-XX:MaxRAMPercentage=85 -Dgroovy.grape.enable=false</extraJvmArguments> |
| <binFileExtensions> |
| <unix/> |
| </binFileExtensions> |
| <programs> |
| <program> |
| <mainClass>org.ids_mannheim.TotalNGrams</mainClass> |
| <id>totalngrams</id> |
| </program> |
| <program> |
| <mainClass>org.ids_mannheim.GeneratePseudonymKey</mainClass> |
| <id>generate_pseudonym_key</id> |
| </program> |
| <program> |
| <mainClass>org.ids_mannheim.Pseudonymize</mainClass> |
| <id>pseudonymize</id> |
| </program> |
| <program> |
| <mainClass>org.ids_mannheim.FilterKeys</mainClass> |
| <id>filter_keys</id> |
| </program> |
| </programs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.22.2</version> |
| <configuration> |
| <forkCount>1C</forkCount> |
| <includes> |
| <include>**/*Test.java</include> |
| </includes> |
| <argLine>-Xmx32768m</argLine> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>activate-this-only-outside-intellij</id> |
| <activation> |
| <property> |
| <name>!idea.version</name> |
| </property> |
| </activation> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.10.1</version> |
| <configuration> |
| <compilerId>groovy-eclipse-compiler</compilerId> |
| <compilerArguments> |
| <configScript>${project.basedir}/config.groovy</configScript> |
| </compilerArguments> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-eclipse-compiler</artifactId> |
| <version>3.8.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-eclipse-batch</artifactId> |
| <version>4.0.6-02</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ivy</groupId> |
| <artifactId>ivy</artifactId> |
| <version>2.5.1</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-eclipse-compiler</artifactId> |
| <version>3.8.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-eclipse-batch</artifactId> |
| <version>4.0.6-02</version> |
| </dependency> |
| </dependencies> |
| |
| <repositories> |
| <repository> |
| <id>groovy-libs-release-local</id> |
| <url>https://groovy.jfrog.io/artifactory/plugins-release-local</url> |
| </repository> |
| </repositories> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>groovy-plugins-release-local</id> |
| <url>https://groovy.jfrog.io/artifactory/plugins-release-local</url> |
| </pluginRepository> |
| </pluginRepositories> |
| </profile> |
| </profiles> |
| |
| <dependencies> |
| <dependency> |
| <groupId>info.picocli</groupId> |
| <artifactId>picocli</artifactId> |
| <version>4.6.3</version> |
| </dependency> |
| <!-- https://mvnrepository.com/artifact/org.anarres/parallelgzip --> |
| <dependency> |
| <groupId>org.anarres</groupId> |
| <artifactId>parallelgzip</artifactId> |
| <version>1.0.5</version> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <version>5.9.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.bouncycastle</groupId> |
| <artifactId>bcprov-jdk15on</artifactId> |
| <version>1.70</version> |
| </dependency> |
| <!-- https://mvnrepository.com/artifact/org.codehaus.mojo/appassembler-maven-plugin --> |
| <dependency> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>appassembler-maven-plugin</artifactId> |
| <version>2.1.0</version> |
| </dependency> |
| <!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-surefire-plugin --> |
| <dependency> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.22.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jetbrains</groupId> |
| <artifactId>annotations</artifactId> |
| <version>23.0.0</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.13.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.tukaani</groupId> |
| <artifactId>xz</artifactId> |
| <version>1.9</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.groovy</groupId> |
| <artifactId>groovy</artifactId> |
| <version>4.0.6</version> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-eclipse-batch --> |
| |
| <dependency> |
| <groupId>org.codehaus.gpars</groupId> |
| <artifactId>gpars</artifactId> |
| <version>1.2.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.ivy</groupId> |
| <artifactId>ivy</artifactId> |
| <version>2.5.1</version> |
| <scope>compile</scope> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>info.picocli</groupId> |
| <artifactId>picocli-groovy</artifactId> |
| <version>4.6.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.groovy</groupId> |
| <artifactId>groovy-cli-picocli</artifactId> |
| <version>4.0.6</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| <version>1.2</version> |
| </dependency> |
| </dependencies> |
| |
| |
| </project> |