Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xmlns="http://maven.apache.org/POM/4.0.0" |
| 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | |
| 7 | <groupId>groupId</groupId> |
| 8 | <artifactId>KorAP-Tokenizer</artifactId> |
| 9 | <version>1.2-SNAPSHOT</version> |
| 10 | |
| 11 | <properties> |
| 12 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 13 | <jackson.version>[2.10.3,)</jackson.version> |
| 14 | </properties> |
| 15 | |
| 16 | <build> |
| 17 | <resources> |
| 18 | <resource> |
| 19 | <directory>src/main/resources</directory> |
| 20 | <excludes> |
| 21 | <!--<exclude>**/*.properties</exclude>--> |
| 22 | <exclude>**/*.sh</exclude> |
| 23 | <exclude>**/*.cfg</exclude> |
| 24 | </excludes> |
| 25 | </resource> |
| 26 | </resources> |
| 27 | <testResources> |
| 28 | <testResource> |
| 29 | <directory>src/test/resources</directory> |
| 30 | </testResource> |
| 31 | </testResources> |
| 32 | <plugins> |
| 33 | <plugin> |
| 34 | <groupId>org.apache.maven.plugins</groupId> |
| 35 | <artifactId>maven-surefire-plugin</artifactId> |
| 36 | <version>2.22.2</version> |
| 37 | <configuration> |
| 38 | <threadCount>15</threadCount> |
| 39 | <reuseForks>true</reuseForks> |
| 40 | <parallel>classes</parallel> |
| 41 | </configuration> |
| 42 | </plugin> |
| 43 | <plugin> |
| 44 | <groupId>org.apache.maven.plugins</groupId> |
| 45 | <artifactId>maven-compiler-plugin</artifactId> |
| 46 | <version>3.8.1</version> |
| 47 | <configuration> |
Marc Kupietz | 3367773 | 2020-09-04 22:07:39 +0200 | [diff] [blame] | 48 | <showDeprecation>true</showDeprecation> |
| 49 | <annotationProcessorPaths> |
| 50 | <path> |
| 51 | <groupId>info.picocli</groupId> |
| 52 | <artifactId>picocli-codegen</artifactId> |
| 53 | <version>4.2.0</version> |
| 54 | </path> |
| 55 | </annotationProcessorPaths> |
| 56 | <compilerArgs> |
| 57 | <arg>-Aproject=${project.groupId}/${project.artifactId} |
| 58 | </arg> |
| 59 | </compilerArgs> |
| 60 | </configuration> |
| 61 | <executions> |
| 62 | <!-- Replacing default-compile as it is treated specially by maven --> |
| 63 | <execution> |
| 64 | <id>default-compile</id> |
| 65 | <phase>none</phase> |
| 66 | </execution> |
| 67 | <!-- Replacing default-testCompile as it is treated specially by |
| 68 | maven --> |
| 69 | <execution> |
| 70 | <id>default-testCompile</id> |
| 71 | <phase>none</phase> |
| 72 | </execution> |
| 73 | <execution> |
| 74 | <id>java-compile</id> |
| 75 | <phase>compile</phase> |
| 76 | <goals> |
| 77 | <goal>compile</goal> |
| 78 | </goals> |
| 79 | </execution> |
| 80 | <execution> |
| 81 | <id>java-test-compile</id> |
| 82 | <phase>test-compile</phase> |
| 83 | <goals> |
| 84 | <goal>testCompile</goal> |
| 85 | </goals> |
| 86 | </execution> |
| 87 | </executions> |
| 88 | </plugin> |
| 89 | |
| 90 | <plugin> |
| 91 | <groupId>org.apache.maven.plugins</groupId> |
| 92 | <artifactId>maven-clean-plugin</artifactId> |
| 93 | <version>3.0.0</version> |
| 94 | <configuration> |
| 95 | <excludeDefaultDirectories>true</excludeDefaultDirectories> |
| 96 | <filesets> |
| 97 | <fileset> |
| 98 | <directory>target</directory> |
| 99 | <includes> |
| 100 | <include>**</include> |
| 101 | </includes> |
| 102 | <excludes> |
| 103 | <exclude>generated-sources/jflex/**</exclude> |
| 104 | </excludes> |
| 105 | </fileset> |
| 106 | </filesets> |
| 107 | </configuration> |
| 108 | </plugin> |
| 109 | <plugin> |
| 110 | <!-- Build an executable JAR --> |
| 111 | <groupId>org.apache.maven.plugins</groupId> |
| 112 | <artifactId>maven-jar-plugin</artifactId> |
| 113 | <version>3.1.0</version> |
| 114 | <configuration> |
| 115 | <archive> |
| 116 | <manifest> |
| 117 | <addClasspath>true</addClasspath> |
| 118 | <classpathPrefix>lib/</classpathPrefix> |
| 119 | <mainClass>de.ids_mannheim.korap.tokenizer.KorAPTokenizerImpl</mainClass> |
| 120 | </manifest> |
| 121 | </archive> |
| 122 | </configuration> |
| 123 | </plugin> |
| 124 | |
| 125 | <plugin> |
| 126 | <groupId>de.jflex</groupId> |
| 127 | <artifactId>jflex-maven-plugin</artifactId> |
| 128 | <version>1.8.2</version> |
| 129 | <executions> |
| 130 | <execution> |
| 131 | <goals> |
| 132 | <goal>generate</goal> |
| 133 | </goals> |
| 134 | </execution> |
| 135 | </executions> |
| 136 | </plugin> |
| 137 | </plugins> |
| 138 | </build> |
| 139 | |
| 140 | <dependencies> |
| 141 | <dependency> |
| 142 | <groupId>org.apache.maven.plugins</groupId> |
| 143 | <artifactId>maven-surefire-plugin</artifactId> |
| 144 | <version>2.22.2</version> |
| 145 | </dependency> |
| 146 | <dependency> |
| 147 | <groupId>junit</groupId> |
| 148 | <artifactId>junit</artifactId> |
| 149 | <version>4.11</version> |
| 150 | </dependency> |
| 151 | </dependencies> |
| 152 | |
| 153 | </project> |