pom.xml 21 KB

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