"Fossies" - the Fresh Open Source Software Archive

Member "apache-log4j-2.12.4-src/log4j-perf/pom.xml" (28 Dec 2021, 8475 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/xsd/maven-4.0.0.xsd">
   19   <modelVersion>4.0.0</modelVersion>
   20   <parent>
   21     <artifactId>log4j</artifactId>
   22     <groupId>org.apache.logging.log4j</groupId>
   23     <version>2.12.4</version>
   24     <relativePath>../</relativePath>
   25   </parent>
   26 
   27   <artifactId>log4j-perf</artifactId>
   28   <packaging>jar</packaging>
   29   <name>Apache Log4J Performance Tests</name>
   30   <description>The Apache Log4j development-time performance tests</description>
   31 
   32   <prerequisites>
   33     <maven>3.0</maven>
   34   </prerequisites>
   35 
   36   <properties>
   37     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   38     <log4jParentDir>${basedir}/..</log4jParentDir>
   39     <docLabel>Apache Log4J Performance Tests</docLabel>
   40     <projectDir>/log4j-perf</projectDir>
   41     <jmh.version>1.19</jmh.version>
   42     <javac.target>1.7</javac.target>
   43     <uberjar.name>benchmarks</uberjar.name>
   44     <revapi.skip>true</revapi.skip>
   45   </properties>
   46 
   47   <dependencies>
   48     <dependency>
   49       <groupId>org.openjdk.jmh</groupId>
   50       <artifactId>jmh-core</artifactId>
   51       <version>${jmh.version}</version>
   52     </dependency>
   53     <dependency>
   54       <groupId>org.openjdk.jmh</groupId>
   55       <artifactId>jmh-generator-annprocess</artifactId>
   56       <version>${jmh.version}</version>
   57       <scope>provided</scope>
   58     </dependency>
   59     <dependency>
   60       <groupId>org.apache.logging.log4j</groupId>
   61       <artifactId>log4j-api</artifactId>
   62     </dependency>
   63     <dependency>
   64       <groupId>org.apache.logging.log4j</groupId>
   65       <artifactId>log4j-core</artifactId>
   66     </dependency>
   67     <dependency>
   68       <groupId>org.apache.logging.log4j</groupId>
   69       <artifactId>log4j-jpa</artifactId>
   70       <version>2.12.4</version>
   71     </dependency>
   72     <dependency>
   73       <groupId>org.slf4j</groupId>
   74       <artifactId>slf4j-api</artifactId>
   75     </dependency>
   76     <dependency>
   77       <groupId>org.slf4j</groupId>
   78       <artifactId>slf4j-ext</artifactId>
   79     </dependency>
   80     <dependency>
   81       <groupId>ch.qos.logback</groupId>
   82       <artifactId>logback-core</artifactId>
   83       <scope>compile</scope>
   84     </dependency>
   85     <dependency>
   86       <groupId>ch.qos.logback</groupId>
   87       <artifactId>logback-classic</artifactId>
   88       <scope>compile</scope>
   89     </dependency>
   90     <dependency>
   91       <groupId>log4j</groupId>
   92       <artifactId>log4j</artifactId>
   93       <version>1.2.17</version>
   94     </dependency>
   95     <dependency>
   96       <groupId>com.lmax</groupId>
   97       <artifactId>disruptor</artifactId>
   98     </dependency>
   99     <dependency>
  100       <groupId>com.conversantmedia</groupId>
  101       <artifactId>disruptor</artifactId>
  102       <classifier>jdk7</classifier>
  103     </dependency>
  104     <dependency>
  105       <groupId>org.jctools</groupId>
  106       <artifactId>jctools-core</artifactId>
  107     </dependency>
  108     <!-- Embedded JDBC drivers for database appender tests -->
  109     <dependency>
  110       <groupId>org.hsqldb</groupId>
  111       <artifactId>hsqldb</artifactId>
  112     </dependency>
  113     <dependency>
  114       <groupId>com.h2database</groupId>
  115       <artifactId>h2</artifactId>
  116     </dependency>
  117     <!-- Used for JPA appenders (needs an implementation of course) -->
  118     <dependency>
  119       <groupId>javax.persistence</groupId>
  120       <artifactId>persistence-api</artifactId>
  121       <version>1.0.2</version>
  122     </dependency>
  123     <dependency>
  124       <groupId>org.eclipse.persistence</groupId>
  125       <artifactId>javax.persistence</artifactId>
  126     </dependency>
  127     <!-- JPA Tests -->
  128     <dependency>
  129       <groupId>org.eclipse.persistence</groupId>
  130       <artifactId>eclipselink</artifactId>
  131       <version>2.5.2</version>
  132     </dependency>
  133     <dependency>
  134       <groupId>org.eclipse.persistence</groupId>
  135       <artifactId>org.eclipse.persistence.jpa</artifactId>
  136     </dependency>
  137     <dependency>
  138       <groupId>com.fasterxml.jackson.core</groupId>
  139       <artifactId>jackson-core</artifactId>
  140       <optional>true</optional>
  141     </dependency>
  142     <dependency>
  143       <groupId>com.fasterxml.jackson.core</groupId>
  144       <artifactId>jackson-databind</artifactId>
  145       <optional>true</optional>
  146     </dependency>
  147   </dependencies>
  148 
  149   <build>
  150     <plugins>
  151       <plugin>
  152         <groupId>org.apache.maven.plugins</groupId>
  153         <artifactId>maven-toolchains-plugin</artifactId>
  154         <version>1.1</version>
  155         <executions>
  156           <execution>
  157             <goals>
  158               <goal>toolchain</goal>
  159             </goals>
  160           </execution>
  161         </executions>
  162         <configuration>
  163           <toolchains>
  164             <jdk>
  165               <version>9</version>
  166             </jdk>
  167           </toolchains>
  168         </configuration>
  169       </plugin>
  170       <plugin>
  171         <groupId>org.apache.maven.plugins</groupId>
  172         <artifactId>maven-compiler-plugin</artifactId>
  173         <version>${compiler.plugin.version}</version>
  174         <configuration>
  175           <compilerVersion>9</compilerVersion>
  176           <source>9</source>
  177           <target>9</target>
  178         </configuration>
  179       </plugin>
  180       <plugin>
  181         <groupId>org.apache.maven.plugins</groupId>
  182         <artifactId>maven-shade-plugin</artifactId>
  183         <version>2.2</version>
  184         <executions>
  185           <execution>
  186             <phase>package</phase>
  187             <goals>
  188               <goal>shade</goal>
  189             </goals>
  190             <configuration>
  191               <minimizeJar>false</minimizeJar>
  192               <finalName>${uberjar.name}</finalName>
  193               <transformers>
  194                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  195                   <mainClass>org.openjdk.jmh.Main</mainClass>
  196                   <manifestEntries>
  197                     <Multi-Release>true</Multi-Release>
  198                   </manifestEntries>
  199                 </transformer>
  200               </transformers>
  201               <filters>
  202                 <filter>
  203                   <!--
  204                     Shading signed JARs will fail without this.
  205                     http://stackoverflow.com/questions/999489/invalid-signature-file-when-attempting-to-run-a-jar
  206                   -->
  207                   <artifact>*:*</artifact>
  208                   <excludes>
  209                     <exclude>META-INF/*.SF</exclude>
  210                     <exclude>META-INF/*.DSA</exclude>
  211                     <exclude>META-INF/*.RSA</exclude>
  212                   </excludes>
  213                 </filter>
  214               </filters>
  215             </configuration>
  216           </execution>
  217         </executions>
  218       </plugin>
  219 
  220       <!-- Include the standard NOTICE and LICENSE -->
  221       <plugin>
  222         <groupId>org.apache.maven.plugins</groupId>
  223         <artifactId>maven-remote-resources-plugin</artifactId>
  224         <executions>
  225           <execution>
  226             <goals>
  227               <goal>process</goal>
  228             </goals>
  229             <configuration>
  230               <skip>false</skip>
  231             </configuration>
  232           </execution>
  233         </executions>
  234       </plugin>
  235       <plugin>
  236         <groupId>org.apache.felix</groupId>
  237         <artifactId>maven-bundle-plugin</artifactId>
  238         <configuration>
  239           <instructions>
  240             <Export-Package>org.apache.logging.log4j.perf.jmh*</Export-Package>
  241           </instructions>
  242         </configuration>
  243       </plugin>
  244       <plugin>
  245         <groupId>org.apache.maven.plugins</groupId>
  246         <artifactId>maven-deploy-plugin</artifactId>
  247         <version>${deploy.plugin.version}</version>
  248         <configuration>
  249           <skip>true</skip>
  250         </configuration>
  251       </plugin>
  252     </plugins>
  253   </build>
  254 </project>