Ahhh, that's it!
Thank you! -----Original Message----- From: Adrien Rivard [mailto:[email protected]] Sent: Thursday, August 21, 2014 3:24 PM To: Maven Users List Subject: Re: Issue with dependency plugin Hi, commons-logging has been excluded in shiro-root (parent of shiro-core) : http://search.maven.org/remotecontent?filepath=org/apache/shiro/shiro-root/1.2.3/shiro-root-1.2.3.pom <dependencyManagement> <dependencies> ... <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>1.8.3</version> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> On Thu, Aug 21, 2014 at 9:14 PM, Robert Scholte <[email protected]> wrote: > Hi, > > be sure you're using the latest version, call mvn > org.apache.maven.plugins:maven-dependency-plugin:2.8:tree > > thanks, > Robert > > Op Thu, 21 Aug 2014 19:29:04 +0200 schreef David Dillard < > [email protected]>: > > > Hi, >> >> I've been working with the dependency plugin and I'm seeing something >> that I think is wrong, but I'd like someone to confirm it before I >> file a bug report. >> >> I created a simple pom file which has one dependency for Apache Shiro: >> >> <dependencies> >> >> <dependency> >> <groupId>org.apache.shiro</groupId> >> <artifactId>shiro-core</artifactId> >> <version>1.2.3</version> >> </dependency> >> >> </dependencies> >> >> And when I run dependency:tree I see: >> >> com.symantec.ssg.osrb:dependencytest:jar:1.0 >> \- org.apache.shiro:shiro-core:jar:1.2.3:compile >> +- org.slf4j:slf4j-api:jar:1.6.4:compile >> \- commons-beanutils:commons-beanutils:jar:1.8.3:compile >> >> >> However, when I set my dependencies to just Apache Commons BeanUtils: >> >> <dependencies> >> >> <dependency> >> <groupId>commons-beanutils</groupId> >> <artifactId>commons-beanutils</artifactId> >> <version>1.8.3</version> >> </dependency> >> >> </dependencies> >> >> And then run dependency:tree I get: >> >> com.symantec.ssg.osrb:dependencytest:jar:1.0 >> \- commons-beanutils:commons-beanutils:jar:1.8.3:compile >> \- commons-logging:commons-logging:jar:1.1.1:compile >> >> >> So, why don't I see commons-logging under beanutils for Apache Shiro??? >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Adrien Rivard
