मैवेन एंट्रुन प्लगइन 1.6 का उपयोग कर रहा हूं और उनके उदाहरण से मैं निम्नलिखित चींटी कार्य को निष्पादित करने के लिए कोड नहीं कर सकता।मैवेन एंटरन कार्य निष्पादित नहीं कर रहे हैं
उदाहरण यूआरएल: रन: http://maven.apache.org/plugins/maven-antrun-plugin/examples/classpaths.html
मैं बस जब मैं mvn antrun निष्पादित निम्न संदेश मिलता है। कोई चींटी लक्ष्य परिभाषित नहीं किया गया - SKIPPED
मैं क्या गलत कर रहा हूं?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<configuration>
<target>
<property name="compile_classpath" refid="maven.compile.classpath" />
<property name="runtime_classpath" refid="maven.runtime.classpath" />
<property name="test_classpath" refid="maven.test.classpath" />
<property name="plugin_classpath" refid="maven.plugin.classpath" />
<echo message="compile classpath: ${compile_classpath}" />
<echo message="runtime classpath: ${runtime_classpath}" />
<echo message="test classpath: ${test_classpath}" />
<echo message="plugin classpath: ${plugin_classpath}" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
धन्यवाद! यह पोम को कॉल करने के बारे में एक गलतफहमी थी। –