Migrate to Open Eggbert
This commit is contained in:
parent
aab3eeb8c8
commit
aac0679d68
4
CREDITS
4
CREDITS
@ -1,6 +1,6 @@
|
|||||||
This file partially lists people, that have contributed to
|
This file partially lists people, that have contributed to
|
||||||
the "RobertVokac Parent" project. They are sorted by name.
|
the "OpenEggbert Parent" project. They are sorted by name.
|
||||||
The fields are: name (N), e-mail (E), web-address (W),
|
The fields are: name (N), e-mail (E), web-address (W),
|
||||||
PGP key ID and fingerprint (P), description (D) and
|
PGP key ID and fingerprint (P), description (D) and
|
||||||
snail-mail address (S).
|
snail-mail address (S).
|
||||||
Thanks,
|
Thanks,
|
||||||
|
80
Jenkinsfile
vendored
80
Jenkinsfile
vendored
@ -1,80 +0,0 @@
|
|||||||
pipeline
|
|
||||||
/*
|
|
||||||
RobertVokac Parent
|
|
||||||
|
|
||||||
Requirements:
|
|
||||||
|
|
||||||
Maven is Installed
|
|
||||||
|
|
||||||
Java 21 is installed - variable JAVA_21_HOME is set
|
|
||||||
|
|
||||||
*/
|
|
||||||
{
|
|
||||||
agent any
|
|
||||||
environment {
|
|
||||||
AAA = 'aaa'
|
|
||||||
}
|
|
||||||
stages
|
|
||||||
{
|
|
||||||
stage('Build')
|
|
||||||
{
|
|
||||||
steps {
|
|
||||||
|
|
||||||
echo "*** Building ${env.JOB_NAME} ***"
|
|
||||||
sh '''
|
|
||||||
#!/bin/bash
|
|
||||||
echo JOB_NAME=$JOB_NAME
|
|
||||||
|
|
||||||
if [ -z "$JAVA_21_HOME" ]
|
|
||||||
then
|
|
||||||
echo "KO : Variable JAVA_21_HOME is empty. You fix this issue by adding this variable to configuration of Jenkins."
|
|
||||||
exit 1
|
|
||||||
else
|
|
||||||
echo "OK : Variable JAVA_21_HOME is NOT empty"
|
|
||||||
fi
|
|
||||||
export JAVA_HOME=$JAVA_21_HOME
|
|
||||||
case $BRANCH_NAME in
|
|
||||||
|
|
||||||
master | deploy_prod)
|
|
||||||
mvn clean install
|
|
||||||
;;
|
|
||||||
|
|
||||||
develop | jenkins | deploy_test)
|
|
||||||
echo Branch $BRANCH_NAME is supported. Continuing.
|
|
||||||
version=`mvn help:evaluate -Dexpression=project.version -q -DforceStdout`
|
|
||||||
echo version=$version
|
|
||||||
case "$version" in
|
|
||||||
*"SNAPSHOT"*) echo echo version is OK ;;
|
|
||||||
* ) echo echo "You cannot build releases on Jenkins, only snapshots!"&&exit 1 ;;
|
|
||||||
esac
|
|
||||||
mvn clean deploy
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
echo Branch $BRANCH_NAME is not supported. A failure happened. Exiting.
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
echo "Build of $JOB_NAME was successful"
|
|
||||||
'''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
post {
|
|
||||||
always {
|
|
||||||
script {
|
|
||||||
env.color = "${currentBuild.currentResult == 'SUCCESS' ? 'green' : 'red'}"
|
|
||||||
}
|
|
||||||
|
|
||||||
echo 'Sending e-mail.'
|
|
||||||
sh "printenv | sort"
|
|
||||||
emailext body: "<b style=\"color:$COLOR\">${currentBuild.currentResult}</b> - ${env.JOB_NAME} (#${env.BUILD_NUMBER})<br> <ul style=\"margin-top:2px;padding-top:2px;padding-left:30px;\"><li>More info at: <a href=\"${env.BUILD_URL}\">${env.BUILD_URL}</a></li></ul>",
|
|
||||||
recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']],
|
|
||||||
subject: "Jenkins Build - ${currentBuild.currentResult} - $JOB_NAME (#$BUILD_NUMBER)"
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
|||||||
# robertvokac-parent
|
# openeggbert-parent
|
||||||
|
|
||||||
This is Maven parent pom.xml file for RobertVokac projects.
|
This is Maven parent pom.xml file for OpenEggbert projects.
|
||||||
|
106
pom.xml
106
pom.xml
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!--
|
<!--
|
||||||
robertvokac-parent: This is Maven parent pom.xml file for RobertVokac projects.
|
openeggbert-parent: This is Maven parent pom.xml file for OpenEggbert projects.
|
||||||
Copyright (C) 2018-2024 the original author or authors.
|
Copyright (C) 2018-2025 the original author or authors.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or
|
This program is free software: you can redistribute it and/or
|
||||||
modify it under the terms of the GNU General Public License
|
modify it under the terms of the GNU General Public License
|
||||||
@ -23,45 +23,45 @@
|
|||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>com.robertvokac.essential</groupId>
|
<groupId>com.openeggbert.essential</groupId>
|
||||||
<artifactId>robertvokac-parent</artifactId>
|
<artifactId>openeggbert-parent</artifactId>
|
||||||
<version>0.1.1-SNAPSHOT</version>
|
<version>0.1.2-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>robertvokac-parent</name>
|
<name>openeggbert-parent</name>
|
||||||
<description>Maven parent for RobertVokac projects</description>
|
<description>Maven parent for Open Eggbert projects</description>
|
||||||
<url>https://robertvokac.org</url>
|
<url>https://openeggbert.com</url>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<checkstyle-maven-plugin.version>3.3.0</checkstyle-maven-plugin.version>
|
<maven-checkstyle-plugin.version>3.6.0</maven-checkstyle-plugin.version>
|
||||||
<checkstyle-config-location-path>robertvokac_checks.xml</checkstyle-config-location-path>
|
<checkstyle-config-location-path>openeggbert_checks.xml</checkstyle-config-location-path>
|
||||||
<checkstyle-config-location>${checkstyle-config-location-path}</checkstyle-config-location>
|
<checkstyle-config-location>${checkstyle-config-location-path}</checkstyle-config-location>
|
||||||
<javase.version>21</javase.version>
|
<javase.version>21</javase.version>
|
||||||
<robertvokac-javaformat-checkstyle.version>0.1.1-SNAPSHOT</robertvokac-javaformat-checkstyle.version>
|
<openeggbert-javaformat-checkstyle.version>0.1.2-SNAPSHOT</openeggbert-javaformat-checkstyle.version>
|
||||||
<!-- space -->
|
<!-- space -->
|
||||||
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
|
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
|
||||||
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
|
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
|
||||||
<maven-javadoc-plugin.version>3.6.0</maven-javadoc-plugin.version>
|
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
|
||||||
<maven-assembly-plugin.version>3.6.0</maven-assembly-plugin.version>
|
<maven-assembly-plugin.version>3.7.1</maven-assembly-plugin.version>
|
||||||
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
|
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
|
||||||
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
|
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
|
||||||
<maven-source-plugin>3.3.0</maven-source-plugin>
|
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
|
||||||
<maven-gpg-plugin>3.1.0</maven-gpg-plugin>
|
<maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version>
|
||||||
<maven-war-plugin.version>3.4.0</maven-war-plugin.version>
|
<maven-war-plugin.version>3.4.0</maven-war-plugin.version>
|
||||||
<lombok.version>1.18.34</lombok.version>
|
<lombok.version>1.18.36</lombok.version>
|
||||||
<junit-jupiter.version>5.10.0</junit-jupiter.version>
|
<junit-jupiter.version>5.11.4</junit-jupiter.version>
|
||||||
<junit5.vintage.version>5.10.0</junit5.vintage.version>
|
<junit5.vintage.version>5.11.4</junit5.vintage.version>
|
||||||
<junit4.version>4.13.2</junit4.version>
|
<junit4.version>4.13.2</junit4.version>
|
||||||
<jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version>
|
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
|
||||||
<jsoup.version>1.16.1</jsoup.version>
|
<jsoup.version>1.18.3</jsoup.version>
|
||||||
<mockito-core.version>3.12.4</mockito-core.version>
|
<mockito-core.version>3.12.4</mockito-core.version>
|
||||||
<sqlite-jdbc.version>3.43.0.0</sqlite-jdbc.version>
|
<sqlite-jdbc.version>3.48.0.0</sqlite-jdbc.version>
|
||||||
<log4j.version>2.20.0</log4j.version>
|
<log4j.version>2.24.3</log4j.version>
|
||||||
<build-helper-maven-plugin.version>3.4.0</build-helper-maven-plugin.version>
|
<build-helper-maven-plugin.version>3.6.0</build-helper-maven-plugin.version>
|
||||||
<flyway-core.version>8.5.13</flyway-core.version>
|
<flyway-core.version>8.5.13</flyway-core.version>
|
||||||
<mockito-inline.version>4.11.0</mockito-inline.version>
|
<mockito-inline.version>4.11.0</mockito-inline.version>
|
||||||
<springframework.version>6.0.12</springframework.version>
|
<springframework.version>6.2.2</springframework.version>
|
||||||
<gpg.skip>true</gpg.skip>
|
<gpg.skip>true</gpg.skip>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
@ -70,7 +70,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
<version>${checkstyle-maven-plugin.version}</version>
|
<version>${maven-checkstyle-plugin.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<configLocation>${checkstyle-config-location}</configLocation>
|
<configLocation>${checkstyle-config-location}</configLocation>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -93,7 +93,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
<version>${checkstyle-maven-plugin.version}</version>
|
<version>${maven-checkstyle-plugin.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>process-sources</id>
|
<id>process-sources</id>
|
||||||
@ -117,9 +117,9 @@
|
|||||||
<!--https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html-->
|
<!--https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html-->
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.robertvokac.essential</groupId>
|
<groupId>com.openeggbert.essential</groupId>
|
||||||
<artifactId>robertvokac-javaformat-checkstyle</artifactId>
|
<artifactId>openeggbert-javaformat-checkstyle</artifactId>
|
||||||
<version>${robertvokac-javaformat-checkstyle.version}</version>
|
<version>${openeggbert-javaformat-checkstyle.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
@ -139,7 +139,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
<version>${maven-source-plugin}</version>
|
<version>${maven-source-plugin.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-sources</id>
|
<id>attach-sources</id>
|
||||||
@ -165,7 +165,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-gpg-plugin</artifactId>
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
<version>${maven-gpg-plugin}</version>
|
<version>${maven-gpg-plugin.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>sign-artifacts</id>
|
<id>sign-artifacts</id>
|
||||||
@ -181,47 +181,47 @@
|
|||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.robertvokac.essential</groupId>
|
<groupId>com.openeggbert.essential</groupId>
|
||||||
<artifactId>robertvokac-javaformat-checkstyle</artifactId>
|
<artifactId>openeggbert-javaformat-checkstyle</artifactId>
|
||||||
<version>${robertvokac-javaformat-checkstyle.version}</version>
|
<version>${openeggbert-javaformat-checkstyle.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>robertvokac-releases-repository</id>
|
<id>openeggbert-releases-repository</id>
|
||||||
<name>robertvokac-releases-repository</name>
|
<name>openeggbert-releases-repository</name>
|
||||||
<url>https://maven.robertvokac.com/releases</url>
|
<url>https://maven.openeggbert.com/releases</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>robertvokac-snapshots-repository</id>
|
<id>openeggbert-snapshots-repository</id>
|
||||||
<name>robertvokac-snapshots-repository</name>
|
<name>openeggbert-snapshots-repository</name>
|
||||||
<url>https://maven.robertvokac.com/snapshots</url>
|
<url>https://maven.openeggbert.com/snapshots</url>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>robertvokac-releases-repository</id>
|
<id>openeggbert-releases-repository</id>
|
||||||
<name>robertvokac-releases-repository</name>
|
<name>openeggbert-releases-repository</name>
|
||||||
<url>https://maven.robertvokac.com/releases</url>
|
<url>https://maven.openeggbert.com/releases</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>robertvokac-snapshots-repository</id>
|
<id>openeggbert-snapshots-repository</id>
|
||||||
<name>robertvokac-snapshots-repository</name>
|
<name>openeggbert-snapshots-repository</name>
|
||||||
<url>https://maven.robertvokac.com/snapshots</url>
|
<url>https://maven.openeggbert.com/snapshots</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
<id>robertvokac-releases-repository</id>
|
<id>openeggbert-releases-repository</id>
|
||||||
<url>https://maven.robertvokac.com/releases</url>
|
<url>https://maven.openeggbert.com/releases</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
<snapshotRepository>
|
<snapshotRepository>
|
||||||
<id>robertvokac-snapshots-repository</id>
|
<id>openeggbert-snapshots-repository</id>
|
||||||
<url>https://maven.robertvokac.com/snapshots</url>
|
<url>https://maven.openeggbert.com/snapshots</url>
|
||||||
</snapshotRepository>
|
</snapshotRepository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user