Migrated to Open Eggbert
This commit is contained in:
parent
aab3eeb8c8
commit
3c8d38ed8e
4
CREDITS
4
CREDITS
@ -1,6 +1,6 @@
|
||||
This file partially lists people, that have contributed to
|
||||
the "RobertVokac Parent" project. They are sorted by name.
|
||||
The fields are: name (N), e-mail (E), web-address (W),
|
||||
the "OpenEggbert Parent" project. They are sorted by name.
|
||||
The fields are: name (N), e-mail (E), web-address (W),
|
||||
PGP key ID and fingerprint (P), description (D) and
|
||||
snail-mail address (S).
|
||||
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"?>
|
||||
<!--
|
||||
robertvokac-parent: This is Maven parent pom.xml file for RobertVokac projects.
|
||||
Copyright (C) 2018-2024 the original author or authors.
|
||||
openeggbert-parent: This is Maven parent pom.xml file for OpenEggbert projects.
|
||||
Copyright (C) 2018-2025 the original author or authors.
|
||||
|
||||
This program is free software: you can redistribute it and/or
|
||||
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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.robertvokac.essential</groupId>
|
||||
<artifactId>robertvokac-parent</artifactId>
|
||||
<version>0.1.1-SNAPSHOT</version>
|
||||
<groupId>com.openeggbert.essential</groupId>
|
||||
<artifactId>openeggbert-parent</artifactId>
|
||||
<version>0.1.2-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>robertvokac-parent</name>
|
||||
<description>Maven parent for RobertVokac projects</description>
|
||||
<url>https://robertvokac.org</url>
|
||||
<name>openeggbert-parent</name>
|
||||
<description>Maven parent for Open Eggbert projects</description>
|
||||
<url>https://openeggbert.com</url>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<checkstyle-maven-plugin.version>3.3.0</checkstyle-maven-plugin.version>
|
||||
<checkstyle-config-location-path>robertvokac_checks.xml</checkstyle-config-location-path>
|
||||
<maven-checkstyle-plugin.version>3.6.0</maven-checkstyle-plugin.version>
|
||||
<checkstyle-config-location-path>openeggbert_checks.xml</checkstyle-config-location-path>
|
||||
<checkstyle-config-location>${checkstyle-config-location-path}</checkstyle-config-location>
|
||||
<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 -->
|
||||
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
|
||||
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
|
||||
<maven-javadoc-plugin.version>3.6.0</maven-javadoc-plugin.version>
|
||||
<maven-assembly-plugin.version>3.6.0</maven-assembly-plugin.version>
|
||||
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
|
||||
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
|
||||
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-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-jar-plugin.version>3.3.0</maven-jar-plugin.version>
|
||||
<maven-source-plugin>3.3.0</maven-source-plugin>
|
||||
<maven-gpg-plugin>3.1.0</maven-gpg-plugin>
|
||||
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
|
||||
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
|
||||
<maven-gpg-plugin.version>3.1.0</maven-gpg-plugin.version>
|
||||
<maven-war-plugin.version>3.4.0</maven-war-plugin.version>
|
||||
<lombok.version>1.18.34</lombok.version>
|
||||
<junit-jupiter.version>5.10.0</junit-jupiter.version>
|
||||
<junit5.vintage.version>5.10.0</junit5.vintage.version>
|
||||
<lombok.version>1.18.36</lombok.version>
|
||||
<junit-jupiter.version>5.11.4</junit-jupiter.version>
|
||||
<junit5.vintage.version>5.11.4</junit5.vintage.version>
|
||||
<junit4.version>4.13.2</junit4.version>
|
||||
<jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version>
|
||||
<jsoup.version>1.16.1</jsoup.version>
|
||||
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
|
||||
<jsoup.version>1.18.3</jsoup.version>
|
||||
<mockito-core.version>3.12.4</mockito-core.version>
|
||||
<sqlite-jdbc.version>3.43.0.0</sqlite-jdbc.version>
|
||||
<log4j.version>2.20.0</log4j.version>
|
||||
<build-helper-maven-plugin.version>3.4.0</build-helper-maven-plugin.version>
|
||||
<sqlite-jdbc.version>3.48.0.0</sqlite-jdbc.version>
|
||||
<log4j.version>2.24.3</log4j.version>
|
||||
<build-helper-maven-plugin.version>3.6.0</build-helper-maven-plugin.version>
|
||||
<flyway-core.version>8.5.13</flyway-core.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>
|
||||
</properties>
|
||||
|
||||
@ -70,7 +70,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>${checkstyle-maven-plugin.version}</version>
|
||||
<version>${maven-checkstyle-plugin.version}</version>
|
||||
<configuration>
|
||||
<configLocation>${checkstyle-config-location}</configLocation>
|
||||
</configuration>
|
||||
@ -93,7 +93,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>${checkstyle-maven-plugin.version}</version>
|
||||
<version>${maven-checkstyle-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>process-sources</id>
|
||||
@ -117,9 +117,9 @@
|
||||
<!--https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html-->
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.robertvokac.essential</groupId>
|
||||
<artifactId>robertvokac-javaformat-checkstyle</artifactId>
|
||||
<version>${robertvokac-javaformat-checkstyle.version}</version>
|
||||
<groupId>com.openeggbert.essential</groupId>
|
||||
<artifactId>openeggbert-javaformat-checkstyle</artifactId>
|
||||
<version>${openeggbert-javaformat-checkstyle.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
@ -139,7 +139,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>${maven-source-plugin}</version>
|
||||
<version>${maven-source-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
@ -165,7 +165,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<version>${maven-gpg-plugin}</version>
|
||||
<version>${maven-gpg-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
@ -181,47 +181,47 @@
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.robertvokac.essential</groupId>
|
||||
<artifactId>robertvokac-javaformat-checkstyle</artifactId>
|
||||
<version>${robertvokac-javaformat-checkstyle.version}</version>
|
||||
<groupId>com.openeggbert.essential</groupId>
|
||||
<artifactId>openeggbert-javaformat-checkstyle</artifactId>
|
||||
<version>${openeggbert-javaformat-checkstyle.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>robertvokac-releases-repository</id>
|
||||
<name>robertvokac-releases-repository</name>
|
||||
<url>https://maven.robertvokac.com/releases</url>
|
||||
<id>openeggbert-releases-repository</id>
|
||||
<name>openeggbert-releases-repository</name>
|
||||
<url>https://maven.openeggbert.com/releases</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>robertvokac-snapshots-repository</id>
|
||||
<name>robertvokac-snapshots-repository</name>
|
||||
<url>https://maven.robertvokac.com/snapshots</url>
|
||||
<id>openeggbert-snapshots-repository</id>
|
||||
<name>openeggbert-snapshots-repository</name>
|
||||
<url>https://maven.openeggbert.com/snapshots</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>robertvokac-releases-repository</id>
|
||||
<name>robertvokac-releases-repository</name>
|
||||
<url>https://maven.robertvokac.com/releases</url>
|
||||
<id>openeggbert-releases-repository</id>
|
||||
<name>openeggbert-releases-repository</name>
|
||||
<url>https://maven.openeggbert.com/releases</url>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<id>robertvokac-snapshots-repository</id>
|
||||
<name>robertvokac-snapshots-repository</name>
|
||||
<url>https://maven.robertvokac.com/snapshots</url>
|
||||
<id>openeggbert-snapshots-repository</id>
|
||||
<name>openeggbert-snapshots-repository</name>
|
||||
<url>https://maven.openeggbert.com/snapshots</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>robertvokac-releases-repository</id>
|
||||
<url>https://maven.robertvokac.com/releases</url>
|
||||
<id>openeggbert-releases-repository</id>
|
||||
<url>https://maven.openeggbert.com/releases</url>
|
||||
</repository>
|
||||
|
||||
<snapshotRepository>
|
||||
<id>robertvokac-snapshots-repository</id>
|
||||
<url>https://maven.robertvokac.com/snapshots</url>
|
||||
<id>openeggbert-snapshots-repository</id>
|
||||
<url>https://maven.openeggbert.com/snapshots</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
|
Reference in New Issue
Block a user