Użycie mavenów Zbuduj wtyczkę Pomocnika Maven

Próbuję dodać folder źródłowy dla projektu maven java do Eclipse za pomocą wtyczki maven.

Podczas próby użycia wtyczki org.codehaus.mojo pojawia się następujący błąd

Nie można wykonać celu org.codehaus.mojo: build-helper-maven-plugin: 1.7: add-source (default-cli) w ramach aplikacji-framework: Parametry „sources” dla celu org.codehaus.mojo: build-helper -maven-plugin: 1.7: brakuje źródła dodatkowego lub jest ono nieprawidłowe -> [Pomoc 1]

Od czytania dokumentówhttp://mojo.codehaus.org/build-helper-maven-plugin/usage.html to powinno być poprawne? Folder target / sources / mygeneratedfiles on istnieje.

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>build-helper-maven-plugin</artifactId>
    <executions>
        <execution>
         <id>add-source</id>
            <phase>generate-sources</phase>
            <goals>
                <goal>add-source</goal>
            </goals>
            <configuration>
                <sources>
                    <source>target/sources/mygeneratedfiles</source>
                </sources>
            </configuration>
        </execution>
    </executions>
</plugin>

questionAnswers(1)

yourAnswerToTheQuestion