From 002f23e2d40d5fc9599bef8a749d93835008a69f Mon Sep 17 00:00:00 2001 From: "Benjamin P. Jung" Date: Wed, 30 May 2018 22:30:57 +0200 Subject: [PATCH] Release hotfix for disfunct maven wrapper invocation. --- CHANGELOG.md | 9 +++++++++ Dockerfile | 2 +- assets/out | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70a2a4c..eacb113 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [0.5.1] - 2018-05-30 + +### Fixed + +- An issue with using the maven wrapper was introduced in 0.5.0. + If a project uses the maven wrapper and the scanner_type is set to `maven` + (or the scanner_type was automatically detected), such builds were broken, + because the maven wrapper was not executed correctly. + ## [0.5.0] - 2018-05-30 ### Fixed diff --git a/Dockerfile b/Dockerfile index 88c780b..f50d7a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,7 @@ RUN mvn -q org.apache.maven.plugins:maven-dependency-plugin:3.1.1:get \ ENV PATH="/usr/local/bin:/usr/bin:/bin" LABEL maintainer="Benjamin P. Jung " \ - version="0.5.0" \ + version="0.5.1" \ org.concourse-ci.target-version="3.13.0" \ org.concourse-ci.resource-id="sonarqube" \ org.concourse-ci.resource-name="SonarQube Static Code Analysis" \ diff --git a/assets/out b/assets/out index 3c09845..11408be 100755 --- a/assets/out +++ b/assets/out @@ -153,7 +153,7 @@ if [[ -z "${scanner_type}" ]] || [[ "${scanner_type}" == "auto" ]]; then if [[ -f "${project_path}/pom.xml" ]]; then scanner_type="maven" if [[ -x "${project_path}/mvnw" ]]; then - mvn="./mvnw" + mvn="${project_path}/mvnw" else mvn="mvn" fi