"Fossies" - the Fresh Open Source Software Archive

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