-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue-104: skipJspc property (4.x branch) #108
issue-104: skipJspc property (4.x branch) #108
Conversation
* Set this to 'true' to bypass compilation of JSP sources. | ||
*/ | ||
@Parameter(defaultValue = "false", property = "jspc.skip") | ||
private boolean skipJspc; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private boolean skipJspc; | |
private boolean skip; |
I think we can leave out the jspc part which you can derive form the context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep ok will update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
} | ||
if ( skipJspc ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if ( skipJspc ) { | |
if ( skip ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good but we can leave out the jsp part from the variable name.
Thanks for the PR!
ok have made the suggested changes above ( and to the other PR if we end up creating a 3.x branch ) |
This code has been released as version 4.0.1. Give it a few minutes to show up on Maven Central: https://repo1.maven.org/maven2/io/leonard/maven/plugins/jspc-maven-plugin/ |
This PR will allow the plugin to be skipped by specifying
<skipJspc>true</skipJspc>
in the<configuration>
block, or by supplying-Djspc.skip
on the commandline.