Skip to content

Commit

Permalink
issue #4 provide SLF4j logger support
Browse files Browse the repository at this point in the history
  • Loading branch information
Madzi committed Sep 13, 2022
1 parent 4acbe88 commit 58dc3ed
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand All @@ -10,7 +11,7 @@
<version>1.0.0-4-logging-profile-SNAPSHOT</version>
<packaging>pom</packaging>

<name>IFML3 :: Global</name>
<name>IFML3 Global</name>
<description>Project for management all settings for IFML3 group projects</description>

<properties>
Expand All @@ -26,9 +27,18 @@
<!-- Version of lib dependencies -->
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.0</version>
</dependency>
</dependencies>
</dependencyManagement>

<profiles>
<!-- Gitflow support -->
<!--
<!-- Gitflow support
All projects with .git folder will use this profile.
-->
<profile>
Expand Down Expand Up @@ -62,6 +72,23 @@
</plugins>
</build>
</profile>
<!-- Logging Support
Provied support for SLF4J logger interface for all java projects.
-->
<profile>
<id>logging-support</id>
<activation>
<file>
<exists>src/main/java</exists>
</file>
</activation>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>

<scm>
Expand Down

0 comments on commit 58dc3ed

Please sign in to comment.