Skip to content

Commit

Permalink
Release hotfix for disfunct maven wrapper invocation.
Browse files Browse the repository at this point in the history
  • Loading branch information
headcr4sh committed May 30, 2018
1 parent d533061 commit 002f23e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>" \
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" \
Expand Down
2 changes: 1 addition & 1 deletion assets/out
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 002f23e

Please sign in to comment.