Skip to content

Commit f6c219c

Browse files
authored
Merge pull request #5 from corywright/wildfly-12-packaging
Update packaging for Wildfly 12
2 parents 7572d9d + 52e2395 commit f6c219c

3 files changed

Lines changed: 13 additions & 17 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
## debhelper and devscripts packages
1414
##
1515

16-
WF_CURRENT_VERSION = 11.0.0.Final
16+
WF_CURRENT_VERSION = 12.0.0.Final
1717

1818
WF_VERSION := $(or $(version),$(WF_VERSION),$(WF_CURRENT_VERSION))
1919
WF_TARBALL = wildfly-$(WF_VERSION).tar.gz

PPA_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1
1+
2

README.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,13 @@ Originally based on https://github.com/mattthias/wildfly-packaging
66

77
## Installing the Wildfly Package via PPA
88

9-
If the `java8-runtime` virtual package dependency is not already satisfied on the system them you may want to first install the `oracle-java8-installer` package from the `webupd8team/java` ppa:
9+
If the `java8-runtime` virtual package dependency is not already satisfied on the system them you may want to first install the `openjdk-8-jre-headless` package:
1010

11-
sudo add-apt-repository ppa:webupd8team/java
12-
sudo apt-get update
13-
# Optionally, pre-accept the Oracle license so you are not prompted to do so during the installation:
14-
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
15-
sudo apt-get install oracle-java8-installer oracle-java8-set-default
11+
sudo apt-get install openjdk-8-jre-headless
1612

1713
Install wildfly:
1814

19-
sudo add-apt-repository ppa:ilanddev/wildfly
15+
sudo add-apt-repository ppa:ilanddev/wildfly-12
2016
sudo apt-get update
2117
sudo apt-get install wildfly
2218

@@ -86,11 +82,11 @@ or
8682

8783
To build a different version, you can either pass the version as a Makefile parameter or use environment variables:
8884

89-
make version=8.0.0.Final
85+
make version=12.0.0.Final
9086

9187
or
9288

93-
export WF_VERSION=10.0.0.Final
89+
export WF_VERSION=12.0.0.Final
9490
make
9591

9692
The `version` command line parameter takes precendence over the `WF_VERSION` environment variable.
@@ -99,11 +95,11 @@ The `version` command line parameter takes precendence over the `WF_VERSION` env
9995

10096
By default the Makefile will build a debian package for the distribution of the build system. To override this you can:
10197

102-
make distribution=trusty
98+
make distribution=bionic
10399

104100
or
105101

106-
export WF_DISTRIBUTION=trusty
102+
export WF_DISTRIBUTION=bionic
107103
make
108104

109105
### Setting Environment Variables for Debian changelog
@@ -120,8 +116,8 @@ All of these configuration options can be maintained in a file that sets the env
120116

121117
# wildfly.env
122118
set -a
123-
WF_DISTRIBUTION="trusty"
124-
WF_VERSION="8.0.0.Final"
119+
WF_DISTRIBUTION="bionic"
120+
WF_VERSION="12.0.0.Final"
125121
DEBFULLNAME="Your Name"
126122
DEBEMAIL="youremail@example.com"
127123
GPG_KEY="7F5C3FB3"
@@ -137,6 +133,6 @@ Build wildfly:
137133
This should result in the following output during the build:
138134

139135
dpkg-buildpackage: source package wildfly
140-
dpkg-buildpackage: source version 8.0.0.Final-1
141-
dpkg-buildpackage: source distribution trusty
136+
dpkg-buildpackage: source version 12.0.0.Final-1
137+
dpkg-buildpackage: source distribution bionic
142138
dpkg-buildpackage: source changed by Your Name <youremail@example.com>

0 commit comments

Comments
 (0)