diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..e1d1cc7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "maven" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 0000000..8abd909 --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,20 @@ +# Number of days of inactivity before an issue becomes stale +daysUntilStale: 365 +# Number of days of inactivity before a stale issue is closed +daysUntilClose: 30 +# Issues with these labels will never be considered stale +exemptLabels: + - Pinned + - Security + - Specification + - TCK +# Label to use when marking an issue as stale +staleLabel: Stale +# Comment to post when marking an issue as stale. Set to `false` to disable +markComment: > + This issue has been automatically marked as stale because it has been a + full year without activity. It will be closed if no further activity occurs. + Thank you for your contributions. +# Comment to post when closing a stale issue. Set to `false` to disable +closeComment: > + This issue has been closed due to it having no activity. diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..5252cb8 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,14 @@ +name: Verify + +on: + push: + branches: + - 'main' + pull_request: + +jobs: + build: + name: Verify + uses: jetty/.github/.github/workflows/maven-ci.yml@main + with: + jdk-matrix: '[ "11", "17" ]' \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ffac74e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +target/ +*.iml diff --git a/license-header.txt b/license-header.txt new file mode 100644 index 0000000..8a9cb2e --- /dev/null +++ b/license-header.txt @@ -0,0 +1,15 @@ +======================================================================== + Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd. + ------------------------------------------------------------------------ + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + and Apache License v2.0 which accompanies this distribution. + + The Eclipse Public License is available at + http://www.eclipse.org/legal/epl-v10.html + + The Apache License v2.0 is available at + http://www.opensource.org/licenses/apache2.0.php + + You may elect to redistribute this code under either of these licenses. + ======================================================================== \ No newline at end of file diff --git a/pom.xml b/pom.xml index f7f93c3..6c1f08e 100644 --- a/pom.xml +++ b/pom.xml @@ -1,26 +1,29 @@ - - - jetty-toolchain - org.eclipse.jetty.toolchain - 1.7 - ../jetty-toolchain - + 4.0.0 + + org.eclipse.jetty + jetty-parent + 26 + jetty-perf-helper - jar 1.0.8-SNAPSHOT + jar Jetty Toolchain :: Performance Helper Performance/Benchmark Support for Jetty - scm:git:git://github.com/eclipse/jetty.toolchain.git - scm:git:ssh://git@github.com/eclipse/jetty.toolchain.git - https://github.com/eclipse/jetty.toolchain/tree/master/jetty-perf-helper + scm:git:https://github.com/jetty/${jetty.git.repo}.git + scm:git:git@github.com:jetty/${jetty.git.repo}.git + HEAD + https://github.com/jetty/${jetty.git.repo} + + 11 + jetty-perf-helper + license-header.txt + @@ -31,4 +34,3 @@ - diff --git a/src/main/java/org/eclipse/jetty/toolchain/perf/HistogramSnapshot.java b/src/main/java/org/eclipse/jetty/toolchain/perf/HistogramSnapshot.java index 2ecd0ac..d1dd46c 100644 --- a/src/main/java/org/eclipse/jetty/toolchain/perf/HistogramSnapshot.java +++ b/src/main/java/org/eclipse/jetty/toolchain/perf/HistogramSnapshot.java @@ -1,5 +1,5 @@ // -// ======================================================================== +// ======================================================================== // Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials diff --git a/src/main/java/org/eclipse/jetty/toolchain/perf/MeasureConverter.java b/src/main/java/org/eclipse/jetty/toolchain/perf/MeasureConverter.java index cdaf09b..20b85d7 100644 --- a/src/main/java/org/eclipse/jetty/toolchain/perf/MeasureConverter.java +++ b/src/main/java/org/eclipse/jetty/toolchain/perf/MeasureConverter.java @@ -1,5 +1,5 @@ // -// ======================================================================== +// ======================================================================== // Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials diff --git a/src/main/java/org/eclipse/jetty/toolchain/perf/MeasureRecorder.java b/src/main/java/org/eclipse/jetty/toolchain/perf/MeasureRecorder.java index 6c0b91f..afcdc65 100644 --- a/src/main/java/org/eclipse/jetty/toolchain/perf/MeasureRecorder.java +++ b/src/main/java/org/eclipse/jetty/toolchain/perf/MeasureRecorder.java @@ -1,5 +1,5 @@ // -// ======================================================================== +// ======================================================================== // Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials diff --git a/src/main/java/org/eclipse/jetty/toolchain/perf/PlatformMonitor.java b/src/main/java/org/eclipse/jetty/toolchain/perf/PlatformMonitor.java index df9afed..3bd3089 100644 --- a/src/main/java/org/eclipse/jetty/toolchain/perf/PlatformMonitor.java +++ b/src/main/java/org/eclipse/jetty/toolchain/perf/PlatformMonitor.java @@ -1,5 +1,5 @@ // -// ======================================================================== +// ======================================================================== // Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials diff --git a/src/main/java/org/eclipse/jetty/toolchain/perf/PlatformTimer.java b/src/main/java/org/eclipse/jetty/toolchain/perf/PlatformTimer.java index 92c093a..229e0a2 100644 --- a/src/main/java/org/eclipse/jetty/toolchain/perf/PlatformTimer.java +++ b/src/main/java/org/eclipse/jetty/toolchain/perf/PlatformTimer.java @@ -1,5 +1,5 @@ // -// ======================================================================== +// ======================================================================== // Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials