This technique does not work with maven v3.0.4.<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">[WARNING] 'dependencies.dependency.scope' for org.geotoolkit:geotoolkit:pom must be one of [provided, compile, runtime, test, system] but is 'import'. @<br>

</blockquote><br>I had more success putting it inside of a <dependencyManagement> tag, but still does not cause maven to pull in the correct version of HSQLDB.<br><br>If you want me to try another case, let me know. For now i'll just leave my explicit HSQLDB define in my local pom. That is the only way maven pulls in the correct version. Thanks.<br>

<br><br><div class="gmail_quote">On Thu, Jul 19, 2012 at 10:36 PM, Martin Desruisseaux <span dir="ltr"><<a href="mailto:martin.desruisseaux@geomatys.fr" target="_blank">martin.desruisseaux@geomatys.fr</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Le 20/07/12 04:02, Casey McGinty a écrit :<div class="im"><br>
    <blockquote type="cite">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.<br>
    </blockquote>
    <br></div>
    You can provide your own <tt><dependencyManagement></tt>
    section with a dependency having <tt><scope>import</scope></tt>
    as below:<br>
    <br>
    <pre>  <properties>
    <geotk.version>3.20-SNAPSHOT</geotk.version>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.geotoolkit</groupId>
        <artifactId>geotoolkit</artifactId>
        <version>${geotk.version}</version>
        <b><type>pom</type></b>
        <b><scope>import</scope></b>
      </dependency>
      .... put your own additional versions here ....
  </dependencyManagement></pre>
    <br>
    Then, you can omit the <tt><version></tt> elements in your <tt><dependency></tt>
    elements; the versions will be inherited.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    <br>
        Martin<br>
    <br>
  </font></span></div>

</blockquote></div><br>