Rohan_Kanojia

Untitled

Aug 8th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.21 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3.  ~ Copyright 2016 Red Hat, Inc.
  4.  ~
  5.  ~ Red Hat licenses this file to you under the Apache License, version
  6.  ~ 2.0 (the "License"); you may not use this file except in compliance
  7.  ~ with the License.  You may obtain a copy of the License at
  8.  ~
  9.  ~     http://www.apache.org/licenses/LICENSE-2.0
  10.  ~
  11.  ~ Unless required by applicable law or agreed to in writing, software
  12.  ~ distributed under the License is distributed on an "AS IS" BASIS,
  13.  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  14.  ~ implied.  See the License for the specific language governing
  15.  ~ permissions and limitations under the License.
  16.  -->
  17. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  18.         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  19.  
  20.     <modelVersion>4.0.0</modelVersion>
  21.  
  22.     <artifactId>fabric8-maven-sample-spring-boot</artifactId>
  23.     <groupId>io.fabric8</groupId>
  24.     <version>3.5-SNAPSHOT</version>
  25.     <packaging>jar</packaging>
  26.  
  27.     <parent>
  28.         <groupId>org.springframework.boot</groupId>
  29.         <artifactId>spring-boot-starter-parent</artifactId>
  30.         <version>1.4.1.RELEASE</version>
  31.     </parent>
  32.  
  33.     <name>Fabric8 Maven :: Sample :: Spring Boot Web</name>
  34.     <description>Minimal Example with Spring Boot</description>
  35.  
  36.     <distributionManagement>
  37.         <snapshotRepository>
  38.             <id>sonatype-nexus-snapshots</id>
  39.             <name>Sonatype Nexus Snapshots</name>
  40.             <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  41.         </snapshotRepository>
  42.         <repository>
  43.             <id>sonatype-nexus-staging</id>
  44.             <name>Nexus Release Repository</name>
  45.             <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  46.         </repository>
  47.     </distributionManagement>
  48.  
  49.     <dependencies>
  50.  
  51.         <!-- Boot generator  -->
  52.         <dependency>
  53.             <groupId>org.springframework.boot</groupId>
  54.             <artifactId>spring-boot-starter-web</artifactId>
  55.         </dependency>
  56.  
  57.         <dependency>
  58.             <groupId>org.springframework.boot</groupId>
  59.             <artifactId>spring-boot-starter-actuator</artifactId>
  60.         </dependency>
  61.  
  62.         <dependency>
  63.             <groupId>org.jolokia</groupId>
  64.             <artifactId>jolokia-core</artifactId>
  65.         </dependency>
  66.  
  67.     </dependencies>
  68.  
  69.     <build>
  70.         <plugins>
  71.  
  72.             <plugin>
  73.                 <groupId>org.springframework.boot</groupId>
  74.                 <artifactId>spring-boot-maven-plugin</artifactId>
  75.             </plugin>
  76.  
  77.             <plugin>
  78.                 <groupId>io.fabric8</groupId>
  79.                 <artifactId>fabric8-maven-plugin</artifactId>
  80.                 <version>3.5-SNAPSHOT</version>
  81.  
  82.                 <configuration>
  83.  
  84.                     <resources>
  85.                         <labels>
  86.                             <all>
  87.                                 <testProject>spring-boot-sample</testProject>
  88.                             </all>
  89.                         </labels>
  90.                     </resources>
  91.  
  92.                     <generator>
  93.                         <includes>
  94.                             <include>spring-boot</include>
  95.                         </includes>
  96.                         <config>
  97.                             <spring-boot>
  98.                                 <color>always</color>
  99.                             </spring-boot>
  100.                         </config>
  101.                     </generator>
  102.                     <enricher>
  103.                         <includes>
  104.                         <include>spring-boot-health-check</include>
  105.                         </includes>
  106.                     </enricher>
  107.                 </configuration>
  108.  
  109.                 <executions>
  110.                     <execution>
  111.                         <goals>
  112.                             <goal>resource</goal>
  113.                             <goal>build</goal>
  114.                             <goal>helm</goal>
  115.                         </goals>
  116.                     </execution>
  117.                 </executions>
  118.             </plugin>
  119.  
  120.         </plugins>
  121.     </build>
  122.  
  123. </project>
Add Comment
Please, Sign In to add comment