Skip to content

Commit 44fbb92

Browse files
author
Eugen Paraschiv
committed
minor major cleanup
1 parent 9489e78 commit 44fbb92

2 files changed

Lines changed: 112 additions & 56 deletions

File tree

geotools/pom.xml

Lines changed: 57 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,62 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
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>com.baeldung</groupId>
5-
<artifactId>geotools</artifactId>
6-
<version>0.0.1-SNAPSHOT</version>
7-
<packaging>jar</packaging>
8-
<name>geotools</name>
9-
<url>http://maven.apache.org</url>
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<artifactId>geotools</artifactId>
6+
<version>0.0.1-SNAPSHOT</version>
7+
<packaging>jar</packaging>
8+
<name>geotools</name>
9+
<url>http://maven.apache.org</url>
1010

11-
<parent>
12-
<groupId>com.baeldung</groupId>
13-
<artifactId>parent-modules</artifactId>
14-
<version>1.0.0-SNAPSHOT</version>
15-
</parent>
11+
<parent>
12+
<groupId>com.baeldung</groupId>
13+
<artifactId>parent-modules</artifactId>
14+
<version>1.0.0-SNAPSHOT</version>
15+
</parent>
1616

17-
<dependencies>
18-
<dependency>
19-
<groupId>org.geotools</groupId>
20-
<artifactId>gt-shapefile</artifactId>
21-
<version>${geotools-shapefile.version}</version>
22-
</dependency>
23-
<dependency>
24-
<groupId>org.geotools</groupId>
25-
<artifactId>gt-epsg-hsql</artifactId>
26-
<version>${geotools.version}</version>
27-
</dependency>
28-
<dependency>
29-
<groupId>org.geotools</groupId>
30-
<artifactId>gt-swing</artifactId>
31-
<version>${geotools-swing.version}</version>
32-
</dependency>
33-
</dependencies>
17+
<dependencies>
18+
<dependency>
19+
<groupId>org.geotools</groupId>
20+
<artifactId>gt-shapefile</artifactId>
21+
<version>${geotools-shapefile.version}</version>
22+
</dependency>
23+
<dependency>
24+
<groupId>org.geotools</groupId>
25+
<artifactId>gt-epsg-hsql</artifactId>
26+
<version>${geotools.version}</version>
27+
</dependency>
28+
<dependency>
29+
<groupId>org.geotools</groupId>
30+
<artifactId>gt-swing</artifactId>
31+
<version>${geotools-swing.version}</version>
32+
</dependency>
33+
</dependencies>
3434

35-
<repositories>
36-
<repository>
37-
<id>maven2-repository.dev.java.net</id>
38-
<name>Java.net repository</name>
39-
<url>http://download.java.net/maven/2</url>
40-
</repository>
41-
<repository>
42-
<id>osgeo</id>
43-
<name>Open Source Geospatial Foundation Repository</name>
44-
<url>http://download.osgeo.org/webdav/geotools/</url>
45-
</repository>
46-
<repository>
47-
<snapshots>
48-
<enabled>true</enabled>
49-
</snapshots>
50-
<id>opengeo</id>
51-
<name>OpenGeo Maven Repository</name>
52-
<url>http://repo.opengeo.org</url>
53-
</repository>
54-
</repositories>
35+
<repositories>
36+
<repository>
37+
<id>maven2-repository.dev.java.net</id>
38+
<name>Java.net repository</name>
39+
<url>http://download.java.net/maven/2</url>
40+
</repository>
41+
<repository>
42+
<id>osgeo</id>
43+
<name>Open Source Geospatial Foundation Repository</name>
44+
<url>http://download.osgeo.org/webdav/geotools/</url>
45+
</repository>
46+
<repository>
47+
<snapshots>
48+
<enabled>true</enabled>
49+
</snapshots>
50+
<id>opengeo</id>
51+
<name>OpenGeo Maven Repository</name>
52+
<url>http://repo.opengeo.org</url>
53+
</repository>
54+
</repositories>
55+
56+
<properties>
57+
<geotools.version>15.2</geotools.version>
58+
<geotools-swing.version>15.2</geotools-swing.version>
59+
<geotools-shapefile.version>15.2</geotools-shapefile.version>
60+
</properties>
5561

56-
<properties>
57-
<geotools.version>15.2</geotools.version>
58-
<geotools-swing.version>15.2</geotools-swing.version>
59-
<geotools-shapefile.version>15.2</geotools-shapefile.version>
60-
</properties>
6162
</project>

pom.xml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,60 @@
195195
<version>${gitflow-incremental-builder.version}</version>
196196
</extension>
197197
</extensions>
198+
<pluginManagement>
199+
<plugins>
200+
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
201+
<plugin>
202+
<groupId>org.eclipse.m2e</groupId>
203+
<artifactId>lifecycle-mapping</artifactId>
204+
<version>1.0.0</version>
205+
<configuration>
206+
<lifecycleMappingMetadata>
207+
<pluginExecutions>
208+
<pluginExecution>
209+
<pluginExecutionFilter>
210+
<groupId>
211+
org.commonjava.maven.plugins
212+
</groupId>
213+
<artifactId>
214+
directory-maven-plugin
215+
</artifactId>
216+
<versionRange>
217+
[0.3.1,)
218+
</versionRange>
219+
<goals>
220+
<goal>directory-of</goal>
221+
</goals>
222+
</pluginExecutionFilter>
223+
<action>
224+
<ignore></ignore>
225+
</action>
226+
</pluginExecution>
227+
<pluginExecution>
228+
<pluginExecutionFilter>
229+
<groupId>
230+
org.apache.maven.plugins
231+
</groupId>
232+
<artifactId>
233+
maven-install-plugin
234+
</artifactId>
235+
<versionRange>
236+
[2.5.1,)
237+
</versionRange>
238+
<goals>
239+
<goal>install-file</goal>
240+
</goals>
241+
</pluginExecutionFilter>
242+
<action>
243+
<ignore></ignore>
244+
</action>
245+
</pluginExecution>
246+
</pluginExecutions>
247+
</lifecycleMappingMetadata>
248+
</configuration>
249+
</plugin>
250+
</plugins>
251+
</pluginManagement>
198252
</build>
199253

200254
<profiles>
@@ -683,6 +737,7 @@
683737
<!-- group 3.2 - Pass, 8 minutes, 1 failed test, 2,294 KB log -->
684738
<!-- group 3 - Pass, 25 minutes, 36 failed tests, 10,163 KB log -->
685739
<!-- group 3 - Pass, 23 minutes, 31 failed tests, 8,693 KB log -->
740+
<!-- group 2+3 - Fail, 12 minutes, 44 failed tests -->
686741

687742
<!-- group 4 -->
688743

0 commit comments

Comments
 (0)