BUILD ERROR'copy-resources'在执行中指定,但在插件中找不到

时间:2014-12-08 06:36:19

标签: maven

构建错误' copy-resources'在执行中指定但在插件中找不到

以下是我的pom.xml中的代码

任何人都可以帮助解决此错误

<plugin>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.6</version>
                <executions>
                    <execution>
                        <id>copy-resources</id>
                        <phase>validate</phase>
                        <goals>
                            <goal>copy-resources</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>${project.build.directory}/${project.build.finalName}/META-INF</outputDirectory>
                            <resources>
                                <resource>
                                    <directory>META-INF</directory>
                                    <filtering>true</filtering>
                                    <includes>
                                        <include>**/*.xml</include>
                                    </includes>
                                    <filtering>true</filtering>
                                </resource>
                            </resources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

0 个答案:

没有答案