title: Does a pom.xml.template tell me everything I need to know to use the project as a dependency
body: <p>I'm trying to add the lucene sandbox contribution called <a href="http://lucene.apache.org/java/docs/lucene-sandbox/index.html#Term%20Highlighter" rel="nofollow noreferrer">term-highlighter</a> to my pom.xml.
  I'm not really that familiar with Maven, but the code has a <a href="http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/highlighter/pom.xml.template" rel="nofollow noreferrer">pom.xml.template</a> which 
  seems to imply if I add a dependency that looks like:</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.apache.lucene&lt;/groupId&gt;
    &lt;artifactId&gt;lucene-highlighter&lt;/artifactId&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>It might work. Can someone help me out in adding a lucene-community project to my pom.xml file?</p>
  
  <p>Thanks for the comments, it turns out that adding the version was all I needed, and I just guessed it should match the lucene-core version I was using.:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.apache.lucene&lt;/groupId&gt;
      &lt;artifactId&gt;lucene-highlighter&lt;/artifactId&gt;
      &lt;version&gt;2.3.1&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>