pom.xml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469
  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>http://www.ipd.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>http://github.com/jplag/JPlag/tree/master</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. <maven.compiler.source>17</maven.compiler.source>
  64. <maven.compiler.target>17</maven.compiler.target>
  65. <spotless.version>2.23.0</spotless.version>
  66. <slf4j.version>1.7.36</slf4j.version>
  67. <antlr2.version>2.7.7</antlr2.version>
  68. <antlr3.version>3.5</antlr3.version>
  69. <antlr4.version>4.10.1</antlr4.version>
  70. <!-- The Revision of JPlag -->
  71. <revision>4.0.0-SNAPSHOT</revision>
  72. </properties>
  73. <dependencyManagement>
  74. <dependencies>
  75. <!-- ANTLR -->
  76. <dependency>
  77. <groupId>antlr</groupId>
  78. <artifactId>antlr</artifactId>
  79. <version>${antlr2.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.antlr</groupId>
  83. <artifactId>antlr4-runtime</artifactId>
  84. <version>${antlr4.version}</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.antlr</groupId>
  88. <artifactId>antlr4</artifactId>
  89. <version>${antlr4.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.antlr</groupId>
  93. <artifactId>antlr3</artifactId>
  94. <version>${antlr3.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.antlr</groupId>
  98. <artifactId>antlr3-runtime</artifactId>
  99. <version>${antlr3.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>net.sourceforge.argparse4j</groupId>
  103. <artifactId>argparse4j</artifactId>
  104. <version>0.9.0</version>
  105. </dependency>
  106. <!-- LOGGER -->
  107. <dependency>
  108. <groupId>org.slf4j</groupId>
  109. <artifactId>slf4j-api</artifactId>
  110. <version>${slf4j.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.slf4j</groupId>
  114. <artifactId>slf4j-simple</artifactId>
  115. <version>${slf4j.version}</version>
  116. </dependency>
  117. <!-- JPLAG -->
  118. <dependency>
  119. <groupId>de.jplag</groupId>
  120. <artifactId>text</artifactId>
  121. <version>${revision}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>de.jplag</groupId>
  125. <artifactId>java</artifactId>
  126. <version>${revision}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>de.jplag</groupId>
  130. <artifactId>python-3</artifactId>
  131. <version>${revision}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>de.jplag</groupId>
  135. <artifactId>csharp-6</artifactId>
  136. <version>${revision}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>de.jplag</groupId>
  140. <artifactId>rlang</artifactId>
  141. <version>${revision}</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>de.jplag</groupId>
  145. <artifactId>cpp</artifactId>
  146. <version>${revision}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>de.jplag</groupId>
  150. <artifactId>kotlin</artifactId>
  151. <version>${revision}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>de.jplag</groupId>
  155. <artifactId>scheme</artifactId>
  156. <version>${revision}</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>de.jplag</groupId>
  160. <artifactId>chars</artifactId>
  161. <version>${revision}</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>de.jplag</groupId>
  165. <artifactId>frontend-utils</artifactId>
  166. <version>${revision}</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>de.jplag</groupId>
  170. <artifactId>frontend-testutils</artifactId>
  171. <version>${revision}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>de.jplag</groupId>
  175. <artifactId>jplag</artifactId>
  176. <version>${revision}</version>
  177. </dependency>
  178. </dependencies>
  179. </dependencyManagement>
  180. <dependencies>
  181. <dependency>
  182. <groupId>org.junit.jupiter</groupId>
  183. <artifactId>junit-jupiter-engine</artifactId>
  184. <version>5.9.0</version>
  185. <scope>test</scope>
  186. </dependency>
  187. <dependency>
  188. <groupId>com.github.stefanbirkner</groupId>
  189. <artifactId>system-lambda</artifactId>
  190. <version>1.2.1</version>
  191. <scope>test</scope>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.mockito</groupId>
  195. <artifactId>mockito-core</artifactId>
  196. <version>4.6.1</version>
  197. <scope>test</scope>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.slf4j</groupId>
  201. <artifactId>slf4j-api</artifactId>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.slf4j</groupId>
  205. <artifactId>slf4j-simple</artifactId>
  206. <scope>test</scope>
  207. </dependency>
  208. </dependencies>
  209. <build>
  210. <pluginManagement>
  211. <plugins>
  212. <plugin>
  213. <groupId>com.helger.maven</groupId>
  214. <artifactId>ph-javacc-maven-plugin</artifactId>
  215. <version>4.1.5</version>
  216. </plugin>
  217. <plugin>
  218. <groupId>org.codehaus.mojo</groupId>
  219. <artifactId>antlr-maven-plugin</artifactId>
  220. <version>2.1</version>
  221. </plugin>
  222. <plugin>
  223. <groupId>org.antlr</groupId>
  224. <artifactId>antlr4-maven-plugin</artifactId>
  225. <version>${antlr4.version}</version>
  226. </plugin>
  227. <plugin>
  228. <groupId>org.apache.maven.plugins</groupId>
  229. <artifactId>maven-jar-plugin</artifactId>
  230. <version>3.2.2</version>
  231. <configuration>
  232. <archive>
  233. <manifest>
  234. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  235. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  236. </manifest>
  237. </archive>
  238. </configuration>
  239. <executions>
  240. <execution>
  241. <goals>
  242. <goal>test-jar</goal>
  243. </goals>
  244. </execution>
  245. </executions>
  246. </plugin>
  247. <plugin>
  248. <groupId>org.apache.maven.plugins</groupId>
  249. <artifactId>maven-assembly-plugin</artifactId>
  250. <version>3.4.2</version>
  251. <configuration>
  252. <descriptorRefs>
  253. <descriptorRef>jar-with-dependencies</descriptorRef>
  254. </descriptorRefs>
  255. <archive>
  256. <manifest>
  257. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  258. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  259. </manifest>
  260. </archive>
  261. </configuration>
  262. </plugin>
  263. <plugin>
  264. <groupId>org.apache.maven.plugins</groupId>
  265. <artifactId>maven-surefire-plugin</artifactId>
  266. <version>3.0.0-M7</version>
  267. </plugin>
  268. <plugin>
  269. <groupId>org.apache.maven.plugins</groupId>
  270. <artifactId>maven-gpg-plugin</artifactId>
  271. <version>3.0.1</version>
  272. </plugin>
  273. <plugin>
  274. <groupId>org.apache.maven.plugins</groupId>
  275. <artifactId>maven-deploy-plugin</artifactId>
  276. <version>3.0.0</version>
  277. </plugin>
  278. </plugins>
  279. </pluginManagement>
  280. <plugins>
  281. <plugin>
  282. <groupId>org.codehaus.mojo</groupId>
  283. <artifactId>flatten-maven-plugin</artifactId>
  284. <version>1.2.7</version>
  285. <configuration>
  286. <updatePomFile>true</updatePomFile>
  287. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  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.0</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. </plugins>
  389. </build>
  390. <profiles>
  391. <profile>
  392. <id>module-defaults</id>
  393. <activation>
  394. <activeByDefault>true</activeByDefault>
  395. </activation>
  396. <modules>
  397. <module>jplag.frontend-utils</module>
  398. <module>jplag.frontend-testutils</module>
  399. <module>jplag.frontend.chars</module>
  400. <module>jplag.frontend.cpp</module>
  401. <module>jplag.frontend.csharp-6</module>
  402. <module>jplag.frontend.java</module>
  403. <module>jplag.frontend.kotlin</module>
  404. <module>jplag.frontend.python-3</module>
  405. <module>jplag.frontend.rlang</module>
  406. <module>jplag.frontend.scheme</module>
  407. <module>jplag.frontend.text</module>
  408. <module>jplag</module>
  409. <module>jplag.cli</module>
  410. </modules>
  411. </profile>
  412. <profile>
  413. <id>deployment</id>
  414. <activation>
  415. <activeByDefault>false</activeByDefault>
  416. </activation>
  417. <modules>
  418. <module>jplag.frontend-utils</module>
  419. <module>jplag.frontend-testutils</module>
  420. <module>jplag.frontend.chars</module>
  421. <module>jplag.frontend.cpp</module>
  422. <module>jplag.frontend.csharp-6</module>
  423. <module>jplag.frontend.java</module>
  424. <module>jplag.frontend.kotlin</module>
  425. <module>jplag.frontend.python-3</module>
  426. <module>jplag.frontend.rlang</module>
  427. <module>jplag.frontend.scheme</module>
  428. <module>jplag.frontend.text</module>
  429. <module>jplag</module>
  430. </modules>
  431. <build>
  432. <plugins>
  433. <plugin>
  434. <groupId>org.apache.maven.plugins</groupId>
  435. <artifactId>maven-gpg-plugin</artifactId>
  436. <executions>
  437. <execution>
  438. <id>sign-artifacts</id>
  439. <goals>
  440. <goal>sign</goal>
  441. </goals>
  442. <phase>verify</phase>
  443. <configuration>
  444. <keyname>0xC6E9DAC2</keyname>
  445. <!--suppress UnresolvedMavenProperty -->
  446. <passphrase>${env.GPG_PASSPHRASE}</passphrase>
  447. </configuration>
  448. </execution>
  449. </executions>
  450. </plugin>
  451. </plugins>
  452. </build>
  453. </profile>
  454. </profiles>
  455. </project>