Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

require jdk 17 #24

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deb/run-alien.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ echo "RPM_NAME: ${RPM_NAME}"
# split up running of alien program to allow us to inject rpm requires into deb depends stanza of debian control file
alien --generate --to-deb --scripts "/data/build/${RPM_NAME}"
#cat "${RPM_BASENAME}/debian/control"
sed -i -e 's/Depends: \${shlibs:Depends}/Depends: \${shlibs:Depends}, openjdk-8-jdk-headless | java8-sdk-headless/' "${RPM_BASENAME}/debian/control"
sed -i -e 's/Depends: \${shlibs:Depends}/Depends: \${shlibs:Depends}, openjdk-17-jdk-headless | java-sdk-headless (>= 17)/' "${RPM_BASENAME}/debian/control"
#cat "${RPM_BASENAME}/debian/control"

cd "${RPM_BASENAME}"
Expand Down
4 changes: 3 additions & 1 deletion rpm/nexus-iq-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Release: %%RELEASE%%
Summary: Nexus IQ Server
License: Proprietary
Requires: systemd
Requires: java-1.8.0-openjdk-headless
Requires: java-17-openjdk-headless
URL: https://www.sonatype.com
Source0: %%BUNDLE_FILE%%
Source1: %{name}-%{version}-rpm.tar.gz
Expand Down Expand Up @@ -107,6 +107,8 @@ fi
/opt/sonatype/sonatype-work/iqserver

%changelog
* Thu Aug 08 2024 Dan Rollo <[email protected]>
require jdk 17.
* Thu Aug 20 2020 Dan Rollo <[email protected]>
increase max memory for jvm to 4gb. add systemd service timeout.
* Tue Mar 17 2020 Dan Rollo <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion rpm/test-rpm.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM centos:7

RUN yum install -y java-1.8.0-openjdk-headless
RUN yum install -y java-17-openjdk-headless
COPY . /data
VOLUME /data
WORKDIR /data
Expand Down
Loading