"Fossies" - the Fresh Open Source Software Archive 
Member "apache-log4j-2.12.4-src/log4j-api/pom.xml" (28 Dec 2021, 12956 Bytes) of package /linux/misc/apache-log4j-2.12.4-src.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 ~ Licensed to the Apache Software Foundation (ASF) under one or more
4 ~ contributor license agreements. See the NOTICE file distributed with
5 ~ this work for additional information regarding copyright ownership.
6 ~ The ASF licenses this file to You under the Apache license, Version 2.0
7 ~ (the "License"); you may not use this file except in compliance with
8 ~ the License. You may obtain a copy of the License at
9 ~
10 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~
12 ~ Unless required by applicable law or agreed to in writing, software
13 ~ distributed under the License is distributed on an "AS IS" BASIS,
14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ~ See the license for the specific language governing permissions and
16 ~ limitations under the license.
17 -->
18 <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 <modelVersion>4.0.0</modelVersion>
20 <parent>
21 <groupId>org.apache.logging.log4j</groupId>
22 <artifactId>log4j</artifactId>
23 <version>2.12.4</version>
24 <relativePath>../</relativePath>
25 </parent>
26 <artifactId>log4j-api</artifactId>
27 <packaging>jar</packaging>
28 <name>Apache Log4j API</name>
29 <description>The Apache Log4j API</description>
30 <properties>
31 <log4jParentDir>${basedir}/..</log4jParentDir>
32 <docLabel>API Documentation</docLabel>
33 <projectDir>/api</projectDir>
34 </properties>
35 <dependencies>
36 <!-- Place Felix before Equinox because Felix is signed. / also place it before org.osgi.core so that its versions of the OSGi classes are used -->
37 <dependency>
38 <groupId>org.apache.felix</groupId>
39 <artifactId>org.apache.felix.framework</artifactId>
40 <scope>test</scope>
41 </dependency>
42 <dependency>
43 <groupId>org.osgi</groupId>
44 <artifactId>org.osgi.core</artifactId>
45 <scope>provided</scope>
46 </dependency>
47 <dependency>
48 <groupId>junit</groupId>
49 <artifactId>junit</artifactId>
50 <scope>test</scope>
51 </dependency>
52 <dependency>
53 <groupId>org.eclipse.tycho</groupId>
54 <artifactId>org.eclipse.osgi</artifactId>
55 <scope>test</scope>
56 </dependency>
57 <dependency>
58 <groupId>org.apache.maven</groupId>
59 <artifactId>maven-core</artifactId>
60 <scope>test</scope>
61 </dependency>
62 <dependency>
63 <groupId>org.apache.commons</groupId>
64 <artifactId>commons-lang3</artifactId>
65 <scope>test</scope>
66 </dependency>
67 <!-- Required for JSON support -->
68 <dependency>
69 <groupId>com.fasterxml.jackson.core</groupId>
70 <artifactId>jackson-core</artifactId>
71 <scope>test</scope>
72 </dependency>
73 <!-- Required for JSON support -->
74 <dependency>
75 <groupId>com.fasterxml.jackson.core</groupId>
76 <artifactId>jackson-databind</artifactId>
77 <scope>test</scope>
78 </dependency>
79 </dependencies>
80 <build>
81 <plugins>
82 <plugin>
83 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-dependency-plugin</artifactId>
85 <version>3.0.2</version>
86 <executions>
87 <execution>
88 <id>unpack-classes</id>
89 <phase>prepare-package</phase>
90 <goals>
91 <goal>unpack</goal>
92 </goals>
93 <configuration>
94 <artifactItems>
95 <artifactItem>
96 <groupId>org.apache.logging.log4j</groupId>
97 <artifactId>log4j-api-java9</artifactId>
98 <version>${project.version}</version>
99 <type>zip</type>
100 <overWrite>false</overWrite>
101 </artifactItem>
102 </artifactItems>
103 <includes>**/*.class</includes>
104 <excludes>**/*.java</excludes>
105 <outputDirectory>${project.build.directory}</outputDirectory>
106 <overWriteReleases>false</overWriteReleases>
107 <overWriteSnapshots>true</overWriteSnapshots>
108 </configuration>
109 </execution>
110 </executions>
111 </plugin>
112 <plugin>
113 <groupId>org.codehaus.mojo</groupId>
114 <artifactId>build-helper-maven-plugin</artifactId>
115 <version>1.7</version>
116 <executions>
117 <execution>
118 <id>add-source</id>
119 <phase>generate-sources</phase>
120 <goals>
121 <goal>add-source</goal>
122 </goals>
123 <configuration>
124 <sources>
125 <source>${project.build.directory}/log4j-api-java9</source>
126 </sources>
127 </configuration>
128 </execution>
129 </executions>
130 </plugin>
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-compiler-plugin</artifactId>
134 <executions>
135 <execution>
136 <id>default-compile</id>
137 <!-- recompile everything for target VM except the module-info.java -->
138 <configuration>
139 <source>1.7</source>
140 <target>1.7</target>
141 </configuration>
142 </execution>
143 </executions>
144 </plugin>
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-jar-plugin</artifactId>
148 <executions>
149 <execution>
150 <id>default-jar</id>
151 <goals>
152 <goal>jar</goal>
153 </goals>
154 <configuration combine.self="override">
155 <archive>
156 <manifestFile>${manifestfile}</manifestFile>
157 <manifestEntries>
158 <Specification-Title>${project.name}</Specification-Title>
159 <Specification-Version>${project.version}</Specification-Version>
160 <Specification-Vendor>${project.organization.name}</Specification-Vendor>
161 <Implementation-Title>${project.name}</Implementation-Title>
162 <Implementation-Version>${project.version}</Implementation-Version>
163 <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
164 <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
165 <X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
166 <X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
167 <Multi-Release>true</Multi-Release>
168 </manifestEntries>
169 </archive>
170 </configuration>
171 </execution>
172 <execution>
173 <id>default</id>
174 <goals>
175 <goal>test-jar</goal>
176 </goals>
177 <configuration>
178 <archive>
179 <manifestFile>${manifestfile}</manifestFile>
180 <manifestEntries>
181 <Specification-Title>${project.name}</Specification-Title>
182 <Specification-Version>${project.version}</Specification-Version>
183 <Specification-Vendor>${project.organization.name}</Specification-Vendor>
184 <Implementation-Title>${project.name}</Implementation-Title>
185 <Implementation-Version>${project.version}</Implementation-Version>
186 <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
187 <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
188 <X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
189 <X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
190 </manifestEntries>
191 </archive>
192 </configuration>
193 </execution>
194 </executions>
195 </plugin>
196 <!-- Include the standard NOTICE and LICENSE -->
197 <plugin>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-remote-resources-plugin</artifactId>
200 <executions>
201 <execution>
202 <goals>
203 <goal>process</goal>
204 </goals>
205 <configuration>
206 <skip>false</skip>
207 </configuration>
208 </execution>
209 </executions>
210 </plugin>
211 <plugin>
212 <groupId>org.apache.felix</groupId>
213 <artifactId>maven-bundle-plugin</artifactId>
214 <configuration>
215 <instructions>
216 <Export-Package>org.apache.logging.log4j.*</Export-Package>
217 <Import-Package>
218 sun.reflect;resolution:=optional,
219 *
220 </Import-Package>
221 <Bundle-Activator>org.apache.logging.log4j.util.Activator</Bundle-Activator>
222 <_fixupmessages>"Classes found in the wrong directory";is:=warning</_fixupmessages>
223 </instructions>
224 </configuration>
225 </plugin>
226 <plugin>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-deploy-plugin</artifactId>
229 <version>${deploy.plugin.version}</version>
230 </plugin>
231 </plugins>
232 </build>
233 <reporting>
234 <plugins>
235 <plugin>
236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-changes-plugin</artifactId>
238 <version>${changes.plugin.version}</version>
239 <reportSets>
240 <reportSet>
241 <reports>
242 <report>changes-report</report>
243 </reports>
244 </reportSet>
245 </reportSets>
246 <configuration>
247 <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
248 <useJql>true</useJql>
249 </configuration>
250 </plugin>
251 <plugin>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-checkstyle-plugin</artifactId>
254 <version>${checkstyle.plugin.version}</version>
255 <configuration>
256 <!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
257 <configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
258 <suppressionsLocation>${log4jParentDir}/checkstyle-suppressions.xml</suppressionsLocation>
259 <enableRulesSummary>false</enableRulesSummary>
260 <propertyExpansion>basedir=${basedir}</propertyExpansion>
261 <propertyExpansion>licensedir=${log4jParentDir}/checkstyle-header.txt</propertyExpansion>
262 </configuration>
263 </plugin>
264 <plugin>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-javadoc-plugin</artifactId>
267 <version>${javadoc.plugin.version}</version>
268 <configuration>
269 <bottom><![CDATA[<p align="center">Copyright © {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
270 Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
271 and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p>]]></bottom>
272 <!-- module link generation is completely broken in the javadoc plugin for a multi-module non-aggregating
273 project -->
274 <doclint>none</doclint>
275 <detectOfflineLinks>false</detectOfflineLinks>
276 <linksource>true</linksource>
277 <links>
278 <link>http://www.osgi.org/javadoc/r4v43/core/</link>
279 </links>
280 </configuration>
281 <reportSets>
282 <reportSet>
283 <id>non-aggregate</id>
284 <reports>
285 <report>javadoc</report>
286 </reports>
287 </reportSet>
288 </reportSets>
289 </plugin>
290 <plugin>
291 <groupId>org.codehaus.mojo</groupId>
292 <artifactId>findbugs-maven-plugin</artifactId>
293 <version>${findbugs.plugin.version}</version>
294 <configuration>
295 <fork>true</fork>
296 <jvmArgs>-Duser.language=en</jvmArgs>
297 <threshold>Normal</threshold>
298 <effort>Default</effort>
299 <excludeFilterFile>${log4jParentDir}/findbugs-exclude-filter.xml</excludeFilterFile>
300 </configuration>
301 </plugin>
302 <plugin>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-jxr-plugin</artifactId>
305 <version>${jxr.plugin.version}</version>
306 <reportSets>
307 <reportSet>
308 <id>non-aggregate</id>
309 <reports>
310 <report>jxr</report>
311 </reports>
312 </reportSet>
313 <reportSet>
314 <id>aggregate</id>
315 <reports>
316 <report>aggregate</report>
317 </reports>
318 </reportSet>
319 </reportSets>
320 </plugin>
321 <plugin>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-pmd-plugin</artifactId>
324 <version>${pmd.plugin.version}</version>
325 <configuration>
326 <targetJdk>${maven.compiler.target}</targetJdk>
327 </configuration>
328 </plugin>
329 </plugins>
330 </reporting>
331 </project>
332