Skip to content

coderplus/copy-rename-maven-plugin#10 : Added the ability to skip#14

Open
garethfiler wants to merge 2 commits intocoderplus:masterfrom
garethfiler:add-skip-functionality
Open

coderplus/copy-rename-maven-plugin#10 : Added the ability to skip#14
garethfiler wants to merge 2 commits intocoderplus:masterfrom
garethfiler:add-skip-functionality

Conversation

@garethfiler
Copy link
Copy Markdown

This is something that has been raised already in issue #10 and would be useful for us to be able to skip plugin execution.

I have set the default to false to aid backward compatibility with existing users of the plugin.

@garethfiler
Copy link
Copy Markdown
Author

@aneesh-joseph any issues with merging this PR?

File destFile = fileSet.getDestinationFile();
if(srcFile!=null){
copy(srcFile,destFile);
if(Boolean.FALSE.equals(skip)) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since the skip field is a primitive, use if (skip){log} else{dostuff}

kohlschuetter added a commit to kohlschutter/copy-rename-maven-plugin that referenced this pull request Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants