pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  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. </dependencies>
  122. </dependencyManagement>
  123. <dependencies>
  124. <dependency>
  125. <groupId>org.junit.jupiter</groupId>
  126. <artifactId>junit-jupiter-engine</artifactId>
  127. <version>${junit.version}</version>
  128. <scope>test</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.junit.jupiter</groupId>
  132. <artifactId>junit-jupiter-params</artifactId>
  133. <version>${junit.version}</version>
  134. <scope>test</scope>
  135. </dependency>
  136. <dependency>
  137. <groupId>com.github.stefanbirkner</groupId>
  138. <artifactId>system-lambda</artifactId>
  139. <version>1.2.1</version>
  140. <scope>test</scope>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.mockito</groupId>
  144. <artifactId>mockito-core</artifactId>
  145. <version>4.7.0</version>
  146. <scope>test</scope>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.slf4j</groupId>
  150. <artifactId>slf4j-api</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.slf4j</groupId>
  154. <artifactId>slf4j-simple</artifactId>
  155. <scope>test</scope>
  156. </dependency>
  157. </dependencies>
  158. <build>
  159. <pluginManagement>
  160. <plugins>
  161. <plugin>
  162. <groupId>com.helger.maven</groupId>
  163. <artifactId>ph-javacc-maven-plugin</artifactId>
  164. <version>4.1.5</version>
  165. </plugin>
  166. <plugin>
  167. <groupId>org.codehaus.mojo</groupId>
  168. <artifactId>antlr-maven-plugin</artifactId>
  169. <version>2.1</version>
  170. </plugin>
  171. <plugin>
  172. <groupId>org.antlr</groupId>
  173. <artifactId>antlr4-maven-plugin</artifactId>
  174. <version>${antlr4.version}</version>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.apache.maven.plugins</groupId>
  178. <artifactId>maven-jar-plugin</artifactId>
  179. <version>3.2.2</version>
  180. <configuration>
  181. <archive>
  182. <manifest>
  183. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  184. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  185. </manifest>
  186. </archive>
  187. </configuration>
  188. <executions>
  189. <execution>
  190. <goals>
  191. <goal>test-jar</goal>
  192. </goals>
  193. </execution>
  194. </executions>
  195. </plugin>
  196. <plugin>
  197. <groupId>org.apache.maven.plugins</groupId>
  198. <artifactId>maven-assembly-plugin</artifactId>
  199. <version>3.4.2</version>
  200. <configuration>
  201. <descriptorRefs>
  202. <descriptorRef>jar-with-dependencies</descriptorRef>
  203. </descriptorRefs>
  204. <archive>
  205. <manifest>
  206. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  207. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  208. </manifest>
  209. </archive>
  210. </configuration>
  211. </plugin>
  212. <plugin>
  213. <groupId>org.apache.maven.plugins</groupId>
  214. <artifactId>maven-surefire-plugin</artifactId>
  215. <version>3.0.0-M7</version>
  216. </plugin>
  217. <plugin>
  218. <groupId>org.jacoco</groupId>
  219. <artifactId>jacoco-maven-plugin</artifactId>
  220. <version>0.8.8</version>
  221. <executions>
  222. <execution>
  223. <id>prepare-agent</id>
  224. <goals>
  225. <goal>prepare-agent</goal>
  226. </goals>
  227. </execution>
  228. <execution>
  229. <id>report</id>
  230. <goals>
  231. <goal>report</goal>
  232. </goals>
  233. <configuration>
  234. <formats>
  235. <format>XML</format>
  236. </formats>
  237. </configuration>
  238. </execution>
  239. </executions>
  240. </plugin>
  241. <plugin>
  242. <groupId>org.apache.maven.plugins</groupId>
  243. <artifactId>maven-gpg-plugin</artifactId>
  244. <version>3.0.1</version>
  245. </plugin>
  246. <plugin>
  247. <groupId>org.apache.maven.plugins</groupId>
  248. <artifactId>maven-deploy-plugin</artifactId>
  249. <version>3.0.0</version>
  250. </plugin>
  251. </plugins>
  252. </pluginManagement>
  253. <plugins>
  254. <plugin>
  255. <groupId>org.codehaus.mojo</groupId>
  256. <artifactId>flatten-maven-plugin</artifactId>
  257. <version>1.3.0</version>
  258. <configuration>
  259. <updatePomFile>true</updatePomFile>
  260. <flattenMode>resolveCiFriendliesOnly</flattenMode>
  261. </configuration>
  262. <executions>
  263. <execution>
  264. <id>flatten</id>
  265. <goals>
  266. <goal>flatten</goal>
  267. </goals>
  268. <phase>process-resources</phase>
  269. </execution>
  270. <execution>
  271. <id>flatten.clean</id>
  272. <goals>
  273. <goal>clean</goal>
  274. </goals>
  275. <phase>clean</phase>
  276. </execution>
  277. </executions>
  278. </plugin>
  279. <plugin>
  280. <groupId>org.codehaus.mojo</groupId>
  281. <artifactId>build-helper-maven-plugin</artifactId>
  282. <version>3.3.0</version>
  283. <executions>
  284. <execution>
  285. <id>add-source</id>
  286. <goals>
  287. <goal>add-source</goal>
  288. </goals>
  289. <phase>generate-sources</phase>
  290. <configuration>
  291. <sources>
  292. <source>${project.build.directory}/generated-sources/javacc/</source>
  293. <source>${project.build.directory}/generated-sources/antlr/</source>
  294. </sources>
  295. </configuration>
  296. </execution>
  297. </executions>
  298. </plugin>
  299. <plugin>
  300. <groupId>org.apache.maven.plugins</groupId>
  301. <artifactId>maven-javadoc-plugin</artifactId>
  302. <version>3.4.1</version>
  303. <executions>
  304. <execution>
  305. <id>attach-javadocs</id>
  306. <goals>
  307. <goal>jar</goal>
  308. </goals>
  309. </execution>
  310. </executions>
  311. </plugin>
  312. <plugin>
  313. <groupId>org.apache.maven.plugins</groupId>
  314. <artifactId>maven-source-plugin</artifactId>
  315. <version>3.2.1</version>
  316. <executions>
  317. <execution>
  318. <id>attach-sources</id>
  319. <goals>
  320. <goal>jar</goal>
  321. </goals>
  322. </execution>
  323. </executions>
  324. </plugin>
  325. <plugin>
  326. <groupId>org.sonatype.plugins</groupId>
  327. <artifactId>nexus-staging-maven-plugin</artifactId>
  328. <version>1.6.13</version>
  329. <extensions>true</extensions>
  330. <configuration>
  331. <serverId>ossrh</serverId>
  332. <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
  333. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  334. </configuration>
  335. </plugin>
  336. <plugin>
  337. <groupId>com.diffplug.spotless</groupId>
  338. <artifactId>spotless-maven-plugin</artifactId>
  339. <version>${spotless.version}</version>
  340. <configuration>
  341. <java>
  342. <eclipse>
  343. <!--suppress UnresolvedMavenProperty -->
  344. <file>${maven.multiModuleProjectDirectory}/formatter.xml</file>
  345. </eclipse>
  346. <importOrder>
  347. <file>spotless.importorder</file>
  348. </importOrder>
  349. <removeUnusedImports></removeUnusedImports>
  350. </java>
  351. <pom>
  352. <sortPom>
  353. <encoding>UTF-8</encoding>
  354. <keepBlankLines>true</keepBlankLines>
  355. <indentBlankLines>false</indentBlankLines>
  356. <nrOfIndentSpace>4</nrOfIndentSpace>
  357. </sortPom>
  358. </pom>
  359. </configuration>
  360. </plugin>
  361. <plugin>
  362. <groupId>org.jacoco</groupId>
  363. <artifactId>jacoco-maven-plugin</artifactId>
  364. </plugin>
  365. </plugins>
  366. </build>
  367. <profiles>
  368. <profile>
  369. <id>module-defaults</id>
  370. <activation>
  371. <activeByDefault>true</activeByDefault>
  372. </activation>
  373. <modules>
  374. <module>core</module>
  375. <module>cli</module>
  376. <module>endToEndTesting</module>
  377. <module>languages</module>
  378. <module>languages.api</module>
  379. <module>languages.testutils</module>
  380. </modules>
  381. </profile>
  382. <profile>
  383. <id>deployment</id>
  384. <activation>
  385. <activeByDefault>false</activeByDefault>
  386. </activation>
  387. <modules>
  388. <module>core</module>
  389. <module>languages</module>
  390. <module>languages.api</module>
  391. <module>languages.testutils</module>
  392. </modules>
  393. <build>
  394. <plugins>
  395. <plugin>
  396. <groupId>org.apache.maven.plugins</groupId>
  397. <artifactId>maven-gpg-plugin</artifactId>
  398. <executions>
  399. <execution>
  400. <id>sign-artifacts</id>
  401. <goals>
  402. <goal>sign</goal>
  403. </goals>
  404. <phase>verify</phase>
  405. <configuration>
  406. <keyname>0xC6E9DAC2</keyname>
  407. <!--suppress UnresolvedMavenProperty -->
  408. <passphrase>${env.GPG_PASSPHRASE}</passphrase>
  409. </configuration>
  410. </execution>
  411. </executions>
  412. </plugin>
  413. </plugins>
  414. </build>
  415. </profile>
  416. </profiles>
  417. </project>