"Fossies" - the Fresh Open Source Software Archive

Member "apache-log4j-2.12.4-src/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/pom.xml" (28 Dec 2021, 9923 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/xsd/maven-4.0.0.xsd">
   19   <modelVersion>4.0.0</modelVersion>
   20 
   21   <parent>
   22     <groupId>org.apache.logging.log4j.samples</groupId>
   23     <artifactId>log4j-spring-cloud-config-samples</artifactId>
   24     <version>2.12.4</version>
   25     <relativePath>..</relativePath>
   26   </parent>
   27 
   28   <artifactId>sample-app</artifactId>
   29   <packaging>jar</packaging>
   30 
   31   <name>Spring Cloud Config Sample Application</name>
   32   <url>http://maven.apache.org</url>
   33   <properties>
   34     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   35     <maven.compiler.source>1.8</maven.compiler.source>
   36     <maven.compiler.target>1.8</maven.compiler.target>
   37     <!--<manifestfile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestfile>-->
   38   </properties>
   39 
   40   <dependencies>
   41     <dependency>
   42       <groupId>org.apache.logging.log4j</groupId>
   43       <artifactId>log4j-jcl</artifactId>
   44       <version>${project.version}</version>
   45     </dependency>
   46     <!-- Spring Boot dependencies -->
   47     <dependency>
   48       <groupId>org.springframework.boot</groupId>
   49       <artifactId>spring-boot-starter-web</artifactId>
   50     </dependency>
   51     <dependency>
   52       <groupId>org.springframework.boot</groupId>
   53       <artifactId>spring-boot-starter-actuator</artifactId>
   54     </dependency>
   55     <dependency>
   56       <groupId>com.fasterxml.jackson.datatype</groupId>
   57       <artifactId>jackson-datatype-jsr310</artifactId>
   58       <version>${jackson2Version}</version>
   59     </dependency>
   60     <!-- Spring Cloud dependencies -->
   61     <dependency>
   62       <groupId>org.springframework.cloud</groupId>
   63       <artifactId>spring-cloud-starter-bus-amqp</artifactId>
   64     </dependency>
   65     
   66     <!-- Spring Tests -->
   67     <dependency>
   68       <groupId>org.springframework.boot</groupId>
   69       <artifactId>spring-boot-starter-test</artifactId>
   70       <scope>test</scope>
   71     </dependency>
   72     <dependency>
   73       <groupId>org.springframework</groupId>
   74       <artifactId>spring-test</artifactId>
   75       <scope>test</scope>
   76     </dependency>
   77 
   78     <dependency>
   79       <groupId>org.springframework.boot</groupId>
   80       <artifactId>spring-boot-starter-tomcat</artifactId>
   81     </dependency>
   82 
   83     <!-- log dependencies -->
   84     <dependency>
   85       <groupId>org.springframework.boot</groupId>
   86       <artifactId>spring-boot-starter-log4j2</artifactId>
   87     </dependency>
   88     <dependency>
   89       <groupId>org.apache.logging.log4j</groupId>
   90       <artifactId>log4j-spring-cloud-config-client</artifactId>
   91       <version>${project.version}</version>
   92     </dependency>
   93 
   94     <dependency>
   95       <groupId>org.springframework.boot</groupId>
   96       <artifactId>spring-boot-starter</artifactId>
   97       <exclusions>
   98         <exclusion>
   99           <groupId>org.springframework.boot</groupId>
  100           <artifactId>spring-boot-starter-logging</artifactId>
  101         </exclusion>
  102       </exclusions>
  103     </dependency>
  104     <dependency>
  105       <groupId>org.apache.logging.log4j</groupId>
  106       <artifactId>log4j-docker</artifactId>
  107       <version>${project.version}</version>
  108     </dependency>
  109     <!-- Required for Async Loggers -->
  110     <dependency>
  111       <groupId>com.lmax</groupId>
  112       <artifactId>disruptor</artifactId>
  113       <optional>true</optional>
  114     </dependency>
  115     <!-- Required for Flume -->
  116     <dependency>
  117       <groupId>org.apache.logging.log4j</groupId>
  118       <artifactId>log4j-flume-ng</artifactId>
  119       <version>${project.version}</version>
  120     </dependency>
  121     <dependency>
  122       <groupId>org.apache.flume</groupId>
  123       <artifactId>flume-ng-sdk</artifactId>
  124       <version>1.9.0</version>
  125     </dependency>
  126     <!-- Required for Flume embedded -->
  127     <dependency>
  128       <groupId>org.apache.flume</groupId>
  129       <artifactId>flume-ng-embedded-agent</artifactId>
  130       <version>1.9.0</version>
  131     </dependency>
  132     <dependency>
  133       <groupId>org.apache.kafka</groupId>
  134       <artifactId>kafka-clients</artifactId>
  135       <version>2.2.0</version>
  136     </dependency>
  137     <dependency>
  138       <groupId>javax.servlet</groupId>
  139       <artifactId>javax.servlet-api</artifactId>
  140       <version>3.1.0</version>
  141     </dependency>
  142     <dependency>
  143       <groupId>org.apache.logging.log4j</groupId>
  144       <artifactId>log4j-api</artifactId>
  145       <classifier>tests</classifier>
  146       <version>${project.version}</version>
  147     </dependency>
  148   </dependencies>
  149 
  150   <build>
  151     <finalName>sampleapp</finalName>
  152     <plugins>
  153       <plugin>
  154         <groupId>org.apache.maven.plugins</groupId>
  155         <artifactId>maven-site-plugin</artifactId>
  156         <version>${site.plugin.version}</version>
  157         <configuration>
  158           <skip>true</skip>
  159           <skipDeploy>true</skipDeploy>
  160         </configuration>
  161       </plugin>
  162       <plugin>
  163         <groupId>org.apache.maven.plugins</groupId>
  164         <artifactId>maven-toolchains-plugin</artifactId>
  165         <version>1.1</version>
  166         <executions>
  167           <execution>
  168             <goals>
  169               <goal>toolchain</goal>
  170             </goals>
  171           </execution>
  172         </executions>
  173         <configuration>
  174           <toolchains>
  175             <jdk>
  176               <version>[8, )</version>
  177             </jdk>
  178           </toolchains>
  179         </configuration>
  180       </plugin>
  181       <plugin>
  182         <groupId>org.apache.maven.plugins</groupId>
  183         <artifactId>maven-compiler-plugin</artifactId>
  184         <executions>
  185           <execution>
  186             <id>default-compile</id>
  187             <phase>compile</phase>
  188             <goals>
  189               <goal>compile</goal>
  190             </goals>
  191           </execution>
  192           <execution>
  193             <id>default-test-compile</id>
  194             <phase>test-compile</phase>
  195             <goals>
  196               <goal>testCompile</goal>
  197             </goals>
  198           </execution>
  199         </executions>
  200         <configuration>
  201           <source>1.8</source>
  202           <target>1.8</target>
  203           <proc>none</proc>
  204         </configuration>
  205       </plugin>
  206       <plugin>
  207         <groupId>org.apache.maven.plugins</groupId>
  208         <artifactId>maven-surefire-plugin</artifactId>
  209         <version>2.18.1</version>
  210         <executions>
  211           <execution>
  212             <id>default-test</id>
  213             <goals>
  214               <goal>test</goal>
  215             </goals>
  216           </execution>
  217         </executions>
  218         <configuration>
  219           <includes>
  220             <include>**/Test*.java</include>
  221             <include>**/*Test.java</include>
  222             <include>**/IT*.java</include>
  223             <include>**/*IT.java</include>
  224           </includes>
  225           <excludes>
  226             <exclude>**/*FuncTest.java</exclude>
  227           </excludes>
  228           <forkCount>1</forkCount>
  229           <systemPropertyVariables>
  230             <environment>${environment}</environment>
  231             <site>${site}</site>
  232           </systemPropertyVariables>
  233         </configuration>
  234       </plugin>
  235       <plugin>
  236         <groupId>org.apache.maven.plugins</groupId>
  237         <artifactId>maven-jar-plugin</artifactId>
  238         <version>3.1.0</version>
  239         <executions>
  240           <execution>
  241             <id>default-jar</id>
  242             <goals>
  243               <goal>jar</goal>
  244             </goals>
  245             <configuration>
  246               <archive>
  247                 <manifestFile>${manifestfile}</manifestFile>
  248                 <manifestEntries>
  249                   <Specification-Title>${project.name}</Specification-Title>
  250                   <Specification-Version>${project.version}</Specification-Version>
  251                   <Specification-Vendor>${project.organization.name}</Specification-Vendor>
  252                   <Implementation-Title>${project.name}</Implementation-Title>
  253                   <Implementation-Version>${project.version}</Implementation-Version>
  254                   <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
  255                   <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
  256                   <X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
  257                   <X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
  258                   <Multi-Release>true</Multi-Release>
  259                 </manifestEntries>
  260               </archive>
  261             </configuration>
  262           </execution>
  263         </executions>
  264       </plugin>
  265       <plugin>
  266         <groupId>org.apache.maven.plugins</groupId>
  267         <artifactId>maven-deploy-plugin</artifactId>
  268         <version>${deploy.plugin.version}</version>
  269         <configuration>
  270           <skip>true</skip>
  271         </configuration>
  272       </plugin>
  273       <plugin>
  274         <groupId>org.springframework.boot</groupId>
  275         <artifactId>spring-boot-maven-plugin</artifactId>
  276         <version>${spring-boot.version}</version>
  277         <executions>
  278           <execution>
  279             <goals>
  280               <goal>repackage</goal>
  281             </goals>
  282           </execution>
  283         </executions>
  284       </plugin>
  285     </plugins>
  286   </build>
  287   <profiles>
  288 
  289   </profiles>
  290 </project>