From c01ed296176b6cabfcf0f6a92c5e6f13f21306f2 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 6 Nov 2023 16:17:15 +1000 Subject: [PATCH 1/3] use new toolchain parent Signed-off-by: Olivier Lamy --- header-template.txt | 10 --- pom.xml | 197 ++++++++++++++++---------------------------- 2 files changed, 73 insertions(+), 134 deletions(-) delete mode 100644 header-template.txt diff --git a/header-template.txt b/header-template.txt deleted file mode 100644 index 6213a95..0000000 --- a/header-template.txt +++ /dev/null @@ -1,10 +0,0 @@ -======================================================================== -Copyright (c) ${project.inceptionYear} Mort Bay Consulting Pty Ltd and others. - -This program and the accompanying materials are made available under the -terms of the Eclipse Public License v. 2.0 which is available at -https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 -which is available at https://www.apache.org/licenses/LICENSE-2.0. - -SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 -======================================================================== diff --git a/pom.xml b/pom.xml index a24deff..a4ad101 100644 --- a/pom.xml +++ b/pom.xml @@ -1,45 +1,42 @@ + + 4.0.0 org.eclipse.jetty.toolchain jetty-toolchain - 1.7 + 1.8-parent-SNAPSHOT - 4.0.0 org.eclipse.jetty.toolchain.setuid jetty-setuid-jna 2.0.3-SNAPSHOT - Jetty :: SetUID JNA jar + Jetty :: SetUID JNA + + scm:git:https://github.com/jetty/${jetty.git.repo}.git + scm:git:git@github.com:eclipse/${jetty.git.repo}.git + HEAD + https://github.com/jetty/${jetty.git.repo} + - 17 - 17 - 17 + 17 + 6.2 + jetty.setuid 12.0.2 5.13.0 - 6.2 UTF-8 - - - Eclipse Public License - Version 2.0 - https://www.eclipse.org/legal/epl-2.0/ - - - Apache Software License - Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0 - - + - - org.eclipse.jetty - jetty-server - ${jetty.version} - net.java.dev.jna jna ${jna.version} + + org.eclipse.jetty + jetty-server + ${jetty.version} + org.slf4j slf4j-api @@ -52,67 +49,80 @@ test + + + + + false + + + true + + jetty.snapshots + https://oss.sonatype.org/content/repositories/jetty-snapshots + + + + + + + false + + + true + + jetty.snapshots + https://oss.sonatype.org/content/repositories/jetty-snapshots + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + -Xlint:all + + + + - - maven-compiler-plugin - 3.11.0 - - ${compiler.source} - ${compiler.target} - ${compiler.release} - true - -Xlint:all - - org.apache.maven.plugins - maven-release-plugin - 3.0.1 - - true - eclipse-release - true - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.4.1 + maven-assembly-plugin + + + org.eclipse.jetty.toolchain + jetty-assembly-descriptors + 1.1 + + - enforce-build-env + assemble-config - enforce + single - validate + package - - - [3.8.4,) - [ERROR] OLD MAVEN [${maven.version}] in use, Jetty ${project.version} requires Maven 3.8.4 or newer - - - [17,) - [ERROR] OLD JDK [${java.version}] in use. Jetty ${project.version} requires JDK 17 or newer - - - + + src/main/assembly/config.xml + org.apache.maven.plugins - maven-resources-plugin - 3.3.1 + maven-resources-plugin copy-resources - process-resources copy-resources + process-resources UTF-8 false @@ -130,68 +140,7 @@ - - com.mycila - license-maven-plugin - 4.3 - - - -
header-template.txt
- - **/*.java - -
-
- true - true - true - - DOUBLESLASH_STYLE - -
- - - check-headers - validate - - check - - - -
- - org.apache.maven.plugins - maven-assembly-plugin - 3.6.0 - - - org.eclipse.jetty.toolchain - jetty-assembly-descriptors - 1.1 - - - - - assemble-config - package - - single - - - - src/main/assembly/config.xml - - - - -
- - scm:git:https://github.com/jetty/jetty.setuid.git - scm:git:git@github.com:jetty/jetty.setuid.git - https://github.com/jetty/jetty.setuid/tree/master - HEAD - +
From f58be69b9c2b86223bb35aec95064f7032f71f0c Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 7 Nov 2023 13:31:26 +1000 Subject: [PATCH 2/3] remove useless attributes Signed-off-by: Olivier Lamy --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a4ad101..b3493d1 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ 2.0.3-SNAPSHOT jar Jetty :: SetUID JNA - + scm:git:https://github.com/jetty/${jetty.git.repo}.git scm:git:git@github.com:eclipse/${jetty.git.repo}.git HEAD From 59b7ae5cec782b39501c6cc5fbaa697dcb54e7f5 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 7 Nov 2023 14:15:43 +1000 Subject: [PATCH 3/3] fix org name Signed-off-by: Olivier Lamy --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b3493d1..7bfb0ed 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ Jetty :: SetUID JNA scm:git:https://github.com/jetty/${jetty.git.repo}.git - scm:git:git@github.com:eclipse/${jetty.git.repo}.git + scm:git:git@github.com:jetty/${jetty.git.repo}.git HEAD https://github.com/jetty/${jetty.git.repo}