I am using your preprocessor as a maven plugin. I have this code:
xxxx
and it does not print when I have not defined the flag, and does when I do. So I know the plug-in preprocessing is taking place.
But when I tried enabling the print statements via mvn compile command:
/opt/apache-maven-3.2.3/bin/mvn clean install -DskipTests=true -DPRINT_WAYNE_FLAG=true
It did not work. Do you know what syntax I should use in the mvn command line to send a flag through mvn to affect the value of preprocessor flags in java code?
I am using your preprocessor as a maven plugin. I have this code: xxxx and it does not print when I have not defined the flag, and does when I do. So I know the plug-in preprocessing is taking place. But when I tried enabling the print statements via mvn compile command: /opt/apache-maven-3.2.3/bin/mvn clean install -DskipTests=true -DPRINT_WAYNE_FLAG=true It did not work. Do you know what syntax I should use in the mvn command line to send a flag through mvn to affect the value of preprocessor flags in java code?