"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-server/pom.xml" (28 Dec 2021, 10805 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   <groupId>org.apache.logging.log4j.samples</groupId>
   22   <artifactId>log4j-spring-cloud-config-sample-server</artifactId>
   23   <packaging>jar</packaging>
   24   <version>2.12.4</version>
   25 
   26   <name>Log4j Sample Configuration Service</name>
   27   <description>Sample Cloud Config Server</description>
   28 
   29   <parent>
   30     <groupId>org.springframework.boot</groupId>
   31     <artifactId>spring-boot-starter-parent</artifactId>
   32     <version>2.1.2.RELEASE</version>
   33     <relativePath /> <!-- lookup parent from repository -->
   34   </parent>
   35 
   36   <properties>
   37     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   38     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
   39     <java.version>1.8</java.version>
   40     <spring-cloud.version>Greenwich.SR1</spring-cloud.version>
   41     <deploy.plugin.version>2.8.2</deploy.plugin.version>
   42 
   43     <!-- paths -->
   44     <sonar.dependencyCheck.reportPath>${project.build.directory}/dependency-check-report.xml
   45     </sonar.dependencyCheck.reportPath>
   46 
   47     <!-- maven plugin versions -->
   48     <maven.checkstyle.version>3.0.0</maven.checkstyle.version>
   49     <maven.findbugs.version>3.0.5</maven.findbugs.version>
   50     <maven.google.code.findbugs.version>3.0.2</maven.google.code.findbugs.version>
   51     <maven.google.code.findbugs.findbugs.version>3.0.1</maven.google.code.findbugs.findbugs.version>
   52     <maven.jacoco.version>0.8.1</maven.jacoco.version>
   53     <maven.pmd.version>3.9.0</maven.pmd.version>
   54     <site.plugin.version>3.4</site.plugin.version>
   55     <!-- maven plugin config -->
   56     <pmd.failurePriority>2</pmd.failurePriority>
   57     <deploy.plugin.version>2.8.2</deploy.plugin.version>
   58     <rat.plugin.version>0.12</rat.plugin.version>
   59   </properties>
   60 
   61   <dependencyManagement>
   62     <dependencies>
   63       <dependency>
   64         <groupId>org.springframework.cloud</groupId>
   65         <artifactId>spring-cloud-dependencies</artifactId>
   66         <version>${spring-cloud.version}</version>
   67         <type>pom</type>
   68         <scope>import</scope>
   69       </dependency>
   70     </dependencies>
   71   </dependencyManagement>
   72 
   73   <dependencies>
   74     <!-- log dependencies -->
   75     <dependency>
   76       <groupId>org.springframework.boot</groupId>
   77       <artifactId>spring-boot-starter-log4j2</artifactId>
   78     </dependency>
   79     <dependency>
   80       <groupId>org.springframework.cloud</groupId>
   81       <artifactId>spring-cloud-starter-config</artifactId>
   82     </dependency>
   83     <dependency>
   84       <groupId>org.springframework.cloud</groupId>
   85       <artifactId>spring-cloud-config-server</artifactId>
   86     </dependency>
   87     <dependency>
   88       <groupId>org.springframework.cloud</groupId>
   89       <artifactId>spring-cloud-config-monitor</artifactId>
   90     </dependency>
   91     <dependency>
   92       <groupId>org.springframework.boot</groupId>
   93       <artifactId>spring-boot-starter-actuator</artifactId>
   94       <exclusions>
   95         <exclusion>
   96           <groupId>org.springframework.boot</groupId>
   97           <artifactId>spring-boot-starter-logging</artifactId>
   98         </exclusion>
   99       </exclusions>
  100     </dependency>
  101     <dependency>
  102       <groupId>org.springframework.cloud</groupId>
  103       <artifactId>spring-cloud-starter-bus-amqp</artifactId>
  104     </dependency>
  105     <dependency>
  106       <groupId>org.springframework.boot</groupId>
  107       <artifactId>spring-boot-starter-web</artifactId>
  108     </dependency>
  109     <dependency>
  110       <groupId>org.springframework.boot</groupId>
  111       <artifactId>spring-boot-starter-security</artifactId>
  112     </dependency>
  113     <dependency>
  114       <groupId>org.apache.logging.log4j</groupId>
  115       <artifactId>log4j-api</artifactId>
  116       <version>${project.version}</version>
  117     </dependency>
  118     <dependency>
  119       <groupId>org.apache.logging.log4j</groupId>
  120       <artifactId>log4j-core</artifactId>
  121       <version>${project.version}</version>
  122     </dependency>
  123     <dependency>
  124       <groupId>org.apache.logging.log4j</groupId>
  125       <artifactId>log4j-slf4j-impl</artifactId>
  126       <version>${project.version}</version>
  127     </dependency>
  128     <dependency>
  129       <groupId>org.springframework.boot</groupId>
  130       <artifactId>spring-boot-starter-test</artifactId>
  131       <scope>test</scope>
  132     </dependency>
  133   </dependencies>
  134 
  135 
  136   <build>
  137     <plugins>
  138       <plugin>
  139         <groupId>org.apache.maven.plugins</groupId>
  140         <artifactId>maven-doap-plugin</artifactId>
  141         <version>1.2</version>
  142         <configuration>
  143           <doapOptions>
  144             <programmingLanguage>Java</programmingLanguage>
  145             <category>library</category>
  146           </doapOptions>
  147           <asfExtOptions>
  148             <charter>
  149               The Apache Logging Services Project creates and maintains open-source software related to the logging of
  150               application behavior and released at no charge to the public.
  151             </charter>
  152             <pmc>https://logging.apache.org</pmc>
  153           </asfExtOptions>
  154           <skip>true</skip>
  155         </configuration>
  156         <executions>
  157           <execution>
  158             <id>site</id>
  159             <phase>site</phase>
  160             <goals>
  161               <goal>generate</goal>
  162             </goals>
  163           </execution>
  164         </executions>
  165       </plugin>
  166       <plugin>
  167         <groupId>org.apache.maven.plugins</groupId>
  168         <artifactId>maven-site-plugin</artifactId>
  169         <version>${site.plugin.version}</version>
  170         <configuration>
  171           <skip>true</skip>
  172           <skipDeploy>true</skipDeploy>
  173         </configuration>
  174       </plugin>
  175       <plugin>
  176         <groupId>org.springframework.boot</groupId>
  177         <artifactId>spring-boot-maven-plugin</artifactId>
  178       </plugin>
  179       <plugin>
  180         <artifactId>maven-resources-plugin</artifactId>
  181         <version>3.1.0</version>
  182         <executions>
  183           <execution>
  184             <id>copy-resources</id>
  185             <!-- here the phase you need -->
  186             <phase>validate</phase>
  187             <goals>
  188               <goal>copy-resources</goal>
  189             </goals>
  190             <configuration>
  191               <outputDirectory>${basedir}/target/config-repo</outputDirectory>
  192               <resources>
  193                 <resource>
  194                   <directory>src/main/config-repo</directory>
  195                   <filtering>true</filtering>
  196                 </resource>
  197               </resources>
  198             </configuration>
  199           </execution>
  200         </executions>
  201       </plugin>
  202 
  203       <plugin>
  204         <groupId>org.jacoco</groupId>
  205         <artifactId>jacoco-maven-plugin</artifactId>
  206         <version>${maven.jacoco.version}</version>
  207         <configuration>
  208           <excludes>
  209             <exclude>com/oracle/brm/**/*.class</exclude>
  210             <exclude>org/w3/**/*.class</exclude>
  211             <exclude>org/xmlsoap/**/*.class</exclude>
  212             <exclude>oracle/security/pki/*.class</exclude>
  213           </excludes>
  214         </configuration>
  215         <executions>
  216           <execution>
  217             <goals>
  218               <goal>prepare-agent</goal>
  219             </goals>
  220           </execution>
  221           <execution>
  222             <id>report</id>
  223             <phase>prepare-package</phase>
  224             <goals>
  225               <goal>report</goal>
  226             </goals>
  227           </execution>
  228         </executions>
  229       </plugin>
  230       <plugin>
  231         <groupId>org.apache.maven.plugins</groupId>
  232         <artifactId>maven-deploy-plugin</artifactId>
  233         <version>${deploy.plugin.version}</version>
  234         <configuration>
  235           <skip>true</skip>
  236         </configuration>
  237       </plugin>
  238       <!-- RAT report -->
  239       <plugin>
  240         <groupId>org.apache.rat</groupId>
  241         <artifactId>apache-rat-plugin</artifactId>
  242         <version>${rat.plugin.version}</version>
  243         <configuration>
  244           <excludes>
  245             <exclude>**/*.yaml</exclude>
  246             <exclude>**/readme.txt</exclude>
  247           </excludes>
  248         </configuration>
  249         <executions>
  250           <execution>
  251             <phase>verify</phase>
  252             <goals>
  253               <goal>check</goal>
  254             </goals>
  255           </execution>
  256         </executions>
  257       </plugin>
  258     </plugins>
  259   </build>
  260 
  261   <distributionManagement>
  262     <downloadUrl>https://logging.apache.org/log4j/2.x/download.html</downloadUrl>
  263     <!-- site is only included to make maven-site-plugin stop complaining -->
  264     <site>
  265       <id>www.example.com</id>
  266       <url>scp://www.example.com/www/docs/project/</url>
  267     </site>
  268   </distributionManagement>
  269 
  270   <repositories>
  271     <repository>
  272       <id>spring-snapshots</id>
  273       <name>Spring Snapshots</name>
  274       <url>https://repo.spring.io/snapshot</url>
  275       <snapshots>
  276         <enabled>true</enabled>
  277       </snapshots>
  278     </repository>
  279     <repository>
  280       <id>spring-milestones</id>
  281       <name>Spring Milestones</name>
  282       <url>https://repo.spring.io/libs-milestone</url>
  283       <snapshots>
  284         <enabled>false</enabled>
  285       </snapshots>
  286     </repository>
  287   </repositories>
  288   <profiles>
  289     <profile>
  290       <id>rat</id>
  291       <build>
  292         <plugins>
  293           <!-- RAT report -->
  294           <plugin>
  295             <groupId>org.apache.rat</groupId>
  296             <artifactId>apache-rat-plugin</artifactId>
  297             <version>${rat.plugin.version}</version>
  298             <configuration>
  299               <excludes>
  300                 <exclude>**/*.yaml</exclude>
  301                 <exclude>**/readme.txt</exclude>
  302               </excludes>
  303             </configuration>
  304             <executions>
  305               <execution>
  306                 <phase>verify</phase>
  307                 <goals>
  308                   <goal>check</goal>
  309                 </goals>
  310               </execution>
  311             </executions>
  312           </plugin>
  313         </plugins>
  314       </build>
  315     </profile>
  316   </profiles>
  317 
  318 
  319   <scm>
  320     <tag>log4j-2.12.4-rc1</tag>
  321   </scm>
  322 </project>