8 Replies Latest reply on Sep 19, 2007 11:03 AM by wolfc

    Eclipse:eclipse settings for parent pom

    wolfc

      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