"Fossies" - the Fresh Open Source Software Archive

Member "apache-log4j-2.12.4-src/log4j-core-its/pom.xml" (28 Dec 2021, 9136 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 <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-core-its</artifactId>
   27   <packaging>jar</packaging>
   28   <name>Apache Log4j Core Integration Tests</name>
   29   <description>Integration Tests for the Apache Log4j Implementation</description>
   30   <properties>
   31     <log4jParentDir>${basedir}/..</log4jParentDir>
   32     <docLabel>Core Documentation</docLabel>
   33     <projectDir>/core</projectDir>
   34     <revapi.skip>true</revapi.skip>
   35   </properties>
   36   <dependencies>
   37     <dependency>
   38       <groupId>org.apache.logging.log4j</groupId>
   39       <artifactId>log4j-api</artifactId>
   40     </dependency>
   41     <dependency>
   42       <groupId>org.apache.logging.log4j</groupId>
   43       <artifactId>log4j-api</artifactId>
   44       <type>test-jar</type>
   45       <scope>test</scope>
   46     </dependency>
   47     <dependency>
   48       <groupId>org.apache.logging.log4j</groupId>
   49       <artifactId>log4j-core</artifactId>
   50     </dependency>
   51     <dependency>
   52       <groupId>org.apache.logging.log4j</groupId>
   53       <artifactId>log4j-core</artifactId>
   54       <type>test-jar</type>
   55       <scope>test</scope>
   56     </dependency>
   57     <!-- Required for AsyncLoggers -->
   58     <dependency>
   59       <groupId>com.lmax</groupId>
   60       <artifactId>disruptor</artifactId>
   61       <optional>true</optional>
   62     </dependency>
   63     <!-- Alternative implementation of BlockingQueue using Conversant Disruptor for AsyncAppender -->
   64     <dependency>
   65       <groupId>com.conversantmedia</groupId>
   66       <artifactId>disruptor</artifactId>
   67       <classifier>jdk7</classifier>
   68       <optional>true</optional>
   69     </dependency>
   70     <!-- Alternative implementation of BlockingQueue using JCTools for AsyncAppender -->
   71     <dependency>
   72       <groupId>org.jctools</groupId>
   73       <artifactId>jctools-core</artifactId>
   74       <optional>true</optional>
   75     </dependency>
   76     <!-- Required for JSON support -->
   77     <dependency>
   78       <groupId>com.fasterxml.jackson.core</groupId>
   79       <artifactId>jackson-core</artifactId>
   80       <optional>true</optional>
   81     </dependency>
   82     <!-- Required for JSON support -->
   83     <dependency>
   84       <groupId>com.fasterxml.jackson.core</groupId>
   85       <artifactId>jackson-databind</artifactId>
   86       <optional>true</optional>
   87     </dependency>
   88     <!-- Required for YAML support (including JSON requirements) -->
   89     <dependency>
   90       <groupId>com.fasterxml.jackson.dataformat</groupId>
   91       <artifactId>jackson-dataformat-yaml</artifactId>
   92       <optional>true</optional>
   93     </dependency>
   94     <!-- Required for XML layout and receiver support -->
   95     <dependency>
   96       <groupId>com.fasterxml.jackson.dataformat</groupId>
   97       <artifactId>jackson-dataformat-xml</artifactId>
   98       <optional>true</optional>
   99     </dependency>
  100     <!-- POM for jackson-dataformat-xml 2.9.2 depends on woodstox-core 5.0.3 -->
  101     <dependency>
  102       <groupId>com.fasterxml.woodstox</groupId>
  103       <artifactId>woodstox-core</artifactId>
  104       <version>5.0.3</version>
  105       <optional>true</optional>
  106     </dependency>
  107 
  108     <!-- TEST DEPENDENCIES -->
  109     <!-- Log4j 1.2 tests -->
  110     <dependency>
  111       <groupId>log4j</groupId>
  112       <artifactId>log4j</artifactId>
  113       <version>1.2.17</version>
  114       <scope>test</scope>
  115     </dependency>
  116     <!-- SLF4J tests -->
  117     <dependency>
  118       <groupId>org.slf4j</groupId>
  119       <artifactId>slf4j-api</artifactId>
  120       <scope>test</scope>
  121     </dependency>
  122     <dependency>
  123       <groupId>org.slf4j</groupId>
  124       <artifactId>slf4j-ext</artifactId>
  125       <scope>test</scope>
  126     </dependency>
  127     <!-- JUnit, naturally -->
  128     <dependency>
  129       <groupId>junit</groupId>
  130       <artifactId>junit</artifactId>
  131       <scope>test</scope>
  132     </dependency>
  133     <dependency>
  134       <groupId>org.hamcrest</groupId>
  135       <artifactId>hamcrest-all</artifactId>
  136       <scope>test</scope>
  137     </dependency>
  138     <!-- Useful mock classes and utilities -->
  139     <dependency>
  140       <groupId>org.springframework</groupId>
  141       <artifactId>spring-test</artifactId>
  142       <scope>test</scope>
  143     </dependency>
  144     <dependency>
  145       <groupId>commons-logging</groupId>
  146       <artifactId>commons-logging</artifactId>
  147       <scope>test</scope>
  148     </dependency>
  149     <!-- Logback performance tests -->
  150     <dependency>
  151       <groupId>ch.qos.logback</groupId>
  152       <artifactId>logback-core</artifactId>
  153       <scope>test</scope>
  154     </dependency>
  155     <dependency>
  156       <groupId>ch.qos.logback</groupId>
  157       <artifactId>logback-classic</artifactId>
  158       <scope>test</scope>
  159     </dependency>
  160     <!-- Used for JMS appenders (needs an implementation of course) -->
  161     <dependency>
  162       <groupId>org.jboss.spec.javax.jms</groupId>
  163       <artifactId>jboss-jms-api_1.1_spec</artifactId>
  164       <scope>provided</scope>
  165       <optional>true</optional>
  166     </dependency>
  167     <!-- JPA, JNDI and JMS tests -->
  168     <dependency>
  169       <groupId>org.apache.activemq</groupId>
  170       <artifactId>activemq-broker</artifactId>
  171       <scope>test</scope>
  172       <exclusions>
  173         <exclusion>
  174           <groupId>org.apache.geronimo.specs</groupId>
  175           <artifactId>geronimo-jms_1.1_spec</artifactId>
  176         </exclusion>
  177       </exclusions>
  178     </dependency>
  179   </dependencies>
  180   <build>
  181     <plugins>
  182       <plugin>
  183         <artifactId>maven-compiler-plugin</artifactId>
  184         <executions>
  185           <execution>
  186             <id>test-compile</id>
  187             <goals>
  188               <goal>testCompile</goal>
  189             </goals>
  190             <phase>test-compile</phase>
  191           </execution>
  192         </executions>
  193       </plugin>
  194       <plugin>
  195         <groupId>org.apache.felix</groupId>
  196         <artifactId>maven-bundle-plugin</artifactId>
  197       </plugin>
  198       <plugin>
  199         <groupId>org.apache.maven.plugins</groupId>
  200         <artifactId>maven-jar-plugin</artifactId>
  201         <!-- Only build test jars -->
  202         <executions>
  203           <execution>
  204             <id>default-jar</id>
  205             <phase>none</phase>
  206           </execution>
  207           <execution>
  208             <id>test-jar</id>
  209             <goals>
  210               <goal>test-jar</goal>
  211             </goals>
  212             <phase>package</phase>
  213           </execution>
  214         </executions>
  215       </plugin>
  216       <plugin>
  217         <groupId>org.apache.maven.plugins</groupId>
  218         <artifactId>maven-source-plugin</artifactId>
  219         <!-- Only build test jars -->
  220         <executions>
  221           <execution>
  222             <id>attach-sources</id>
  223             <goals>
  224               <goal>jar-no-fork</goal>
  225             </goals>
  226             <phase>none</phase>
  227           </execution>
  228           <execution>
  229             <id>test-jar</id>
  230             <goals>
  231               <goal>test-jar</goal>
  232             </goals>
  233             <phase>package</phase>
  234           </execution>
  235         </executions>
  236       </plugin>
  237       <plugin>
  238         <artifactId>maven-surefire-plugin</artifactId>
  239         <configuration>
  240           <skip>true</skip>
  241         </configuration>
  242       </plugin>
  243       <plugin>
  244         <groupId>org.apache.maven.plugins</groupId>
  245         <artifactId>maven-failsafe-plugin</artifactId>
  246         <configuration>
  247           <additionalClasspathElements>
  248             <additionalClasspathElement>${project.basedir}/src/test/resources</additionalClasspathElement>
  249           </additionalClasspathElements>
  250           <includes>
  251             <include>**/*.java</include>
  252           </includes>
  253           <excludes>
  254             <exclude>**/ForceNoDefClassFoundError.*</exclude>
  255           </excludes>
  256           <groups>
  257             org.apache.logging.log4j.categories.PerformanceTests,
  258             org.apache.logging.log4j.categories.Appenders$Jms
  259           </groups>
  260         </configuration>
  261       </plugin>
  262       <plugin>
  263         <groupId>org.apache.maven.plugins</groupId>
  264         <artifactId>maven-deploy-plugin</artifactId>
  265         <version>${deploy.plugin.version}</version>
  266         <configuration>
  267           <skip>true</skip>
  268         </configuration>
  269       </plugin>
  270     </plugins>
  271   </build>
  272 </project>
  273