Skip to content

Maven plugin shows sourcePaths error for includes/excludes when sourcePaths is not defined #374

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

Closed
Trevor-L opened this issue Jun 15, 2015 · 1 comment
Assignees
Milestone

Comments

@Trevor-L
Copy link

When using the include/exclude and sourceDirectory settings for the maven plugin the following error always occurs even when "sourcePaths" is NOT defined:

"Source includes and excludes are incompatible with the sourcePaths property"

<configuration>
    <sourceDirectory>${basedir}/src/main/resources/test</sourceDirectory>
    <includes>
        <include>myDir</include>
    </includes>
    <excludes>
        <exclude>.svn</exclude>
    </excludes>
    <targetPackage>com.my.test</targetPackage>
    <sourceType>json</sourceType>
    <annotationStyle>none</annotationStyle>
    <useJodaDates>true</useJodaDates>
    <includeConstructors>true</includeConstructors>
    <constructorsRequiredPropertiesOnly>true</constructorsRequiredPropertiesOnly>
    <propertyWordDelimiters>-</propertyWordDelimiters>
    <outputDirectory>${project.build.directory}/generated-sources/test</outputDirectory>
</configuration>
@ctrimble
Copy link
Collaborator

@Trevor-L I can reproduce this issue. Let me see what I can do about resolving it and whatever allowed this problem to get past the integration test suite.

@ctrimble ctrimble self-assigned this Jun 15, 2015
@joelittlejohn joelittlejohn changed the title maven: "sourcePaths" error Maven plugin shows sourcePaths error for includes/excludes when sourcePaths is not defined Jun 16, 2015
@joelittlejohn joelittlejohn added this to the 0.4.13 milestone Jun 16, 2015
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

No branches or pull requests

3 participants