-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add includes & excludes Maven config options for source file filtering #200
Add includes & excludes Maven config options for source file filtering #200
Conversation
This PR is related to PR #180 |
@@ -1,5 +1,21 @@ | |||
/** | |||
* Copyright © 2010-2013 Nokia | |||
* Copyright © 2010-2013 Nokia |
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.
Not sure why this character keeps getting into the headers.
@joelittlejohn I think this is good to go. Please let me know if there are any changes required. |
I'll try to take a detailed look though the code tomorrow. I've had a quick glance and this looks great! |
<configuration> | ||
<sourceDirectory>${basedir}/schema</sourceDirectory> | ||
<targetPackage>com.example.types</targetPackage> | ||
<includes> | ||
<include>**/*.json</include> | ||
</includes> |
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.
I didn't intend to change this, I will back the changes to this file out.
Rebased onto master. |
This PR adds general support for file filtering when scanning for schemas and configuration for that feature in the Maven plugin.
Usage:
This feature only works with the
sourceDirectory
option and not withsourcePaths
.