pom.xml 18 KB

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