Christian Schulte wrote:

Hi,

how do I make maven fetch e.g. junit-3.8.1-sources.jar so that this file gets copied into the local repository ? I tried putting a dependency to it in the root pom like this

 <dependencies>
   <dependency>
     <groupId>junit</groupId>
     <artifactId>junit</artifactId>
     <version>3.8.1</version>
     <type>sources.jar</type>
     <scope>provided</scope>
   </dependency>
 </dependencies>

but it seems to be incorrect.

Hi Christian,

Try this:

<dependencies>
  <dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>3.8.1-sources</version>
    <type>jar</type>
    <scope>provided</scope>
  </dependency>
</dependencies>

HTH,

Henry

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to