pom.xml 21 KB

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