[jira] (MCOMPILER-161) Exclude ignored for sources generated during the generate-sources phase
[ https://jira.codehaus.org/browse/MCOMPILER-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=301250#comment-301250 ] Chris Eineke commented on MCOMPILER-161: Same problem exists with v2.2.1 (rdebian-8). Exclude ignored for sources generated during the generate-sources phase --- Key: MCOMPILER-161 URL: https://jira.codehaus.org/browse/MCOMPILER-161 Project: Maven 2.x Compiler Plugin Issue Type: Bug Affects Versions: 2.3.2 Environment: Win7, JDK 7, maven 3.0.3, Reporter: Laurent Foret I try in a pom to excludes an unwanted generated package during the generate-sources phase, but without success. Indeed according to the following pom.xml : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration excludes exclude**/generated/*/exclude /excludes /configuration /plugin plugin groupIdorg.apache.cxf/groupId artifactIdcxf-codegen-plugin/artifactId version${cxf.version}/version executions execution idregistry/id phasegenerate-sources/phase goals goalwsdl2java/goal /goals /execution /executions I expected to have every generated java source file in a package which is called *.generated.* not to be compiled. Exclusion works for all package in my normal src/main/java source directory but not in my target/generated-sources/cxf generated source directory. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MCOMPILER-161) Exclude ignored for sources generated during the generate-sources phase
[ https://jira.codehaus.org/browse/MCOMPILER-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=301250#comment-301250 ] Chris Eineke edited comment on MCOMPILER-161 at 6/15/12 1:25 PM: - Same problem exists with v2.2.1 (rdebian-8). Maven compiler plugin is v2.5. was (Author: ceineke): Same problem exists with v2.2.1 (rdebian-8). Exclude ignored for sources generated during the generate-sources phase --- Key: MCOMPILER-161 URL: https://jira.codehaus.org/browse/MCOMPILER-161 Project: Maven 2.x Compiler Plugin Issue Type: Bug Affects Versions: 2.3.2 Environment: Win7, JDK 7, maven 3.0.3, Reporter: Laurent Foret I try in a pom to excludes an unwanted generated package during the generate-sources phase, but without success. Indeed according to the following pom.xml : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration excludes exclude**/generated/*/exclude /excludes /configuration /plugin plugin groupIdorg.apache.cxf/groupId artifactIdcxf-codegen-plugin/artifactId version${cxf.version}/version executions execution idregistry/id phasegenerate-sources/phase goals goalwsdl2java/goal /goals /execution /executions I expected to have every generated java source file in a package which is called *.generated.* not to be compiled. Exclusion works for all package in my normal src/main/java source directory but not in my target/generated-sources/cxf generated source directory. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira