|
27 | 27 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
28 | 28 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
29 | 29 |
|
| 30 | + <prerequisites> |
| 31 | + <!-- Java 11 upgrade --> |
| 32 | + <maven>3.0</maven> |
| 33 | + </prerequisites> |
30 | 34 | <modelVersion>4.0.0</modelVersion>
|
31 | 35 | <groupId>org.heigit.ors</groupId>
|
32 | 36 | <artifactId>openrouteservice</artifactId>
|
|
44 | 48 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
45 | 49 | <project.timestamp>${maven.build.timestamp}</project.timestamp>
|
46 | 50 | <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
|
| 51 | + <maven.compiler.target>1.8</maven.compiler.target> |
47 | 52 | </properties>
|
48 | 53 | <scm>
|
49 | 54 | < url> [email protected]:GIScience/openrouteservice.git</ url>
|
|
85 | 90 | </testResources>
|
86 | 91 |
|
87 | 92 | <plugins>
|
| 93 | + <plugin> |
| 94 | + <!-- Java 11 upgrade --> |
| 95 | + <groupId>org.codehaus.mojo</groupId> |
| 96 | + <artifactId>versions-maven-plugin</artifactId> |
| 97 | + <configuration> |
| 98 | + <generateBackupPoms>false</generateBackupPoms> |
| 99 | + </configuration> |
| 100 | + </plugin> |
88 | 101 | <plugin>
|
89 | 102 | <groupId>org.apache.maven.plugins</groupId>
|
90 | 103 | <artifactId>maven-antrun-plugin</artifactId>
|
|
106 | 119 | </plugin>
|
107 | 120 | <plugin>
|
108 | 121 | <artifactId>maven-compiler-plugin</artifactId>
|
109 |
| - <version>3.3</version> |
| 122 | + <version>3.8.1</version> |
110 | 123 | <configuration>
|
111 | 124 | <source>1.8</source>
|
112 | 125 | <target>1.8</target>
|
113 | 126 | </configuration>
|
114 | 127 | </plugin>
|
115 | 128 | <plugin>
|
116 | 129 | <artifactId>maven-war-plugin</artifactId>
|
117 |
| - <version>2.6</version> |
| 130 | + <version>3.2.3</version> |
118 | 131 | <configuration>
|
119 | 132 | <warSourceDirectory>WebContent</warSourceDirectory>
|
120 | 133 | <webXml>WebContent/WEB-INF/web.xml</webXml>
|
|
155 | 168 | </plugin>
|
156 | 169 | <plugin><!-- clean up from war:inplace -->
|
157 | 170 | <artifactId>maven-clean-plugin</artifactId>
|
158 |
| - <version>2.5</version> |
| 171 | + <version>3.1.0</version> |
159 | 172 | <configuration>
|
160 | 173 | </configuration>
|
161 | 174 | </plugin>
|
162 | 175 | <plugin>
|
163 | 176 | <groupId>org.apache.maven.plugins</groupId>
|
164 | 177 | <artifactId>maven-deploy-plugin</artifactId>
|
165 |
| - <version>2.8.2</version> |
| 178 | + <version>3.0.0-M1</version> |
166 | 179 | </plugin>
|
167 | 180 | <plugin>
|
168 | 181 | <groupId>org.apache.maven.plugins</groupId>
|
169 | 182 | <artifactId>maven-jar-plugin</artifactId>
|
170 |
| - <version>2.6</version> |
| 183 | + <version>3.2.0</version> |
171 | 184 | </plugin>
|
172 | 185 |
|
173 | 186 | <plugin>
|
174 | 187 | <groupId>org.apache.maven.plugins</groupId>
|
175 | 188 | <artifactId>maven-surefire-plugin</artifactId>
|
| 189 | + <version>2.22.0</version> |
176 | 190 | <configuration>
|
177 |
| - <argLine>-Duser.language=en -Duser.region=US</argLine> |
| 191 | + <argLine>-Duser.language=en -Duser.region=US -Dillegal-access=permit</argLine> |
178 | 192 | </configuration>
|
179 | 193 | </plugin>
|
180 | 194 | </plugins>
|
|
190 | 204 | </repositories>
|
191 | 205 |
|
192 | 206 | <dependencies>
|
| 207 | + <dependency> |
| 208 | + <!-- Java 11 upgrade --> |
| 209 | + <groupId>javax.annotation</groupId> |
| 210 | + <artifactId>javax.annotation-api</artifactId> |
| 211 | + <version>1.3.2</version> |
| 212 | + </dependency> |
| 213 | + <dependency> |
| 214 | + <!-- Java 11 upgrade --> |
| 215 | + <groupId>javax.xml.bind</groupId> |
| 216 | + <artifactId>jaxb-api</artifactId> |
| 217 | + <version>2.3.1</version> |
| 218 | + </dependency> |
| 219 | + <dependency> |
| 220 | + <!-- Java 11 upgrade --> |
| 221 | + <groupId>org.glassfish.jaxb</groupId> |
| 222 | + <artifactId>jaxb-runtime</artifactId> |
| 223 | + <version>2.3.0</version> |
| 224 | + </dependency> |
| 225 | + |
193 | 226 | <dependency>
|
194 | 227 | <groupId>org.apache.commons</groupId>
|
195 | 228 | <artifactId>commons-compress</artifactId>
|
|
0 commit comments