|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <groupId>com.example.pom</groupId> |
| 8 | + <artifactId>main</artifactId> |
| 9 | + <version>${revision}</version> |
| 10 | + |
| 11 | + <modules> |
| 12 | + <module>IntermediatePom</module> |
| 13 | + <module>JavaPom</module> |
| 14 | + <module>KotlinPom</module> |
| 15 | + <module>library</module> |
| 16 | + </modules> |
| 17 | + |
| 18 | + <name>main-pom</name> |
| 19 | + <packaging>pom</packaging> |
| 20 | + |
| 21 | + <scm> |
| 22 | + <url>https://github.com/Tijs-2/example.git</url> |
| 23 | + <connection>scm:git@github.com:Tijs-2/example.git</connection> |
| 24 | + <developerConnection>scm:git@github.com:Tijs-2/example.git</developerConnection> |
| 25 | + <tag>HEAD</tag> |
| 26 | + </scm> |
| 27 | + |
| 28 | + |
| 29 | + <properties> |
| 30 | + <revision>1.0-SNAPSHOT</revision> |
| 31 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 32 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 33 | + |
| 34 | + <maven.compiler.source>13</maven.compiler.source> |
| 35 | + <maven.compiler.target>13</maven.compiler.target> |
| 36 | + |
| 37 | + <junit.version>5.7.0-M1</junit.version> |
| 38 | + |
| 39 | + <cfg4j.version>4.4.1</cfg4j.version> |
| 40 | + <slf4j.version>1.7.30</slf4j.version> |
| 41 | + <!--Maven--> |
| 42 | + <versions-maven-plugin.version>2.7</versions-maven-plugin.version> |
| 43 | + <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> |
| 44 | + <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version> |
| 45 | + <maven-clean-plugin.version>3.1.0</maven-clean-plugin.version> |
| 46 | + <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version> |
| 47 | + <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version> |
| 48 | + <build-helper-plugin.version>3.2.0</build-helper-plugin.version> |
| 49 | + <maven-install-plugin.version>3.0.0-M1</maven-install-plugin.version> |
| 50 | + <maven-deploy-plugin.version>3.0.0-M1</maven-deploy-plugin.version> |
| 51 | + <maven-site-plugin.version>3.9.1</maven-site-plugin.version> |
| 52 | + <tiles-maven-plugin.version>2.17</tiles-maven-plugin.version> |
| 53 | + <exec-maven-plugin.version>3.0.0</exec-maven-plugin.version> |
| 54 | + <dockerfile-maven-version>1.4.13</dockerfile-maven-version> |
| 55 | + </properties> |
| 56 | + |
| 57 | + <dependencies> |
| 58 | + <dependency> |
| 59 | + <groupId>io.swagger.core.v3</groupId> |
| 60 | + <artifactId>swagger-core</artifactId> |
| 61 | + <version>2.1.4</version> |
| 62 | + </dependency> |
| 63 | + <dependency> |
| 64 | + <groupId>io.swagger.core.v3</groupId> |
| 65 | + <artifactId>swagger-annotations</artifactId> |
| 66 | + <version>2.1.4</version> |
| 67 | + </dependency> |
| 68 | + </dependencies> |
| 69 | + |
| 70 | + <build> |
| 71 | + <pluginManagement> |
| 72 | + <plugins> |
| 73 | + <plugin> |
| 74 | + <groupId>org.apache.maven.plugins</groupId> |
| 75 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 76 | + <version>3.0.0-M3</version> |
| 77 | + </plugin> |
| 78 | + <plugin> |
| 79 | + <groupId>org.codehaus.mojo</groupId> |
| 80 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 81 | + <version>${build-helper-plugin.version}</version> |
| 82 | + </plugin> |
| 83 | + <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> |
| 84 | + <plugin> |
| 85 | + <artifactId>maven-clean-plugin</artifactId> |
| 86 | + <version>${maven-clean-plugin.version}</version> |
| 87 | + </plugin> |
| 88 | + <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging --> |
| 89 | + <plugin> |
| 90 | + <groupId>org.codehaus.mojo</groupId> |
| 91 | + <artifactId>versions-maven-plugin</artifactId> |
| 92 | + <version>${versions-maven-plugin.version}</version> |
| 93 | + </plugin> |
| 94 | + <plugin> |
| 95 | + <artifactId>maven-resources-plugin</artifactId> |
| 96 | + <version>${maven-resources-plugin.version}</version> |
| 97 | + </plugin> |
| 98 | + <plugin> |
| 99 | + <artifactId>maven-compiler-plugin</artifactId> |
| 100 | + <version>${maven-compiler-plugin.version}</version> |
| 101 | + </plugin> |
| 102 | + <plugin> |
| 103 | + <artifactId>maven-surefire-plugin</artifactId> |
| 104 | + <version>${maven-surefire-plugin.version}</version> |
| 105 | + </plugin> |
| 106 | + <plugin> |
| 107 | + <groupId>org.apache.maven.plugins</groupId> |
| 108 | + <artifactId>maven-jar-plugin</artifactId> |
| 109 | + <version>3.2.0</version> |
| 110 | + </plugin> |
| 111 | + <plugin> |
| 112 | + <artifactId>maven-install-plugin</artifactId> |
| 113 | + <version>${maven-install-plugin.version}</version> |
| 114 | + </plugin> |
| 115 | + <plugin> |
| 116 | + <artifactId>maven-deploy-plugin</artifactId> |
| 117 | + <version>${maven-deploy-plugin.version}</version> |
| 118 | + </plugin> |
| 119 | + <plugin> |
| 120 | + <artifactId>maven-site-plugin</artifactId> |
| 121 | + <version>3.9.1</version> |
| 122 | + </plugin> |
| 123 | + <plugin> |
| 124 | + <groupId>org.codehaus.mojo</groupId> |
| 125 | + <artifactId>exec-maven-plugin</artifactId> |
| 126 | + <version>${exec-maven-plugin.version}</version> |
| 127 | + </plugin> |
| 128 | + </plugins> |
| 129 | + </pluginManagement> |
| 130 | + <plugins> |
| 131 | + <plugin> |
| 132 | + <groupId>org.apache.maven.plugins</groupId> |
| 133 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 134 | + <executions> |
| 135 | + <execution> |
| 136 | + <id>enforce-maven</id> |
| 137 | + <goals> |
| 138 | + <goal>enforce</goal> |
| 139 | + </goals> |
| 140 | + <configuration> |
| 141 | + <rules> |
| 142 | + <requireMavenVersion> |
| 143 | + <version>3.6.0</version> |
| 144 | + </requireMavenVersion> |
| 145 | + </rules> |
| 146 | + </configuration> |
| 147 | + </execution> |
| 148 | + </executions> |
| 149 | + </plugin> |
| 150 | + </plugins> |
| 151 | + </build> |
| 152 | +</project> |
0 commit comments