dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #15190
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5385: Map generation: excluded commons pool dependency, not required
------------------------------------------------------------
revno: 5385
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-12-13 12:53:42 +0100
message:
Map generation: excluded commons pool dependency, not required
modified:
dhis-2/dhis-services/dhis-service-mapgeneration/pom.xml
dhis-2/dhis-services/dhis-service-mapgeneration/src/main/java/org/hisp/dhis/mapgeneration/GeoToolsMap.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-mapgeneration/pom.xml'
--- dhis-2/dhis-services/dhis-service-mapgeneration/pom.xml 2011-12-09 10:29:57 +0000
+++ dhis-2/dhis-services/dhis-service-mapgeneration/pom.xml 2011-12-13 11:53:42 +0000
@@ -71,6 +71,12 @@
<groupId>org.geotools</groupId>
<artifactId>gt-epsg-wkt</artifactId>
<version>8.0-M3</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-pool</groupId>
+ <artifactId>commons-pool</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
</dependencies>
=== modified file 'dhis-2/dhis-services/dhis-service-mapgeneration/src/main/java/org/hisp/dhis/mapgeneration/GeoToolsMap.java'
--- dhis-2/dhis-services/dhis-service-mapgeneration/src/main/java/org/hisp/dhis/mapgeneration/GeoToolsMap.java 2011-12-13 11:43:08 +0000
+++ dhis-2/dhis-services/dhis-service-mapgeneration/src/main/java/org/hisp/dhis/mapgeneration/GeoToolsMap.java 2011-12-13 11:53:42 +0000
@@ -160,7 +160,7 @@
}
catch ( SchemaException ex )
{
- System.err.println( "Could not add map object: " + mapObject.toString() + ": " + ex.getMessage() );
+ throw new RuntimeException( "Could not add map object: " + mapObject.toString() + ": " + ex.getMessage() );
}
}