confirmed - will be fixed in 2.0 http://jira.codehaus.org/browse/MNG-1233
On 10/18/05, Stephen Duncan <[EMAIL PROTECTED]> wrote: > I have the portlet-api defined as provided scope in a parent POM in > dependencyManagement. As expected, the following message occurs > indicating that 'provided' is the scope that will be used: > > [WARNING] > Artifact javax.portlet:portlet-api:jar:1.0 retains local scope > 'provided' overriding broader scope 'compile' > given by a dependency. If this is not intended, modify or > remove the local scope. > > When I run with -X, the following section of output indicates that it > WAS selected for compile, but then overriden: > > [DEBUG] mil.jfcom.cie.portal:cdcie-portletframework:jar:1.2.1 > (selected for compile) > [DEBUG] javax.portlet:portlet-api:jar:1.0 (selected for compile) > [DEBUG] springframework:spring-beans:jar:1.2.5 (selected for compile) > [DEBUG] springframework:spring-core:jar:1.2.5 (selected for compile) > [DEBUG] commons-collections:commons-collections:jar:3.1 > (removed - nearer found: 2.1) > [DEBUG] commons-collections:commons-collections:jar:3.1 > (selected for compile) > [DEBUG] commons-logging:commons-logging:jar:1.0.4 (selected for > compile) > [DEBUG] springframework:spring-core:jar:1.2.5 (selected for compile) > [DEBUG] commons-collections:commons-collections:jar:2.1 (removed > - nearer found: 3.1) > [DEBUG] commons-collections:commons-collections:jar:3.1 > (selected for compile) > [DEBUG] commons-logging:commons-logging:jar:1.0.4 (selected for compile) > [DEBUG] commons-lang:commons-lang:jar:2.1 (selected for compile) > [DEBUG] springframework:spring-context:jar:1.2.5 (selected for compile) > [DEBUG] commons-logging:commons-logging:jar:1.0.4 (selected for compile) > [DEBUG] javax.portlet:portlet-api:jar:1.0 (not setting scope to: > compile; local scope provided wins) > [WARNING] > Artifact javax.portlet:portlet-api:jar:1.0 retains local scope > 'provided' overriding broader scope 'compile' > given by a dependency. If this is not intended, modify or > remove the local scope. > > > However, it's ending up in my WAR. Seems like it's a WAR plugin problem, > maybe? > > -- > Stephen Duncan Jr > www.stephenduncanjr.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]