"Fossies" - the Fresh Open Source Software Archive

Member "apache-log4j-2.12.4-src/log4j-web/pom.xml" (28 Dec 2021, 7127 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 
   19 <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">
   20   <parent>
   21     <artifactId>log4j</artifactId>
   22     <groupId>org.apache.logging.log4j</groupId>
   23     <version>2.12.4</version>
   24   </parent>
   25   <modelVersion>4.0.0</modelVersion>
   26 
   27   <artifactId>log4j-web</artifactId>
   28   <packaging>jar</packaging>
   29   <name>Apache Log4j Web</name>
   30   <description>The Apache Log4j support for web servlet containers</description>
   31 
   32   <properties>
   33     <log4jParentDir>${basedir}/..</log4jParentDir>
   34     <docLabel>Web Documentation</docLabel>
   35     <projectDir>/log4j-web</projectDir>
   36     <module.name>org.apache.logging.log4j.web</module.name>
   37   </properties>
   38 
   39   <dependencies>
   40     <dependency>
   41       <groupId>org.apache.logging.log4j</groupId>
   42       <artifactId>log4j-api</artifactId>
   43     </dependency>
   44     <dependency>
   45       <groupId>org.apache.logging.log4j</groupId>
   46       <artifactId>log4j-core</artifactId>
   47     </dependency>
   48     <dependency>
   49       <groupId>javax.servlet</groupId>
   50       <artifactId>javax.servlet-api</artifactId>
   51       <version>3.0.1</version>
   52       <scope>provided</scope>
   53     </dependency>
   54 
   55     <!-- Test dependencies -->
   56     <dependency>
   57       <groupId>org.apache.logging.log4j</groupId>
   58       <artifactId>log4j-core</artifactId>
   59       <type>test-jar</type>
   60       <scope>test</scope>
   61     </dependency>
   62     <dependency>
   63       <groupId>junit</groupId>
   64       <artifactId>junit</artifactId>
   65       <scope>test</scope>
   66     </dependency>
   67     <dependency>
   68       <groupId>org.springframework</groupId>
   69       <artifactId>spring-test</artifactId>
   70       <scope>test</scope>
   71     </dependency>
   72     <dependency>
   73       <groupId>org.mockito</groupId>
   74       <artifactId>mockito-core</artifactId>
   75       <scope>test</scope>
   76     </dependency>
   77   </dependencies>
   78 
   79   <build>
   80     <plugins>
   81       <plugin>
   82         <groupId>org.apache.felix</groupId>
   83         <artifactId>maven-bundle-plugin</artifactId>
   84         <configuration>
   85           <instructions>
   86             <!-- we compile against 3.0, but require 2.5 minimum -->
   87             <Fragment-Host>org.apache.logging.log4j.core</Fragment-Host>
   88             <Import-Package>javax.servlet;version="[2.5,4)",*</Import-Package>
   89             <Export-Package>org.apache.logging.log4j.web</Export-Package>
   90           </instructions>
   91         </configuration>
   92       </plugin>
   93     </plugins>
   94   </build>
   95   <reporting>
   96     <plugins>
   97       <plugin>
   98         <groupId>org.apache.maven.plugins</groupId>
   99         <artifactId>maven-changes-plugin</artifactId>
  100         <version>${changes.plugin.version}</version>
  101         <reportSets>
  102           <reportSet>
  103             <reports>
  104               <report>changes-report</report>
  105             </reports>
  106           </reportSet>
  107         </reportSets>
  108         <configuration>
  109           <issueLinkTemplate>%URL%/show_bug.cgi?id=%ISSUE%</issueLinkTemplate>
  110           <useJql>true</useJql>
  111         </configuration>
  112       </plugin>
  113       <plugin>
  114         <groupId>org.apache.maven.plugins</groupId>
  115         <artifactId>maven-checkstyle-plugin</artifactId>
  116         <version>${checkstyle.plugin.version}</version>
  117         <configuration>
  118           <!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
  119           <configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
  120           <suppressionsLocation>${log4jParentDir}/checkstyle-suppressions.xml</suppressionsLocation>
  121           <enableRulesSummary>false</enableRulesSummary>
  122           <propertyExpansion>basedir=${basedir}</propertyExpansion>
  123           <propertyExpansion>licensedir=${log4jParentDir}/checkstyle-header.txt</propertyExpansion>
  124         </configuration>
  125       </plugin>
  126       <plugin>
  127         <groupId>org.apache.maven.plugins</groupId>
  128         <artifactId>maven-javadoc-plugin</artifactId>
  129         <version>${javadoc.plugin.version}</version>
  130         <configuration>
  131           <bottom><![CDATA[<p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
  132             Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
  133             and the Apache Log4j logo are trademarks of The Apache Software Foundation.</p>]]></bottom>
  134           <!-- module link generation is completely broken in the javadoc plugin for a multi-module non-aggregating
  135                project -->
  136           <detectOfflineLinks>false</detectOfflineLinks>
  137           <linksource>true</linksource>
  138           <links>
  139             <link>http://docs.oracle.com/javaee/6/api/</link>
  140           </links>
  141         </configuration>
  142         <reportSets>
  143           <reportSet>
  144             <id>non-aggregate</id>
  145             <reports>
  146               <report>javadoc</report>
  147             </reports>
  148           </reportSet>
  149         </reportSets>
  150       </plugin>
  151       <plugin>
  152         <groupId>org.codehaus.mojo</groupId>
  153         <artifactId>findbugs-maven-plugin</artifactId>
  154         <version>${findbugs.plugin.version}</version>
  155         <configuration>
  156           <fork>true</fork>
  157           <jvmArgs>-Duser.language=en</jvmArgs>
  158           <threshold>Normal</threshold>
  159           <effort>Default</effort>
  160           <excludeFilterFile>${log4jParentDir}/findbugs-exclude-filter.xml</excludeFilterFile>
  161         </configuration>
  162       </plugin>
  163       <plugin>
  164         <groupId>org.apache.maven.plugins</groupId>
  165         <artifactId>maven-jxr-plugin</artifactId>
  166         <version>${jxr.plugin.version}</version>
  167         <reportSets>
  168           <reportSet>
  169             <id>non-aggregate</id>
  170             <reports>
  171               <report>jxr</report>
  172             </reports>
  173           </reportSet>
  174           <reportSet>
  175             <id>aggregate</id>
  176             <reports>
  177               <report>aggregate</report>
  178             </reports>
  179           </reportSet>
  180         </reportSets>
  181       </plugin>
  182       <plugin>
  183         <groupId>org.apache.maven.plugins</groupId>
  184         <artifactId>maven-pmd-plugin</artifactId>
  185         <version>${pmd.plugin.version}</version>
  186         <configuration>
  187           <targetJdk>${maven.compiler.target}</targetJdk>
  188         </configuration>
  189       </plugin>
  190     </plugins>
  191   </reporting>
  192 </project>