Skip to content

Commit 2ae8089

Browse files
authored
Add auto-generated plugin reference to the 2.x site (#2404)
1 parent 21b283f commit 2ae8089

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+580
-3697
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This file is here to activate the `plugin-processing` Maven profile.

log4j-1.2-api/pom.xml

+6-22
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,21 @@
1616
~ limitations under the License.
1717
-->
1818
<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/maven-v4_0_0.xsd">
19+
1920
<modelVersion>4.0.0</modelVersion>
21+
2022
<parent>
2123
<groupId>org.apache.logging.log4j</groupId>
2224
<artifactId>log4j</artifactId>
2325
<version>${revision}</version>
2426
<relativePath>../log4j-parent</relativePath>
2527
</parent>
28+
2629
<artifactId>log4j-1.2-api</artifactId>
27-
<packaging>jar</packaging>
30+
2831
<name>Apache Log4j 1.x Compatibility API</name>
2932
<description>The Apache Log4j 1.x Compatibility API</description>
33+
3034
<properties>
3135
<module.name>org.apache.log4j</module.name>
3236

@@ -45,6 +49,7 @@
4549
<Fragment-Host>org.apache.logging.log4j.core</Fragment-Host>
4650
<!-- we have an `bnd.bnd` file to override the parent's defaults -->
4751
</properties>
52+
4853
<dependencies>
4954
<!-- Used for JMS appenders (needs an implementation of course) -->
5055
<dependency>
@@ -138,27 +143,6 @@
138143
</dependency>
139144
</dependencies>
140145

141-
<build>
142-
<plugins>
143-
144-
<!-- Enable Log4j plugin processing -->
145-
<plugin>
146-
<groupId>org.apache.maven.plugins</groupId>
147-
<artifactId>maven-compiler-plugin</artifactId>
148-
<configuration>
149-
<annotationProcessorPaths combine.children="append">
150-
<path>
151-
<groupId>org.apache.logging.log4j</groupId>
152-
<artifactId>log4j-core</artifactId>
153-
<version>${project.version}</version>
154-
</path>
155-
</annotationProcessorPaths>
156-
</configuration>
157-
</plugin>
158-
159-
</plugins>
160-
</build>
161-
162146
<profiles>
163147

164148
<!-- Fixes incompatible with Java 8 -->

log4j-api/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<name>Apache Log4j API</name>
2929
<description>The Apache Log4j API</description>
3030
<properties>
31-
<javadoc.skip>false</javadoc.skip>
31+
<maven.javadoc.skip>false</maven.javadoc.skip>
3232

3333
<!--
3434
~ OSGi and JPMS options
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This file is here to activate the `plugin-processing` Maven profile.

log4j-cassandra/pom.xml

+4-22
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
~ limitations under the License.
1717
-->
1818
<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">
19+
1920
<modelVersion>4.0.0</modelVersion>
21+
2022
<parent>
2123
<groupId>org.apache.logging.log4j</groupId>
2224
<artifactId>log4j</artifactId>
@@ -25,8 +27,10 @@
2527
</parent>
2628

2729
<artifactId>log4j-cassandra</artifactId>
30+
2831
<name>Apache Log4j Cassandra</name>
2932
<description>Cassandra appender for Log4j.</description>
33+
3034
<properties>
3135

3236
<!--
@@ -108,26 +112,4 @@
108112
</dependency>
109113
</dependencies>
110114

111-
<build>
112-
<plugins>
113-
<plugin>
114-
<groupId>org.apache.maven.plugins</groupId>
115-
<artifactId>maven-compiler-plugin</artifactId>
116-
<configuration>
117-
<!--
118-
~ Modules that contain `log4j-core` plugins, must be compiled with:
119-
~
120-
~ org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor
121-
-->
122-
<annotationProcessorPaths combine.children="append">
123-
<path>
124-
<groupId>org.apache.logging.log4j</groupId>
125-
<artifactId>log4j-core</artifactId>
126-
<version>${project.version}</version>
127-
</path>
128-
</annotationProcessorPaths>
129-
</configuration>
130-
</plugin>
131-
</plugins>
132-
</build>
133115
</project>

log4j-core-java9/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<properties>
3131
<maven.compiler.release>9</maven.compiler.release>
3232
<maven.deploy.skip>true</maven.deploy.skip>
33+
<sign.skip>true</sign.skip>
3334
</properties>
3435
<dependencies>
3536
<!-- Naturally, all implementations require the log4j-api JAR -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This file is here to activate the `plugin-processing` Maven profile.

log4j-core-test/pom.xml

+4-16
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
~ limitations under the License.
1717
-->
1818
<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/maven-v4_0_0.xsd">
19+
1920
<modelVersion>4.0.0</modelVersion>
21+
2022
<parent>
2123
<groupId>org.apache.logging.log4j</groupId>
2224
<artifactId>log4j</artifactId>
@@ -25,9 +27,10 @@
2527
</parent>
2628

2729
<artifactId>log4j-core-test</artifactId>
28-
<packaging>jar</packaging>
30+
2931
<name>Apache Log4j Core Tests</name>
3032
<description>The Apache Log4j Implementation Tests</description>
33+
3134
<properties>
3235
<!-- Ignore less important (high rank) bugs for test artifacts -->
3336
<spotbugs.maxRank>9</spotbugs.maxRank>
@@ -351,21 +354,6 @@
351354
<build>
352355
<plugins>
353356

354-
<!-- Enable Log4j plugin processing -->
355-
<plugin>
356-
<groupId>org.apache.maven.plugins</groupId>
357-
<artifactId>maven-compiler-plugin</artifactId>
358-
<configuration>
359-
<annotationProcessorPaths combine.children="append">
360-
<path>
361-
<groupId>org.apache.logging.log4j</groupId>
362-
<artifactId>log4j-core</artifactId>
363-
<version>${project.version}</version>
364-
</path>
365-
</annotationProcessorPaths>
366-
</configuration>
367-
</plugin>
368-
369357
<plugin>
370358
<groupId>org.apache.maven.plugins</groupId>
371359
<artifactId>maven-surefire-plugin</artifactId>

0 commit comments

Comments
 (0)