From 1fc309f812055c4c489eea2938267905ed2b8438 Mon Sep 17 00:00:00 2001 From: Thomas Scheffler Date: Tue, 11 Nov 2025 13:49:08 +0100 Subject: [PATCH] use mycore-parent pom --- .github/workflows/maven-pr.yml | 4 +-- .github/workflows/maven-publish-snapshot.yml | 8 +++--- LICENSE.txt | 8 +++--- pom.xml | 28 ++++---------------- 4 files changed, 15 insertions(+), 33 deletions(-) diff --git a/.github/workflows/maven-pr.yml b/.github/workflows/maven-pr.yml index de2ef70..428b2aa 100644 --- a/.github/workflows/maven-pr.yml +++ b/.github/workflows/maven-pr.yml @@ -15,10 +15,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' - name: Build with Maven run: mvn -B package --file pom.xml diff --git a/.github/workflows/maven-publish-snapshot.yml b/.github/workflows/maven-publish-snapshot.yml index d2369e2..2b051b7 100644 --- a/.github/workflows/maven-publish-snapshot.yml +++ b/.github/workflows/maven-publish-snapshot.yml @@ -17,17 +17,17 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' # Maven Distribution Server (step creates .m2/settings.xml) - server-id: 'sonatype-central' + server-id: 'central' server-username: SONATYPE_USERNAME server-password: SONATYPE_TOKEN - name: Publish to OSSRH with Apache Maven env: SONATYPE_USERNAME: ${{ secrets.OSSRH_USERNAME }} SONATYPE_TOKEN: ${{ secrets.OSSRH_TOKEN }} - run: mvn --batch-mode deploy -P deploy-to-sonatype + run: mvn --batch-mode deploy diff --git a/LICENSE.txt b/LICENSE.txt index 94a9ed0..f288702 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,7 +1,7 @@ GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found. GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see -. +. The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. +. diff --git a/pom.xml b/pom.xml index 0b851f8..d566c76 100644 --- a/pom.xml +++ b/pom.xml @@ -18,10 +18,13 @@ --> 4.0.0 - org.mycore + + org.mycore + mycore-parent + 57 + mycore-classifications 1.2-SNAPSHOT - jar This project provides several classifications, which are commonly used in MyCoRe repositories and applications. https://www.mycore.de/classifications/ @@ -41,25 +44,4 @@ https://github.com/MyCoRe-Org/mycore-classifications HEAD - - - deploy-to-sonatype - - - - org.sonatype.central - central-publishing-maven-plugin - 0.7.0 - true - - https://central.sonatype.com/repository/maven-snapshots - sonatype-central - true - published - - - - - -