pom.xml 22 KB

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