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: | mavenized platform testing classpath issue with a wrapped library that is part of the project | ||
---|---|---|---|
Product: | projects | Reporter: | skygo <skygo> |
Component: | Maven | Assignee: | Tomas Stupka <tstupka> |
Status: | NEW --- | ||
Severity: | normal | Keywords: | PATCH_AVAILABLE |
Priority: | P3 | ||
Version: | Dev | ||
Hardware: | PC | ||
OS: | Windows 10 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
toy example.
fallback for classpathscanning |
Created attachment 162779 [details]
fallback for classpathscanning
This is an illustration of a possible fallback to fix my particular use case.
Not sure where the issue should be fixed.
|
Created attachment 162778 [details] toy example. Hi, I have a projet where some maven artefact are generated as <type>jar</type> and later in the build wrapped in a <type>nbm</type>. NbModuleSuite fail to find the artifact. I attach a simplified test case. Library artifact is wrapped by wrapped-sample module. If I do a clean install on the parent the artifact library is not found as it is not scanned in the maven2 repo but in the project folder. Test failure with no match for the artifact If I do a clean install on the wrapped-app test are run normaly.