8 Replies Latest reply on Sep 19, 2007 11:03 AM by Carlo de Wolf

    Eclipse:eclipse settings for parent pom

    Carlo de Wolf Master

      Can this be added to parent pom?

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


      Pros: saves me typing -DdownloadSources=true, modifying .classpath by hand
      Cons: the test output can not be overriden and is thus target/eclipse-classes