Menu
  • HOME
  • TAGS

trying to php lint check with maven antrun plugin

php,maven,lint,antrun

Solved it using AntRun plugin in the end, moved away from 'resultproperty' to using 'errorproperty' with append. If there are any errors, it will continue checking all files, appending further errors until all the files have been checked. After a few other checks, it then reaches a report phase where...

What is a better way for checking for the existence of an environment variable in the Maven antrun plugin?

maven,environment-variables,antrun,maven-antrun-plugin

A target also has the ability to perform its execution if (or unless) a property has been set. To make a target sense this property, you should add the if (or unless) attribute with the name of the property that the target should react to. <target name="build-if" if="env.JBOSS_HOME"/> <target name="build-unless"...