upgrade common-collections / velocity?

Rob Audenaerde rob.audenaerde at gmail.com
Fri May 12 14:52:00 EDT 2017


Thank you for your explanation and examples.

I created a minimal project that has similar dependencies as the one where
I have issues with. Below is the pom.xml.

When I run:

        mvn dependency:list | grep collections

This is the output:

        [INFO]    commons-collections:commons-collections:jar:3.2.1:compile

Also, when printing the dependency:tree I see that there is only one
commons-collections: 3.2.1

I think I might fix this by include more depedencies? (and end up with one
that has a higher commons-collections version), but I strive to include as
few as possible...

-Rob


---- pom.xml ----



<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>org.audenaerde</groupId>
  <artifactId>samltest</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>jar</packaging>

  <name>samltest</name>
  <url>http://maven.apache.org</url>
    <properties>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <opensaml.version>3.3.0</opensaml.version>

        </properties>
        <dependencies>
                <dependency>
                        <groupId>org.opensaml</groupId>
                        <artifactId>opensaml-core</artifactId>
                        <version>${opensaml.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.opensaml</groupId>
                        <artifactId>opensaml-saml-api</artifactId>
                        <version>${opensaml.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.opensaml</groupId>
                        <artifactId>opensaml-saml-impl</artifactId>
                        <version>${opensaml.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.opensaml</groupId>
                        <artifactId>opensaml-messaging-api</artifactId>
                        <version>${opensaml.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.opensaml</groupId>
                        <artifactId>opensaml-messaging-impl</artifactId>
                        <version>${opensaml.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.opensaml</groupId>
                        <artifactId>opensaml-soap-api</artifactId>
                        <version>${opensaml.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.opensaml</groupId>
                        <artifactId>opensaml-soap-impl</artifactId>
                        <version>${opensaml.version}</version>
                </dependency>
                <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>javax.servlet-api</artifactId>
                        <version>3.1.0</version>
                        <scope>provided</scope>
                </dependency>

        </dependencies>

</project>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20170512/6dab0e41/attachment.html>


More information about the dev mailing list