This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | <resource><directory>.</><includes>...</></> should be ignored | ||
---|---|---|---|
Product: | projects | Reporter: | Jan Lahoda <jlahoda> |
Component: | Maven | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jvrobert |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 99588, 188323, 198361 |
Description
Jan Lahoda
2011-02-24 09:47:45 UTC
The problem is in felix/pom/pom.xml: <resource> <directory>.</directory> <targetPath>META-INF</targetPath> <includes> <include>changelog.txt</include> </includes> </resource> If you comment that out, and use a snapshot parent dep, then the project is fine. I guess resource dirs with an include should be ignored for purposes of ClassPath.SOURCE. (In reply to comment #1) > resource dirs with an include should be ignored for purposes of > ClassPath.SOURCE. Rather: resource dirs using targetPath should be ignored for ClassPath.SOURCE and SOURCES_TYPE_JAVA. They may be displayed in the logical view so long as includes are honored (bug #99588). (In reply to comment #2) > SOURCES_TYPE_JAVA SOURCES_TYPE_RESOURCES, that is. core-main #abfecb6424ce Integrated into 'main-golden', will be available in build *201105111436* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/abfecb6424ce User: Jesse Glick <jglick@netbeans.org> Log: #195928: <resource><directory>.</><includes>...</></> should be ignored *** Bug 198020 has been marked as a duplicate of this bug. *** |