pom.xml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>de.jplag</groupId>
  5. <artifactId>aggregator</artifactId>
  6. <version>${revision}</version>
  7. <packaging>pom</packaging>
  8. <name>JPlag Plagiarism Detector</name>
  9. <description>JPlag is a system that finds similarities among multiple sets of source code files. This way it can
  10. detect software plagiarism and collusion in software development.</description>
  11. <url>http://jplag.de</url>
  12. <organization>
  13. <name>Karlsruhe Institute of Technology (KIT), KASTEL – Institute of Information Security and Dependability</name>
  14. <url>https://sdq.kastel.kit.edu</url>
  15. </organization>
  16. <licenses>
  17. <license>
  18. <name>GNU General Public License v3.0</name>
  19. <url>https://www.gnu.org/licenses/gpl-3.0.txt</url>
  20. </license>
  21. </licenses>
  22. <developers>
  23. <developer>
  24. <id>tsaglam</id>
  25. <name>Timur Sağlam</name>
  26. <email>saglam@kit.edu</email>
  27. <url>https://sdq.ipd.kit.edu/people/timur-saglam/</url>
  28. <organization>KASTEL</organization>
  29. <organizationUrl>https://dsis.kastel.kit.edu/</organizationUrl>
  30. <timezone>GMT+1</timezone>
  31. </developer>
  32. <developer>
  33. <id>sebinside</id>
  34. <name>Sebastian Hahner</name>
  35. <email>hahner@kit.edu</email>
  36. <url>https://sdq.ipd.kit.edu/people/sebastian-hahner/</url>
  37. <organization>KASTEL</organization>
  38. <organizationUrl>https://dsis.kastel.kit.edu/</organizationUrl>
  39. <timezone>GMT+1</timezone>
  40. </developer>
  41. </developers>
  42. <scm>
  43. <connection>scm:git:git://github.com/jplag/JPlag.git</connection>
  44. <developerConnection>scm:git:ssh://github.com:jplag/JPlag.git</developerConnection>
  45. <url>https://github.com/jplag/JPlag</url>
  46. </scm>
  47. <issueManagement>
  48. <system>GitHub</system>
  49. <url>https://github.com/jplag/jplag</url>
  50. </issueManagement>
  51. <ciManagement>
  52. <system>GitHub Actions</system>
  53. <url>https://github.com/jplag/jplag/actions</url>
  54. </ciManagement>
  55. <distributionManagement>
  56. <snapshotRepository>
  57. <id>ossrh</id>
  58. <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
  59. </snapshotRepository>
  60. </distributionManagement>
  61. <properties>
  62. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  63. <sonar.projectKey>jplag_JPlag</sonar.projectKey>
  64. <sonar.moduleKey>${project.groupId}:${project.artifactId}</sonar.moduleKey>
  65. <sonar.organization>jplag</sonar.organization>
  66. <sonar.host.url>https://sonarcloud.io</sonar.host.url>
  67. <!--suppress UnresolvedMavenProperty -->
  68. <sonar.coverage.jacoco.xmlReportPaths>${maven.multiModuleProjectDirectory}/coverage-report/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
  69. <maven.compiler.source>17</maven.compiler.source>
  70. <maven.compiler.target>17</maven.compiler.target>
  71. <spotless.version>2.27.2</spotless.version>
  72. <slf4j.version>2.0.3</slf4j.version>
  73. <junit.version>5.9.1</junit.version>
  74. <antlr2.version>2.7.7</antlr2.version>
  75. <antlr4.version>4.11.1</antlr4.version>
  76. <emf.version>2.28.0</emf.version>
  77. <emf.ecore.version>2.26.0</emf.ecore.version>
  78. <emf.ecore.xmi.version>2.17.0</emf.ecore.xmi.version>
  79. <!-- The Revision of JPlag -->
  80. <revision>4.1.0</revision>
  81. </properties>
  82. <dependencyManagement>
  83. <dependencies>
  84. <!-- ANTLR -->
  85. <dependency>
  86. <groupId>antlr</groupId>
  87. <artifactId>antlr</artifactId>
  88. <version>${antlr2.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.antlr</groupId>
  92. <artifactId>antlr4-runtime</artifactId>
  93. <version>${antlr4.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.antlr</groupId>
  97. <artifactId>antlr4</artifactId>
  98. <version>${antlr4.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>net.sourceforge.argparse4j</groupId>
  102. <artifactId>argparse4j</artifactId>
  103. <version>0.9.0</version>
  104. </dependency>
  105. <!-- CoreNLP -->
  106. <dependency>
  107. <groupId>edu.stanford.nlp</groupId>
  108. <artifactId>stanford-corenlp</artifactId>
  109. <version>4.5.1</version>
  110. </dependency>
  111. <!-- LOGGER -->
  112. <dependency>
  113. <groupId>org.slf4j</groupId>
  114. <artifactId>slf4j-api</artifactId>
  115. <version>${slf4j.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.slf4j</groupId>
  119. <artifactId>slf4j-simple</artifactId>
  120. <version>${slf4j.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.kohsuke.metainf-services</groupId>
  124. <artifactId>metainf-services</artifactId>
  125. <version>1.9</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.fasterxml.jackson.core</groupId>
  129. <artifactId>jackson-databind</artifactId>
  130. <version>2.14.0</version>
  131. </dependency>
  132. </dependencies>
  133. </dependencyManagement>
  134. <dependencies>
  135. <dependency>
  136. <groupId>org.junit.jupiter</groupId>
  137. <artifactId>junit-jupiter-engine</artifactId>
  138. <version>${junit.version}</version>
  139. <scope>test</scope>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.junit.jupiter</groupId>
  143. <artifactId>junit-jupiter-params</artifactId>
  144. <version>${junit.version}</version>
  145. <scope>test</scope>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.github.stefanbirkner</groupId>
  149. <artifactId>system-lambda</artifactId>
  150. <version>1.2.1</version>
  151. <scope>test</scope>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.mockito</groupId>
  155. <artifactId>mockito-core</artifactId>
  156. <version>4.9.0</version>
  157. <scope>test</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.slf4j</groupId>
  161. <artifactId>slf4j-api</artifactId>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.slf4j</groupId>
  165. <artifactId>slf4j-simple</artifactId>
  166. <scope>test</scope>
  167. </dependency>
  168. </dependencies>
  169. <build>
  170. <pluginManagement>
  171. <plugins>
  172. <plugin>
  173. <groupId>com.helger.maven</groupId>
  174. <artifactId>ph-javacc-maven-plugin</artifactId>
  175. <version>4.1.5</version>
  176. </plugin>
  177. <plugin>
  178. <groupId>org.codehaus.mojo</groupId>
  179. <artifactId>antlr-maven-plugin</artifactId>
  180. <version>2.1</version>
  181. </plugin>
  182. <plugin>
  183. <groupId>org.antlr</groupId>
  184. <artifactId>antlr4-maven-plugin</artifactId>
  185. <version>${antlr4.version}</version>
  186. </plugin>
  187. <plugin>
  188. <groupId>org.apache.maven.plugins</groupId>
  189. <artifactId>maven-jar-plugin</artifactId>
  190. <version>3.3.0</version>
  191. <configuration>
  192. <archive>
  193. <manifest>
  194. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  195. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  196. </manifest>
  197. </archive>
  198. </configuration>
  199. <executions>
  200. <execution>
  201. <goals>
  202. <goal>test-jar</goal>
  203. </goals>
  204. </execution>
  205. </executions>
  206. </plugin>
  207. <plugin>
  208. <groupId>org.apache.maven.plugins</groupId>
  209. <artifactId>maven-assembly-plugin</artifactId>
  210. <version>3.4.2</version>
  211. <configuration>
  212. <descriptorRefs>
  213. <descriptorRef>jar-with-dependencies</descriptorRef>
  214. </descriptorRefs>
  215. <archive>
  216. <manifest>
  217. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  218. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  219. </manifest>
  220. </archive>
  221. </configuration>
  222. </plugin>
  223. <plugin>
  224. <groupId>org.apache.maven.plugins</groupId>
  225. <artifactId>maven-surefire-plugin</artifactId>
  226. <version>3.0.0-M7</version>
  227. </plugin>
  228. <plugin>
  229. <groupId>org.jacoco</groupId>
  230. <artifactId>jacoco-maven-plugin</artifactId>
  231. <version>0.8.8</version>
  232. <executions>
  233. <execution>
  234. <id>prepare-agent</id>
  235. <goals>
  236. <goal>prepare-agent</goal>
  237. </goals>
  238. </execution>
  239. <execution>
  240. <id>report</id>
  241. <goals>
  242. <goal>report</goal>
  243. </goals>
  244. <configuration>
  245. <formats>
  246. <format>XML</format>
  247. </formats>
  248. </configuration>
  249. </execution>
  250. </executions>
  251. </plugin>
  252. <plugin>
  253. <groupId>org.apache.maven.plugins</groupId>
  254. <artifactId>maven-gpg-plugin</artifactId>
  255. <version>3.0.1</version>
  256. </plugin>
  257. <plugin>
  258. <groupId>org.apache.maven.plugins</groupId>
  259. <artifactId>maven-deploy-plugin</artifactId>
  260. <version>3.0.0</version>
  261. </plugin>
  262. </plugins>
  263. </pluginManagement>
  264. <plugins>
  265. <plugin>
  266. <groupId>org.codehaus.mojo</groupId>
  267. <artifactId>flatten-maven-plugin</artifactId>
  268. <version>1.3.0</version>
  269. <configuration>
  270. <updatePomFile>true</updatePomFile>
  271. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  272. <pomElements>
  273. <dependencyManagement>expand</dependencyManagement>
  274. <dependencies>expand</dependencies>
  275. </pomElements>
  276. </configuration>
  277. <executions>
  278. <execution>
  279. <id>flatten</id>
  280. <goals>
  281. <goal>flatten</goal>
  282. </goals>
  283. <phase>process-resources</phase>
  284. </execution>
  285. <execution>
  286. <id>flatten.clean</id>
  287. <goals>
  288. <goal>clean</goal>
  289. </goals>
  290. <phase>clean</phase>
  291. </execution>
  292. </executions>
  293. </plugin>
  294. <plugin>
  295. <groupId>org.codehaus.mojo</groupId>
  296. <artifactId>build-helper-maven-plugin</artifactId>
  297. <version>3.3.0</version>
  298. <executions>
  299. <execution>
  300. <id>add-source</id>
  301. <goals>
  302. <goal>add-source</goal>
  303. </goals>
  304. <phase>generate-sources</phase>
  305. <configuration>
  306. <sources>
  307. <source>${project.build.directory}/generated-sources/javacc/</source>
  308. <source>${project.build.directory}/generated-sources/antlr/</source>
  309. </sources>
  310. </configuration>
  311. </execution>
  312. </executions>
  313. </plugin>
  314. <plugin>
  315. <groupId>org.apache.maven.plugins</groupId>
  316. <artifactId>maven-javadoc-plugin</artifactId>
  317. <version>3.4.1</version>
  318. <executions>
  319. <execution>
  320. <id>attach-javadocs</id>
  321. <goals>
  322. <goal>jar</goal>
  323. </goals>
  324. </execution>
  325. </executions>
  326. </plugin>
  327. <plugin>
  328. <groupId>org.apache.maven.plugins</groupId>
  329. <artifactId>maven-source-plugin</artifactId>
  330. <version>3.2.1</version>
  331. <executions>
  332. <execution>
  333. <id>attach-sources</id>
  334. <goals>
  335. <goal>jar</goal>
  336. </goals>
  337. </execution>
  338. </executions>
  339. </plugin>
  340. <plugin>
  341. <groupId>org.sonatype.plugins</groupId>
  342. <artifactId>nexus-staging-maven-plugin</artifactId>
  343. <version>1.6.13</version>
  344. <extensions>true</extensions>
  345. <configuration>
  346. <serverId>ossrh</serverId>
  347. <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
  348. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  349. </configuration>
  350. </plugin>
  351. <plugin>
  352. <groupId>com.diffplug.spotless</groupId>
  353. <artifactId>spotless-maven-plugin</artifactId>
  354. <version>${spotless.version}</version>
  355. <configuration>
  356. <java>
  357. <eclipse>
  358. <!--suppress UnresolvedMavenProperty -->
  359. <file>${maven.multiModuleProjectDirectory}/formatter.xml</file>
  360. </eclipse>
  361. <importOrder>
  362. <file>spotless.importorder</file>
  363. </importOrder>
  364. <removeUnusedImports></removeUnusedImports>
  365. </java>
  366. <pom>
  367. <sortPom>
  368. <encoding>UTF-8</encoding>
  369. <keepBlankLines>true</keepBlankLines>
  370. <indentBlankLines>false</indentBlankLines>
  371. <nrOfIndentSpace>4</nrOfIndentSpace>
  372. </sortPom>
  373. </pom>
  374. </configuration>
  375. </plugin>
  376. <plugin>
  377. <groupId>org.jacoco</groupId>
  378. <artifactId>jacoco-maven-plugin</artifactId>
  379. </plugin>
  380. </plugins>
  381. </build>
  382. <profiles>
  383. <profile>
  384. <id>module-defaults</id>
  385. <activation>
  386. <activeByDefault>true</activeByDefault>
  387. </activation>
  388. <modules>
  389. <module>cli</module>
  390. <module>core</module>
  391. <module>coverage-report</module>
  392. <module>endtoend-testing</module>
  393. <module>languages</module>
  394. <module>language-api</module>
  395. <module>language-testutils</module>
  396. </modules>
  397. </profile>
  398. <profile>
  399. <id>deployment</id>
  400. <activation>
  401. <activeByDefault>false</activeByDefault>
  402. </activation>
  403. <modules>
  404. <module>core</module>
  405. <module>languages</module>
  406. <module>language-api</module>
  407. <module>language-testutils</module>
  408. </modules>
  409. <build>
  410. <plugins>
  411. <plugin>
  412. <groupId>org.apache.maven.plugins</groupId>
  413. <artifactId>maven-gpg-plugin</artifactId>
  414. <executions>
  415. <execution>
  416. <id>sign-artifacts</id>
  417. <goals>
  418. <goal>sign</goal>
  419. </goals>
  420. <phase>verify</phase>
  421. <configuration>
  422. <keyname>0xC6E9DAC2</keyname>
  423. <!--suppress UnresolvedMavenProperty -->
  424. <passphrase>${env.GPG_PASSPHRASE}</passphrase>
  425. </configuration>
  426. </execution>
  427. </executions>
  428. </plugin>
  429. </plugins>
  430. </build>
  431. </profile>
  432. </profiles>
  433. </project>