Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-744

Doesn't add test source folders defined on build-helper-plugin to eclipse build path

    XMLWordPrintableJSON

Details

    Description

      I've configured the build-helper-maven-plugin to add source folders both for main and test sources. The source folders from the "add-source" goal are added to the classpath while the source folders from the "add-test-sources" goal aren't. I'd expect that the folders from both goals are added.

      <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>build-helper-maven-plugin</artifactId>
      <version>${version.build-helper-maven-plugin}</version>
      <executions>
      <execution>
      <id>main-sources</id>
      <phase>generate-sources</phase>
      <goals>
      <goal>add-source</goal>
      </goals>
      <configuration>
      <sources>
      <source>src/main/xtend</source>
      </sources>
      </configuration>
      </execution>
      <execution>
      <id>test-sources</id>
      <phase>generate-test-sources</phase>
      <goals>
      <goal>add-test-source</goal>
      </goals>
      <configuration>
      <sources>
      <source>src/test/xtend</source>
      </sources>
      </configuration>
      </execution>
      </executions>
      </plugin>

      Attachments

        Activity

          People

            Unassigned Unassigned
            treverix Andreas Dolk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: