From 185cf84f6c0379e10bda763cc64444015b2761cf Mon Sep 17 00:00:00 2001 From: Till Neunast Date: Sun, 21 May 2023 12:52:29 +1200 Subject: [PATCH] Release 1.9 (#41) --- .github/workflows/release.yml | 34 ++++++++++++++++++++++++++++++++++ .travis.yml | 12 ------------ README.md | 15 ++++++--------- pom.xml | 6 +++--- 4 files changed, 43 insertions(+), 24 deletions(-) create mode 100644 .github/workflows/release.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..1ce0b28 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,34 @@ +name: Github Release + +on: + push: + tags: + - '[0-9]+.[0-9]+' + +jobs: + release: + name: Release + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: temurin + cache: maven + + - name: Build with Maven + run: mvn -B package --file pom.xml + + - name: Release + uses: marvinpinto/action-automatic-releases@latest + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + prerelease: false + automatic_release_tag: latest + title: Release ${{ github.ref_name }} + files: | + target/*.jar diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index be7299b..0000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -language: java -deploy: - provider: releases - api_key: - secure: R9G/+04GWKDloCmyrl7ZMLu5Qz7FQ5I0ZEXOAeq+uQ+tcUi21v6EJ3s7SL8wx5IyACvosBRXkLpu8pmffT/cTS1QduAEJZkwB+Nl7HwBXiowuXrM/AmjjINGJqzDvfQN9c3LMHOoYHhuhriQwyfZ8kpA0BNxfMPM2I4fU+lOcx2IrSkROOLFr2x+14fMHZdTkl9Lo/56O4S9peG85EGePaiPGQhDf7KVoaz5xkms7hu9+u0SvR+nyF6wlNn3pTrdYVZpiUiZslsga1ivKCMEgN+vgwJfw02nzztd0/2ItzZz6VPGen767vgAtc9auJ1xaO2crOWplSFrwYhlGbnnNGdj510jYgDgd2tj6aTDfXIXiEyE5qeaudLJF0S5qZJMFvVwu86BZ+sU9g3OX9EjD1JCf+O6F8wlx5WX+LWyNCGZ1tk7xrKRPtwI6EthOUMTejgiaCminHCTQwZKRRVyOH/5lgXIzJto93pqvvvmHt1DPxyxH2XBeFEKNqjHQYH9QG53fo6iSxLu5HuAG1V98iNPjmHNV3+CQ3w4PalUZKZ0VXjMGas2Q0/dBjPyUK6pD+VSg2WHgL/YowmTrbHTOB6yzt2ayIeDdPz85ecTP8eGJNOtSLoGu2ghyYCIkp29SaXDFnS6QTlTlySy+KhnDmFl3Z1IKC18qeIjL7f1Pbg= - file: "target/jmeter-wssecurity-*.jar" - file_glob: true - skip_cleanup: true - overwrite: true - on: - repo: tilln/jmeter-wssecurity - tags: true diff --git a/README.md b/README.md index 0fe640c..85f37b8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,4 @@ -# jmeter-wssecurity [![travis][travis-image]][travis-url] - -[travis-image]: https://travis-ci.org/tilln/jmeter-wssecurity.svg?branch=master -[travis-url]: https://travis-ci.org/tilln/jmeter-wssecurity +# jmeter-wssecurity [![github-actions](https://github.com/tilln/jmeter-wssecurity/actions/workflows/release.yml/badge.svg)](https://github.com/tilln/jmeter-wssecurity/actions/workflows/release.yml) Overview ------------ @@ -30,16 +27,16 @@ Under tab "Available Plugins", select "WS Security for SOAP", then click "Apply ### Via Package from [JMeter-Plugins.org](https://jmeter-plugins.org/) 1. Remove wss4j-\*.jar and xmlsec-\*.jar from JMeter's lib directory (if applicable). -2. Download and extract the [zip package](https://jmeter-plugins.org/files/packages/tilln-wssecurity-1.8.zip) into JMeter's lib directory. +2. Download and extract the [zip package](https://jmeter-plugins.org/files/packages/tilln-wssecurity-1.9.zip) into JMeter's lib directory. 3. Restart JMeter. ### Via Manual Download -1. Copy the [jmeter-wssecurity jar file](https://github.com/tilln/jmeter-wssecurity/releases/download/1.8/jmeter-wssecurity-1.8.jar) into JMeter's lib/ext directory. +1. Copy the [jmeter-wssecurity jar file](https://github.com/tilln/jmeter-wssecurity/releases/download/1.9/jmeter-wssecurity-1.9.jar) into JMeter's lib/ext directory. 2. Copy the following dependencies into JMeter's lib directory: - * [org.apache.wss4j / wss4j-ws-security-dom](https://search.maven.org/remotecontent?filepath=org/apache/wss4j/wss4j-ws-security-dom/2.3.1/wss4j-ws-security-dom-2.3.1.jar) - * [org.apache.wss4j / wss4j-ws-security-common](https://search.maven.org/remotecontent?filepath=org/apache/wss4j/wss4j-ws-security-common/2.3.1/wss4j-ws-security-common-2.3.1.jar) - * [org.apache.santuario / xmlsec](https://search.maven.org/remotecontent?filepath=org/apache/santuario/xmlsec/2.2.1/xmlsec-2.2.1.jar) + * [org.apache.wss4j / wss4j-ws-security-dom](https://search.maven.org/remotecontent?filepath=org/apache/wss4j/wss4j-ws-security-dom/3.0.0/wss4j-ws-security-dom-3.0.0.jar) + * [org.apache.wss4j / wss4j-ws-security-common](https://search.maven.org/remotecontent?filepath=org/apache/wss4j/wss4j-ws-security-common/3.0.0/wss4j-ws-security-common-3.0.0.jar) + * [org.apache.santuario / xmlsec](https://search.maven.org/remotecontent?filepath=org/apache/santuario/xmlsec/3.0.1/xmlsec-3.0.1.jar) 3. Make sure to remove older versions of the above dependencies from the JMeter lib directory. 4. Restart JMeter. diff --git a/pom.xml b/pom.xml index 75e13fe..e32e5eb 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ nz.co.breakpoint jmeter-wssecurity jar - 1.9-SNAPSHOT + 1.9 ${project.artifactId} Apache JMeter plugin for signing, encrypting and decrypting SOAP messages (WS-Security) https://github.com/tilln/jmeter-wssecurity @@ -41,7 +41,7 @@ org.apache.wss4j wss4j-ws-security-dom - 2.3.1 + 3.0.0 commons-io @@ -79,7 +79,7 @@ junit junit - 4.13.1 + 4.13.2 test