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.

Bug 180183

Summary: Maven web project execute classpath doesn't contain all libraries of "provided" type
Product: javaee Reporter: Marek Fukala <mfukala>
Component: MavenAssignee: Martin Janicek <mjanicek>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jglick, jpleed3
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Mac OS X   
Issue Type: TASK Exception Reporter:

Description Marek Fukala 2010-02-03 01:06:28 UTC
Please read issue #179930 comments for further information. Consider adding the "provided" jars on execute classpath.
Comment 1 jpleed3 2010-02-03 09:45:57 UTC
Perhaps this is related to the first issue, perhaps not...

I have class library I share between my applications that has dependencies on the RichFaces artifacts, provided scope since I keep them on the server. All of my web apps have a dependency on this class library, so they should have a transitive dependency on the RichFaces libraries.

However, if I don't explicitly have RichFaces in with my dependencies in the web apps, NB doesn't recognize that they are there. This is evidenced by it not being able to fix imports when I use classes from the RF API.
Comment 2 Jesse Glick 2010-07-28 15:33:05 UTC
Not clear if this applies to non-EE packagings.
Comment 3 Martin Janicek 2013-01-16 15:55:32 UTC

*** This bug has been marked as a duplicate of bug 207717 ***