Maven Coordinates

Apache Maven

<dependency>
  <groupId>org.htmlunit</groupId>
  <artifactId>htmlunit</artifactId>
  <version>4.4.0</version>
</dependency>

Apache Ivy

<dependency org="org.htmlunit" name="htmlunit" rev="4.4.0">
  <artifact name="htmlunit" type="jar" />
</dependency>

Groovy Grape

@Grapes(
@Grab(group='org.htmlunit', module='htmlunit', version='4.4.0')
)

Gradle/Grails

implementation 'org.htmlunit:htmlunit:4.4.0'

Scala SBT

libraryDependencies += "org.htmlunit" % "htmlunit" % "4.4.0"

Leiningen

[org.htmlunit/htmlunit "4.4.0"]