mvn antrun:run compile
Assuming the pom.xml is like this:
<profiles> <profile> <id>x86-windows</id> <activation> <activeByDefault>true</activeByDefault> </activation> <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>compile</id> <phase>compile</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <echo>It worked! only running this part!</echo>
No comments:
Post a Comment