To reproduce execute: mvn generate-sources The output from the antrun plugin will be: [INFO] --- maven-antrun-plugin:3.0.0:run (default) @ prop-test --- [INFO] Executing tasks [WARNING] [echo] hello: FromPOM [INFO] Executed tasks