Skip to content

Commit

Permalink
deegree#976 - upgrade to slf4j 1.7.32; introduced auto-service to fi…
Browse files Browse the repository at this point in the history
…x 'Bad service configuration file'
  • Loading branch information
lgoltz authored and florianesser committed Dec 16, 2021
1 parent 8828f29 commit 4ac8061
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
4 changes: 4 additions & 0 deletions deegree-core/deegree-core-annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>com.google.auto.service</groupId>
<artifactId>auto-service</artifactId>
</dependency>
</dependencies>

</project>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@

import javax.annotation.processing.AbstractProcessor;
import javax.annotation.processing.ProcessingEnvironment;
import javax.annotation.processing.Processor;
import javax.annotation.processing.RoundEnvironment;
import javax.annotation.processing.SupportedAnnotationTypes;
import javax.annotation.processing.SupportedOptions;
Expand All @@ -59,6 +60,7 @@
import javax.lang.model.element.Element;
import javax.lang.model.element.TypeElement;

import com.google.auto.service.AutoService;
import org.deegree.commons.annotations.LoggingNotes;
import org.deegree.commons.annotations.PackageLoggingNotes;
import org.deegree.commons.utils.io.RollbackPrintWriter;
Expand All @@ -79,6 +81,7 @@
@SupportedSourceVersion(SourceVersion.RELEASE_8)
@SupportedOptions({ "log4j.outputdir" })
@Deprecated
@AutoService(Processor.class)
public class LoggingAnnotationProcessor extends AbstractProcessor {

private static final Logger LOG = getLogger( LoggingAnnotationProcessor.class );
Expand Down

This file was deleted.

11 changes: 8 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -561,17 +561,17 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.28</version>
<version>1.7.32</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.7.28</version>
<version>1.7.32</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<version>1.7.28</version>
<version>1.7.32</version>
</dependency>
<!-- 3d -->
<dependency>
Expand Down Expand Up @@ -1090,6 +1090,11 @@
<artifactId>junidecode</artifactId>
<version>0.2</version>
</dependency>
<dependency>
<groupId>com.google.auto.service</groupId>
<artifactId>auto-service</artifactId>
<version>1.0.1</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down

0 comments on commit 4ac8061

Please sign in to comment.