pom.xml 22 KB

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