Skip to content

Commit 1746e75

Browse files
mvfranzJerryShea
authored andcommitted
Add support for SLF4J version 2.x
1 parent 24f51ee commit 1746e75

File tree

17 files changed

+1994
-0
lines changed

17 files changed

+1994
-0
lines changed

logger-slf4j-2/pom.xml

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Copyright (C) 2014-2017 Chronicle Software
4+
~
5+
~ https://chronicle.software
6+
~
7+
~ Licensed under the Apache License, Version 2.0 (the "License");
8+
~ you may not use this file except in compliance with the License.
9+
~ You may obtain a copy of the License at
10+
~
11+
~ http://www.apache.org/licenses/LICENSE-2.0
12+
~
13+
~ Unless required by applicable law or agreed to in writing, software
14+
~ distributed under the License is distributed on an "AS IS" BASIS,
15+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
~ See the License for the specific language governing permissions and
17+
~ limitations under the License.
18+
~
19+
-->
20+
21+
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22+
23+
<modelVersion>4.0.0</modelVersion>
24+
25+
<parent>
26+
<groupId>net.openhft</groupId>
27+
<artifactId>chronicle-logger</artifactId>
28+
<version>4.22ea3-SNAPSHOT</version>
29+
<relativePath>../pom.xml</relativePath>
30+
</parent>
31+
32+
<name>OpenHFT/Chronicle-Logger/logger-slf4j-2</name>
33+
<artifactId>chronicle-logger-slf4j-2</artifactId>
34+
<packaging>bundle</packaging>
35+
36+
<dependencies>
37+
<dependency>
38+
<groupId>net.openhft</groupId>
39+
<artifactId>chronicle-logger-core</artifactId>
40+
</dependency>
41+
42+
<!-- slf4j -->
43+
<dependency>
44+
<groupId>org.slf4j</groupId>
45+
<artifactId>slf4j-api</artifactId>
46+
<version>2.0.0</version>
47+
</dependency>
48+
49+
</dependencies>
50+
51+
<build>
52+
<plugins>
53+
<plugin>
54+
<groupId>org.apache.maven.plugins</groupId>
55+
<artifactId>maven-compiler-plugin</artifactId>
56+
<configuration>
57+
<compilerArgument>-Xlint:deprecation</compilerArgument>
58+
<source>1.8</source>
59+
<target>1.8</target>
60+
<encoding>UTF-8</encoding>
61+
</configuration>
62+
</plugin>
63+
<plugin>
64+
<groupId>org.apache.maven.plugins</groupId>
65+
<artifactId>maven-surefire-plugin</artifactId>
66+
<configuration>
67+
<excludes>
68+
<exclude>**/*PerfTest.java</exclude>
69+
</excludes>
70+
<systemPropertyVariables>
71+
<project.build.directory>${project.build.directory}</project.build.directory>
72+
</systemPropertyVariables>
73+
</configuration>
74+
</plugin>
75+
<!--
76+
generate maven dependencies versions file that can be used later
77+
to install the right bundle in test phase.
78+
79+
The file is:
80+
81+
target/classes/META-INF/maven/dependencies.properties
82+
-->
83+
<plugin>
84+
<groupId>org.apache.servicemix.tooling</groupId>
85+
<artifactId>depends-maven-plugin</artifactId>
86+
<executions>
87+
<execution>
88+
<id>generate-depends-file</id>
89+
<goals>
90+
<goal>generate-depends-file</goal>
91+
</goals>
92+
</execution>
93+
</executions>
94+
</plugin>
95+
<plugin>
96+
<groupId>org.apache.felix</groupId>
97+
<artifactId>maven-bundle-plugin</artifactId>
98+
<extensions>true</extensions>
99+
<configuration>
100+
<instructions>
101+
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
102+
<Bundle-Name>OpenHFT :: ${project.artifactId}</Bundle-Name>
103+
<Bundle-Version>${project.version}</Bundle-Version>
104+
<Export-Package>net.openhft.chronicle.logger.slf4j.*</Export-Package>
105+
</instructions>
106+
</configuration>
107+
<executions>
108+
<!--
109+
This execution makes sure that the manifest is available
110+
when the tests are executed
111+
-->
112+
<execution>
113+
<goals>
114+
<goal>manifest</goal>
115+
</goals>
116+
</execution>
117+
</executions>
118+
</plugin>
119+
</plugins>
120+
</build>
121+
122+
<scm>
123+
<url>scm:git:git@github.com:OpenHFT/Chronicle-Logger.git</url>
124+
<connection>scm:git:git@github.com:OpenHFT/Chronicle-Logger.git</connection>
125+
<developerConnection>scm:git:git@github.com:OpenHFT/Chronicle-Logger.git</developerConnection>
126+
<tag>master</tag>
127+
</scm>
128+
129+
</project>

0 commit comments

Comments
 (0)