1

次のエラーが表示されます: 「ライフサイクル構成でカバーされていないプラグインの実行: org.mule.tools:maven-mule-plugin:1.5:attach-test-resources (実行: default-attach-test-resources、フェーズ: 検証) "

私は MuleStudio 1.30 を使用しており、gnip4j に含まれているミュールの例を実行しようとしています。

これを修正する方法についてのアイデアはありますか?

ps私は完全な専門家ですn00b

4

1 に答える 1

3

次のxmlスニペットセクションをpom.xmlビルドに追加することで修正できます

<pluginManagement>
        <plugins>
            <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
            <plugin>
                <groupId>org.eclipse.m2e</groupId>
                <artifactId>lifecycle-mapping</artifactId>
                <version>1.0.0</version>
                <configuration>
                    <lifecycleMappingMetadata>
                        <pluginExecutions>
                            <pluginExecution>
                                <pluginExecutionFilter>
                                    <groupId>
                                        org.mule.tools
                                    </groupId>
                                    <artifactId>
                                        maven-mule-plugin
                                    </artifactId>
                                    <versionRange>
                                        [1.5,)
                                    </versionRange>
                                    <goals>
                                        <goal>
                                            attach-test-resources
                                        </goal>
                                    </goals>
                                </pluginExecutionFilter>
                                <action>
                                    <ignore></ignore>
                                </action>
                            </pluginExecution>
                        </pluginExecutions>
                    </lifecycleMappingMetadata>
                </configuration>
            </plugin>
        </plugins>
    </pluginManagement>

このトピックの詳細については、次を参照してください。

于 2012-08-02T07:06:46.030 に答える