"Fossies" - the Fresh Open Source Software Archive

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