"Fossies" - the Fresh Open Source Software Archive

Member "apache-log4j-2.12.4-src/log4j-core-java9/pom.xml" (28 Dec 2021, 5073 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-java9</artifactId>
   27   <packaging>pom</packaging>
   28   <name>Apache Log4j Implementation Java 9 support</name>
   29   <description>The Apache Log4j Implementation (Java 9)</description>
   30   <properties>
   31     <log4jParentDir>${basedir}/..</log4jParentDir>
   32     <docLabel>Log4j Implementation Documentation</docLabel>
   33     <projectDir>/core</projectDir>
   34   </properties>
   35   <dependencies>
   36     <!-- Naturally, all implementations require the log4j-api JAR -->
   37     <dependency>
   38       <groupId>org.apache.logging.log4j</groupId>
   39       <artifactId>log4j-api</artifactId>
   40     </dependency>
   41     <dependency>
   42       <groupId>junit</groupId>
   43       <artifactId>junit</artifactId>
   44       <scope>test</scope>
   45     </dependency>
   46     <dependency>
   47       <groupId>org.apache.maven</groupId>
   48       <artifactId>maven-core</artifactId>
   49       <scope>test</scope>
   50     </dependency>
   51   </dependencies>
   52   <build>
   53     <plugins>
   54       <plugin>
   55         <groupId>org.apache.maven.plugins</groupId>
   56         <artifactId>maven-toolchains-plugin</artifactId>
   57         <version>1.1</version>
   58         <executions>
   59           <execution>
   60             <goals>
   61               <goal>toolchain</goal>
   62             </goals>
   63           </execution>
   64         </executions>
   65         <configuration>
   66           <toolchains>
   67             <jdk>
   68               <version>9</version>
   69             </jdk>
   70           </toolchains>
   71         </configuration>
   72       </plugin>
   73       <plugin>
   74         <groupId>org.apache.maven.plugins</groupId>
   75         <artifactId>maven-compiler-plugin</artifactId>
   76         <executions>
   77           <execution>
   78             <id>default-compile</id>
   79             <phase>compile</phase>
   80             <goals>
   81               <goal>compile</goal>
   82             </goals>
   83           </execution>
   84           <execution>
   85             <id>default-test-compile</id>
   86             <phase>test-compile</phase>
   87             <goals>
   88               <goal>testCompile</goal>
   89             </goals>
   90           </execution>
   91         </executions>
   92       </plugin>
   93       <plugin>
   94         <groupId>org.apache.maven.plugins</groupId>
   95         <artifactId>maven-surefire-plugin</artifactId>
   96         <!-- Do not upgrade until https://issues.apache.org/jira/browse/SUREFIRE-720 is fixed -->
   97         <version>2.13</version>
   98         <executions>
   99           <execution>
  100             <id>test</id>
  101             <phase>test</phase>
  102             <goals>
  103               <goal>test</goal>
  104             </goals>
  105           </execution>
  106         </executions>
  107         <configuration>
  108           <systemPropertyVariables>
  109             <java.awt.headless>true</java.awt.headless>
  110           </systemPropertyVariables>
  111           <includes>
  112             <include>**/Test*.java</include>
  113             <include>**/*Test.java</include>
  114           </includes>
  115           <excludes>
  116             <exclude>**/*FuncTest.java</exclude>
  117           </excludes>
  118         </configuration>
  119       </plugin>
  120       <plugin>
  121         <artifactId>maven-assembly-plugin</artifactId>
  122         <executions>
  123           <execution>
  124             <id>zip</id>
  125             <phase>package</phase>
  126             <goals>
  127               <goal>single</goal>
  128             </goals>
  129             <configuration>
  130               <finalName>log4j-core-java9-${project.version}</finalName>
  131               <appendAssemblyId>false</appendAssemblyId>
  132               <descriptors>
  133                 <descriptor>src/assembly/java9.xml</descriptor>
  134               </descriptors>
  135             </configuration>
  136           </execution>
  137         </executions>
  138       </plugin>
  139       <plugin>
  140         <groupId>org.apache.maven.plugins</groupId>
  141         <artifactId>maven-deploy-plugin</artifactId>
  142         <version>${deploy.plugin.version}</version>
  143         <configuration>
  144           <skip>true</skip>
  145         </configuration>
  146       </plugin>
  147     </plugins>
  148   </build>
  149 </project>
  150