Found my answer: Add a dependency to the source with

    <dependency>
      <groupId>com.mycorp.database</groupId>
      <artifactId>thedb</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>com.mycorp.database</groupId>
      <artifactId>thedb</artifactId>
      <version>${project.version}</version>
      <classifier>sources</classifier>
    </dependency>

Thanks to a lucky (and my umpteenth) Google query and this answer:
http://stackoverflow.com/questions/1007211/maven-add-dependency-on-artifact-source

-- 
"Hell hath no limits, nor is circumscrib'd In one self-place; but where we
are is hell, And where hell is, there must we ever be" --Christopher
Marlowe, *Doctor Faustus* (v, 121-24)

Reply via email to