Bug 1325060 - The <configuration><excludes><exclude> ... does not work
Summary: The <configuration><excludes><exclude> ... does not work
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: maven-compiler-plugin
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Simacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1196445
TreeView+ depends on / blocked
 
Reported: 2016-04-08 06:20 UTC by Pavel Raiskup
Modified: 2016-04-08 12:54 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-04-08 12:54:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pavel Raiskup 2016-04-08 06:20:03 UTC
The exclude statements seem to work fine for Fedora 23, but do not work for
Fedora 24+.  The working maven-compiler-plugin rpm is:

    maven-compiler-plugin-3.3-2.fc23.noarch

Not working:

    maven-compiler-plugin-3.5.1-1.fc24.noarch

See the results of build in copr:

https://copr.fedorainfracloud.org/coprs/g/db-sig/pgjdbc-migrate-to-maven/build/173968/

Comment 1 Michael Simacek 2016-04-08 09:01:15 UTC
Exclusions work in normal directories. The problem occurs, because you put (via the jcp plugin) the sources into generated-sources/annotations, where compiler plugin doesn't expect external inputs. We'll discuss how you problem should be solved and let you know.

Comment 2 Pavel Raiskup 2016-04-08 10:50:53 UTC
(In reply to Michael Simacek from comment #1)
> Exclusions work in normal directories. The problem occurs, because you put
> (via the jcp plugin) the sources into generated-sources/annotations, where
> compiler plugin doesn't expect external inputs. We'll discuss how you
> problem should be solved and let you know.

Is the changing of the directory to generated-sources/annotations unsupported?
This should thus be reported to java-comment-preprocessor?

Comment 3 Michael Simacek 2016-04-08 12:54:25 UTC
Putting additional sources into generated-sources/annotations and then excluding them doesn't seem to be supported by maven-compiler-plugin. We discussed this with Pavel and agreed on different solution for the particular package.


Note You need to log in before you can comment on or make changes to this bug.