| Summary: | The <configuration><excludes><exclude> ... does not work | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pavel Raiskup <praiskup> |
| Component: | maven-compiler-plugin | Assignee: | Michael Simacek <msimacek> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | java-sig-commits, mizdebsk, msimacek, msrb |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-08 12:54:25 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1196445 | ||
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. (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? 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. |
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/