[geotk] AbstractMethodError accessing EPSG database
Martin Desruisseaux
martin.desruisseaux at geomatys.fr
Fri Jul 20 01:36:58 PDT 2012
Le 20/07/12 04:02, Casey McGinty a écrit :
> Is there a technique in Maven that I can use to reference the
> geotoolkit parent POM in my local POM? Right now I'm referencing just
> the module POM, which is why the dependency version is no correctly
> detected.
You can provide your own <dependencyManagement> section with a
dependency having <scope>import</scope> as below:
<properties>
<geotk.version>3.20-SNAPSHOT</geotk.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.geotoolkit</groupId>
<artifactId>geotoolkit</artifactId>
<version>${geotk.version}</version>
*<type>pom</type>*
*<scope>import</scope>*
</dependency>
.... put your own additional versions here ....
</dependencyManagement>
Then, you can omit the <version> elements in your <dependency> elements;
the versions will be inherited.
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20120720/f349acc8/attachment-0001.html>
More information about the Geotoolkit
mailing list