Próbuję skopiować plik w moim wielomodułowym projekcie wielowątkowym za pomocą wtyczki antrun. plik znajduje się w katalogu głównym projektu dominującej:Maven-antrun Nie określono docelowej ant - SKIPPED
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<inherited>false</inherited>
<executions>
<execution>
<inherited>false</inherited>
<id>copy</id>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target name="copy and rename file">
<copy file="${basedir}/portal-ext.properties" tofile="${liferay.auto.deploy.dir}/../portal-ext.properties" />
</target>
</configuration>
</execution>
</executions>
biegnę to poprzez mvn antrun:run
problemem jest to dostaję „Nie mrówka cel zdefiniowany - Pominięte” na rodziców i na każdym module. potrzebuję go, aby działał tylko na rodzica i pomyślał, że <inherited>false</inherited>
pomoże, ale nie. Ale dlaczego "Nie zdefiniowano żadnego celu mrówki"?
Nawet gdy to ma sens, nie działa dla mnie , ten post dał mi odpowiedź: http://stackoverflow.com/a/11009854. p.s .: Nie widziałem następnego postu. – Vielinko