Apache Commons logo Commons Collections

Dependency Information

Apache Maven

<dependency>
  <groupId>org.apache.commons</groupId>
  <artifactId>commons-collections4</artifactId>
  <version>4.1</version>
</dependency>

Apache Buildr

'org.apache.commons:commons-collections4:jar:4.1'

Apache Ivy

<dependency org="org.apache.commons" name="commons-collections4" rev="4.1">
  <artifact name="commons-collections4" type="jar" />
</dependency>

Groovy Grape

@Grapes(
@Grab(group='org.apache.commons', module='commons-collections4', version='4.1')
)

Grails

compile 'org.apache.commons:commons-collections4:4.1'

Leiningen

[org.apache.commons/commons-collections4 "4.1"]

SBT

libraryDependencies += "org.apache.commons" % "commons-collections4" % "4.1"