pom.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  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. <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}/jplag.cli/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.24.0</spotless.version>
  72. <slf4j.version>1.7.36</slf4j.version>
  73. <junit.version>5.9.0</junit.version>
  74. <antlr2.version>2.7.7</antlr2.version>
  75. <antlr3.version>3.5</antlr3.version>
  76. <antlr4.version>4.10.1</antlr4.version>
  77. <!-- The Revision of JPlag -->
  78. <revision>4.0.0-SNAPSHOT</revision>
  79. </properties>
  80. <dependencyManagement>
  81. <dependencies>
  82. <!-- ANTLR -->
  83. <dependency>
  84. <groupId>antlr</groupId>
  85. <artifactId>antlr</artifactId>
  86. <version>${antlr2.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.antlr</groupId>
  90. <artifactId>antlr4-runtime</artifactId>
  91. <version>${antlr4.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.antlr</groupId>
  95. <artifactId>antlr4</artifactId>
  96. <version>${antlr4.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.antlr</groupId>
  100. <artifactId>antlr3</artifactId>
  101. <version>${antlr3.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.antlr</groupId>
  105. <artifactId>antlr3-runtime</artifactId>
  106. <version>${antlr3.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>net.sourceforge.argparse4j</groupId>
  110. <artifactId>argparse4j</artifactId>
  111. <version>0.9.0</version>
  112. </dependency>
  113. <!-- LOGGER -->
  114. <dependency>
  115. <groupId>org.slf4j</groupId>
  116. <artifactId>slf4j-api</artifactId>
  117. <version>${slf4j.version}</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.slf4j</groupId>
  121. <artifactId>slf4j-simple</artifactId>
  122. <version>${slf4j.version}</version>
  123. </dependency>
  124. <!-- JPLAG -->
  125. <dependency>
  126. <groupId>de.jplag</groupId>
  127. <artifactId>text</artifactId>
  128. <version>${revision}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>de.jplag</groupId>
  132. <artifactId>java</artifactId>
  133. <version>${revision}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>de.jplag</groupId>
  137. <artifactId>python-3</artifactId>
  138. <version>${revision}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>de.jplag</groupId>
  142. <artifactId>csharp-6</artifactId>
  143. <version>${revision}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>de.jplag</groupId>
  147. <artifactId>cpp</artifactId>
  148. <version>${revision}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>de.jplag</groupId>
  152. <artifactId>golang</artifactId>
  153. <version>${revision}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>de.jplag</groupId>
  157. <artifactId>kotlin</artifactId>
  158. <version>${revision}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>de.jplag</groupId>
  162. <artifactId>rlang</artifactId>
  163. <version>${revision}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>de.jplag</groupId>
  167. <artifactId>scheme</artifactId>
  168. <version>${revision}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>de.jplag</groupId>
  172. <artifactId>chars</artifactId>
  173. <version>${revision}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>de.jplag</groupId>
  177. <artifactId>frontend-utils</artifactId>
  178. <version>${revision}</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>de.jplag</groupId>
  182. <artifactId>frontend-testutils</artifactId>
  183. <version>${revision}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>de.jplag</groupId>
  187. <artifactId>endToEndTesting</artifactId>
  188. <version>${revision}</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>de.jplag</groupId>
  192. <artifactId>jplag</artifactId>
  193. <version>${revision}</version>
  194. </dependency>
  195. </dependencies>
  196. </dependencyManagement>
  197. <dependencies>
  198. <dependency>
  199. <groupId>org.junit.jupiter</groupId>
  200. <artifactId>junit-jupiter-engine</artifactId>
  201. <version>${junit.version}</version>
  202. <scope>test</scope>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.junit.jupiter</groupId>
  206. <artifactId>junit-jupiter-params</artifactId>
  207. <version>${junit.version}</version>
  208. <scope>test</scope>
  209. </dependency>
  210. <dependency>
  211. <groupId>com.github.stefanbirkner</groupId>
  212. <artifactId>system-lambda</artifactId>
  213. <version>1.2.1</version>
  214. <scope>test</scope>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.mockito</groupId>
  218. <artifactId>mockito-core</artifactId>
  219. <version>4.6.1</version>
  220. <scope>test</scope>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.slf4j</groupId>
  224. <artifactId>slf4j-api</artifactId>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.slf4j</groupId>
  228. <artifactId>slf4j-simple</artifactId>
  229. <scope>test</scope>
  230. </dependency>
  231. </dependencies>
  232. <build>
  233. <pluginManagement>
  234. <plugins>
  235. <plugin>
  236. <groupId>com.helger.maven</groupId>
  237. <artifactId>ph-javacc-maven-plugin</artifactId>
  238. <version>4.1.5</version>
  239. </plugin>
  240. <plugin>
  241. <groupId>org.codehaus.mojo</groupId>
  242. <artifactId>antlr-maven-plugin</artifactId>
  243. <version>2.1</version>
  244. </plugin>
  245. <plugin>
  246. <groupId>org.antlr</groupId>
  247. <artifactId>antlr4-maven-plugin</artifactId>
  248. <version>${antlr4.version}</version>
  249. </plugin>
  250. <plugin>
  251. <groupId>org.apache.maven.plugins</groupId>
  252. <artifactId>maven-jar-plugin</artifactId>
  253. <version>3.2.2</version>
  254. <configuration>
  255. <archive>
  256. <manifest>
  257. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  258. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  259. </manifest>
  260. </archive>
  261. </configuration>
  262. <executions>
  263. <execution>
  264. <goals>
  265. <goal>test-jar</goal>
  266. </goals>
  267. </execution>
  268. </executions>
  269. </plugin>
  270. <plugin>
  271. <groupId>org.apache.maven.plugins</groupId>
  272. <artifactId>maven-assembly-plugin</artifactId>
  273. <version>3.4.2</version>
  274. <configuration>
  275. <descriptorRefs>
  276. <descriptorRef>jar-with-dependencies</descriptorRef>
  277. </descriptorRefs>
  278. <archive>
  279. <manifest>
  280. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  281. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  282. </manifest>
  283. </archive>
  284. </configuration>
  285. </plugin>
  286. <plugin>
  287. <groupId>org.apache.maven.plugins</groupId>
  288. <artifactId>maven-surefire-plugin</artifactId>
  289. <version>3.0.0-M7</version>
  290. </plugin>
  291. <plugin>
  292. <groupId>org.jacoco</groupId>
  293. <artifactId>jacoco-maven-plugin</artifactId>
  294. <version>0.8.8</version>
  295. <executions>
  296. <execution>
  297. <id>prepare-agent</id>
  298. <goals>
  299. <goal>prepare-agent</goal>
  300. </goals>
  301. </execution>
  302. <execution>
  303. <id>report</id>
  304. <goals>
  305. <goal>report</goal>
  306. </goals>
  307. <configuration>
  308. <formats>
  309. <format>XML</format>
  310. </formats>
  311. </configuration>
  312. </execution>
  313. </executions>
  314. </plugin>
  315. <plugin>
  316. <groupId>org.apache.maven.plugins</groupId>
  317. <artifactId>maven-gpg-plugin</artifactId>
  318. <version>3.0.1</version>
  319. </plugin>
  320. <plugin>
  321. <groupId>org.apache.maven.plugins</groupId>
  322. <artifactId>maven-deploy-plugin</artifactId>
  323. <version>3.0.0</version>
  324. </plugin>
  325. </plugins>
  326. </pluginManagement>
  327. <plugins>
  328. <plugin>
  329. <groupId>org.codehaus.mojo</groupId>
  330. <artifactId>flatten-maven-plugin</artifactId>
  331. <version>1.2.7</version>
  332. <configuration>
  333. <updatePomFile>true</updatePomFile>
  334. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  335. </configuration>
  336. <executions>
  337. <execution>
  338. <id>flatten</id>
  339. <goals>
  340. <goal>flatten</goal>
  341. </goals>
  342. <phase>process-resources</phase>
  343. </execution>
  344. <execution>
  345. <id>flatten.clean</id>
  346. <goals>
  347. <goal>clean</goal>
  348. </goals>
  349. <phase>clean</phase>
  350. </execution>
  351. </executions>
  352. </plugin>
  353. <plugin>
  354. <groupId>org.codehaus.mojo</groupId>
  355. <artifactId>build-helper-maven-plugin</artifactId>
  356. <version>3.3.0</version>
  357. <executions>
  358. <execution>
  359. <id>add-source</id>
  360. <goals>
  361. <goal>add-source</goal>
  362. </goals>
  363. <phase>generate-sources</phase>
  364. <configuration>
  365. <sources>
  366. <source>${project.build.directory}/generated-sources/javacc/</source>
  367. <source>${project.build.directory}/generated-sources/antlr/</source>
  368. </sources>
  369. </configuration>
  370. </execution>
  371. </executions>
  372. </plugin>
  373. <plugin>
  374. <groupId>org.apache.maven.plugins</groupId>
  375. <artifactId>maven-javadoc-plugin</artifactId>
  376. <version>3.4.0</version>
  377. <executions>
  378. <execution>
  379. <id>attach-javadocs</id>
  380. <goals>
  381. <goal>jar</goal>
  382. </goals>
  383. </execution>
  384. </executions>
  385. </plugin>
  386. <plugin>
  387. <groupId>org.apache.maven.plugins</groupId>
  388. <artifactId>maven-source-plugin</artifactId>
  389. <version>3.2.1</version>
  390. <executions>
  391. <execution>
  392. <id>attach-sources</id>
  393. <goals>
  394. <goal>jar</goal>
  395. </goals>
  396. </execution>
  397. </executions>
  398. </plugin>
  399. <plugin>
  400. <groupId>org.sonatype.plugins</groupId>
  401. <artifactId>nexus-staging-maven-plugin</artifactId>
  402. <version>1.6.13</version>
  403. <extensions>true</extensions>
  404. <configuration>
  405. <serverId>ossrh</serverId>
  406. <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
  407. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  408. </configuration>
  409. </plugin>
  410. <plugin>
  411. <groupId>com.diffplug.spotless</groupId>
  412. <artifactId>spotless-maven-plugin</artifactId>
  413. <version>${spotless.version}</version>
  414. <configuration>
  415. <java>
  416. <eclipse>
  417. <!--suppress UnresolvedMavenProperty -->
  418. <file>${maven.multiModuleProjectDirectory}/formatter.xml</file>
  419. </eclipse>
  420. <importOrder>
  421. <file>spotless.importorder</file>
  422. </importOrder>
  423. <removeUnusedImports></removeUnusedImports>
  424. </java>
  425. <pom>
  426. <sortPom>
  427. <encoding>UTF-8</encoding>
  428. <keepBlankLines>true</keepBlankLines>
  429. <indentBlankLines>false</indentBlankLines>
  430. <nrOfIndentSpace>4</nrOfIndentSpace>
  431. </sortPom>
  432. </pom>
  433. </configuration>
  434. </plugin>
  435. <plugin>
  436. <groupId>org.jacoco</groupId>
  437. <artifactId>jacoco-maven-plugin</artifactId>
  438. </plugin>
  439. </plugins>
  440. </build>
  441. <profiles>
  442. <profile>
  443. <id>module-defaults</id>
  444. <activation>
  445. <activeByDefault>true</activeByDefault>
  446. </activation>
  447. <modules>
  448. <module>jplag.frontend-utils</module>
  449. <module>jplag.frontend-testutils</module>
  450. <module>jplag.frontend.chars</module>
  451. <module>jplag.frontend.cpp</module>
  452. <module>jplag.frontend.csharp-6</module>
  453. <module>jplag.frontend.golang</module>
  454. <module>jplag.frontend.java</module>
  455. <module>jplag.frontend.kotlin</module>
  456. <module>jplag.frontend.python-3</module>
  457. <module>jplag.frontend.rlang</module>
  458. <module>jplag.frontend.scheme</module>
  459. <module>jplag.frontend.text</module>
  460. <module>jplag.endToEndTesting</module>
  461. <module>jplag</module>
  462. <module>jplag.cli</module>
  463. </modules>
  464. </profile>
  465. <profile>
  466. <id>deployment</id>
  467. <activation>
  468. <activeByDefault>false</activeByDefault>
  469. </activation>
  470. <modules>
  471. <module>jplag.frontend-utils</module>
  472. <module>jplag.frontend-testutils</module>
  473. <module>jplag.frontend.chars</module>
  474. <module>jplag.frontend.cpp</module>
  475. <module>jplag.frontend.csharp-6</module>
  476. <module>jplag.frontend.golang</module>
  477. <module>jplag.frontend.java</module>
  478. <module>jplag.frontend.kotlin</module>
  479. <module>jplag.frontend.python-3</module>
  480. <module>jplag.frontend.rlang</module>
  481. <module>jplag.frontend.scheme</module>
  482. <module>jplag.frontend.text</module>
  483. <module>jplag</module>
  484. </modules>
  485. <build>
  486. <plugins>
  487. <plugin>
  488. <groupId>org.apache.maven.plugins</groupId>
  489. <artifactId>maven-gpg-plugin</artifactId>
  490. <executions>
  491. <execution>
  492. <id>sign-artifacts</id>
  493. <goals>
  494. <goal>sign</goal>
  495. </goals>
  496. <phase>verify</phase>
  497. <configuration>
  498. <keyname>0xC6E9DAC2</keyname>
  499. <!--suppress UnresolvedMavenProperty -->
  500. <passphrase>${env.GPG_PASSPHRASE}</passphrase>
  501. </configuration>
  502. </execution>
  503. </executions>
  504. </plugin>
  505. </plugins>
  506. </build>
  507. </profile>
  508. </profiles>
  509. </project>