Repository · Issues · API docs · Annotated source · Release Notes
Install and configure java.
:dependencies [[com.palletops/java-crate "0.8.0-beta.1"]]
Pallet | Crate Version | Repo | GroupId | ||
---|---|---|---|---|---|
0.8.0-beta.1 | 0.8.0-beta.1 | clojars | com.palletops | Release Notes | Source |
0.7 | 0.7.1 | sonatype | org.cloudhoist | Release Notes | Source |
0.6 | 0.5.1 | sonatype | org.cloudhoist | Release Notes | Source |
0.5 | 0.5.1 | sonatype | org.cloudhoist | Release Notes | Source |
0.8-alpha.7 | 0.8.0-alpha.1 | sonatype | org.cloudhoist | Release Notes | Source |
0.8-alpha.8 | 0.8.0-alpha.2 | sonatype | org.cloudhoist | Release Notes | Source |
The java crate defines the java
function, that takes a settings map and
returns a server-spec for installing java. You can use this in a group-spec
or server-spec
.
(group-spec "my-node-with-java"
:extends [(pallet.crate.java/java {})])
The java crate uses the following settings:
:vendor
one of #{:openjdk :oracle :sun}
:components
a set of #{:jdk :jre}
:strategy
allows override of the install strategy (:packages
, :package-source
, :rpm
or :debs
)
:version
specify the java version to install
:packages
the packages that are used to install
:package-source
a non-default package source for the packages
:rpm
takes a map of remote-file options specifying a self-extracting rpm file
to install
:debs
takes a map of remote-directory options specifying an archive of deb files to
install. The archive should have no top level directory.
On the group, or #pallet on freenode irc.
Licensed under EPL
Copyright 2010, 2011, 2012, 2013 Hugo Duncan.