maven指定多个src

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

你可能感兴趣的:(java,maven)