"Fossies" - the Fresh Open Source Software Archive

Member "apache-log4j-2.12.4-src/log4j-appserver/pom.xml" (28 Dec 2021, 8155 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. See also the latest Fossies "Diffs" side-by-side code changes report for "pom.xml": 2.12.3_vs_2.12.4.

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