-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1315 from b2ihealthcare/issue/SO-6223-replace-log…
…4j-with-reload4j SO-6223: Remove log4j 1.x jars completely
- Loading branch information
Showing
5 changed files
with
116 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>log4j-over-slf4j-manifest-export-fix</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.b2international</groupId> | ||
<artifactId>log4j-over-slf4j-reficio</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
|
||
<properties> | ||
<slf4j.version>2.0.11</slf4j.version> | ||
|
||
<!-- Artifact distribution --> | ||
<maven.repository.id>nexus_deployment</maven.repository.id> | ||
<maven.releases.repository>https://artifacts.b2ihealthcare.com/repository/maven-releases</maven.releases.repository> | ||
<maven.snapshots.repository>https://artifacts.b2ihealthcare.com/repository/maven-snapshots</maven.snapshots.repository> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>log4j-over-slf4j</artifactId> | ||
<version>${slf4j.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.reficio</groupId> | ||
<artifactId>p2-maven-plugin</artifactId> | ||
<version>1.3.0</version> | ||
<executions> | ||
<execution> | ||
<id>default-cli</id> | ||
<goals> | ||
<goal>site</goal> | ||
</goals> | ||
<phase>package</phase> | ||
<configuration> | ||
<artifacts> | ||
<artifact> | ||
<id>org.slf4j:log4j-over-slf4j:2.0.11</id> | ||
<override>true</override> | ||
<instructions> | ||
<Bundle-Description>Log4j implemented over SLF4J</Bundle-Description> | ||
<Bundle-DocURL>http://www.slf4j.org</Bundle-DocURL> | ||
<Bundle-License>http://www.apache.org/licenses/LICENSE-2.0.txt</Bundle-License> | ||
<Bundle-Name>Log4j Implemented Over SLF4J</Bundle-Name> | ||
<Bundle-SymbolicName>log4j.over.slf4j</Bundle-SymbolicName> | ||
<Bundle-Vendor>B2i Healthcare</Bundle-Vendor> | ||
<Bundle-Version>${slf4j.version}</Bundle-Version> | ||
<!-- This will ensure that packages will be exported without any version constraints --> | ||
<Export-Package>*;version=1.2.24</Export-Package> | ||
<Import-Package>javax.xml.parsers,org.slf4j;version="[2.0,3)",org.slf4j.spi;version="[2.0,3)",org.w3c.dom</Import-Package> | ||
</instructions> | ||
</artifact> | ||
</artifacts> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-deploy-plugin</artifactId> | ||
<version>3.1.1</version> | ||
<executions> | ||
<execution> | ||
<id>default-deploy</id> | ||
<phase>none</phase> | ||
</execution> | ||
<execution> | ||
<id>custom-deploy</id> | ||
<phase>deploy</phase> | ||
<goals> | ||
<goal>deploy-file</goal> | ||
</goals> | ||
<configuration> | ||
<groupId>com.b2international.snowowl</groupId> | ||
<artifactId>log4j-over-slf4j</artifactId> | ||
<version>${slf4j.version}</version> | ||
<file>${project.build.directory}/repository/plugins/log4j.over.slf4j_${slf4j.version}.jar</file> | ||
<repositoryId>${maven.repository.id}</repositoryId> | ||
<url>${maven.releases.repository}</url> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<distributionManagement> | ||
<repository> | ||
<id>${maven.repository.id}</id> | ||
<url>${maven.releases.repository}</url> | ||
</repository> | ||
<snapshotRepository> | ||
<id>${maven.repository.id}</id> | ||
<url>${maven.snapshots.repository}</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters