Skip to content

Commit

Permalink
Merge pull request #535 from zalando/feature/re-integrate-tags
Browse files Browse the repository at this point in the history
Re-integrate changes from latest tag
  • Loading branch information
Willi Schönborn authored Sep 23, 2020
2 parents d28d6cd + db09833 commit 947d0ef
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 12 deletions.
1 change: 1 addition & 0 deletions .java-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.8
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.zalando</groupId>
<artifactId>problem-spring-parent</artifactId>
<version>0.26.0-SNAPSHOT</version>
<version>0.27.0-SNAPSHOT</version>
<packaging>pom</packaging>
<url>https://github.com/zalando/problem-spring-web</url>
<organization>
Expand Down Expand Up @@ -170,9 +170,11 @@
</exclusions>
</dependency>
<dependency>
<!-- CVE-2017-18640 -->
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.27</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
2 changes: 1 addition & 1 deletion problem-spring-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.zalando</groupId>
<artifactId>problem-spring-parent</artifactId>
<version>0.26.0-SNAPSHOT</version>
<version>0.27.0-SNAPSHOT</version>
</parent>
<artifactId>problem-spring-common</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion problem-spring-web-autoconfigure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.zalando</groupId>
<artifactId>problem-spring-parent</artifactId>
<version>0.26.0-SNAPSHOT</version>
<version>0.27.0-SNAPSHOT</version>
</parent>
<artifactId>problem-spring-web-autoconfigure</artifactId>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
package org.zalando.problem.spring.web.autoconfigure;

import org.apiguardian.api.API;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.WebSecurityConfigurer;
import org.zalando.problem.spring.web.advice.AdviceTrait;

import static org.apiguardian.api.API.Status.INTERNAL;

@API(status = INTERNAL)
@Configuration(proxyBeanMethods = false)
@ConditionalOnWebApplication
@ConditionalOnClass(WebSecurityConfigurer.class)
public class ProblemAutoConfiguration {

@Bean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import lombok.AllArgsConstructor;
import org.apiguardian.api.API;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
Expand All @@ -26,7 +25,7 @@
import static org.apiguardian.api.API.Status.INTERNAL;

@API(status = INTERNAL)
@AllArgsConstructor(onConstructor = @__(@Autowired))
@AllArgsConstructor
@Configuration(proxyBeanMethods = false)
@ConditionalOnWebApplication
@ConditionalOnClass(WebSecurityConfigurer.class)
Expand Down
2 changes: 1 addition & 1 deletion problem-spring-web-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>problem-spring-parent</artifactId>
<groupId>org.zalando</groupId>
<version>0.26.0-SNAPSHOT</version>
<version>0.27.0-SNAPSHOT</version>
</parent>
<artifactId>problem-spring-web-starter</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion problem-spring-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.zalando</groupId>
<artifactId>problem-spring-parent</artifactId>
<version>0.26.0-SNAPSHOT</version>
<version>0.27.0-SNAPSHOT</version>
</parent>
<artifactId>problem-spring-web</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion problem-spring-webflux/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.zalando</groupId>
<artifactId>problem-spring-parent</artifactId>
<version>0.26.0-SNAPSHOT</version>
<version>0.27.0-SNAPSHOT</version>
</parent>
<artifactId>problem-spring-webflux</artifactId>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion problem-violations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.zalando</groupId>
<artifactId>problem-spring-parent</artifactId>
<version>0.26.0-SNAPSHOT</version>
<version>0.27.0-SNAPSHOT</version>
</parent>
<artifactId>problem-violations</artifactId>
</project>

0 comments on commit 947d0ef

Please sign in to comment.