capint
5/25/2016 - 9:40 AM

Maven >> Bind the antrun:run goal to Maven phase

Maven >> Bind the antrun:run goal to Maven phase

<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-antrun-plugin</artifactId>
				<version>1.1</version>
				<executions>
					<execution>
						<id>id.validate</id>
						<phase>validate</phase>
						<goals>
							<goal>run</goal>
						</goals>
						<configuration>
							<tasks>
								<echo>in validate phase (1 of 21)</echo>
							</tasks>
						</configuration>
					</execution>
...