Skip to content

Commit

Permalink
Final warning about the migration to Java 17 and H2/PostgreSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
juliogonzalez committed Nov 2, 2024
1 parent e082906 commit 3fe6aef
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion SPECS/nexus3-oss.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Summary: Sonatype Nexus Repository manages software "artifacts" and repositories
Name: nexus3
# Remember to adjust the version at Source0 as well. This is required for Open Build Service download_files service
Version: 3.70.3.01
Release: 1%{?dist}
Release: 2%{?dist}
# This is a hack, since Nexus versions are N.N.N-NN, we cannot use hyphen inside Version tag
# and we need to adapt to Fedora/SUSE guidelines
%define nversion %(echo %{version}|sed -r 's/(.*)\\./\\1-/')
Expand Down Expand Up @@ -118,6 +118,15 @@ fi
if [ $1 -eq 1 ]; then
echo "Autogenerated password for admin user will be stored at /var/lib/nexus3/admin.password after Nexus startup"
fi
if [ $1 -eq 2 ]; then
echo "This is the final warning about the migration from OrientDB to H2/PostgreSQL"
echo "and from Java 1.8 to Java 17"
echo "- The migration to Java 17 is performed automatically, if the OS provides it"
echo "- The migration to H2/PostgreSQL needs to be performed MANUALLY. If you are"
echo " still using OrientDB (you did not perform a migration, Make sure you read"
echo " https://help.sonatype.com/en/migrating-to-a-new-database.html"
echo " and run the procedure before updating to Nexus 3.71.0 or any newer version!"
fi

%preun
%if 0%{?use_systemd}
Expand Down Expand Up @@ -174,6 +183,16 @@ rm -rf $RPM_BUILD_ROOT
%endif

%changelog
* Sat Nov 2 2024 Julio González Gil <packages@juliogonzalez.es> - 3.70.3.01-2
- This is the final warning about the migration from OrientDB to H2/PostgreSQL
and from Java 1.8 to Java 17!
- The migration to Java 17 is performed automatically by the package, if the
OS provides it
- The migration to H2/PostgreSQL needs to be performed MANUALLY. If you are
still using OrientDB (you did not perform a migration, Make sure you read
https://help.sonatype.com/en/migrating-to-a-new-database.html
and run the procedure before updating to Nexus 3.71.0 or any newer version!

* Mon Oct 28 2024 Julio González Gil <packages@juliogonzalez.es> - 3.70.3.01-1
- Update to 3.70.3-1
- Dependency Updates in 3.70.3:
Expand Down

0 comments on commit 3fe6aef

Please sign in to comment.