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 - Maven web project execute classpath doesn't contain all libraries of "provided" type
Summary: Maven web project execute classpath doesn't contain all libraries of "provide...
Status: RESOLVED DUPLICATE of bug 207717
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-03 01:06 UTC by Marek Fukala
Modified: 2013-01-16 15:55 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***