Henry Isidro wrote:

Try this:

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

If you are using the Eclipse plugin, then a more simple trick is addding the following to the pom's plugins section. It doesn't depend on a certain jar file.

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <configuration>
          <downloadSources>true</downloadSources>
        </configuration>
      </plugin>


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

Reply via email to