Ravi Srinivasan
2019-06-04 9853abc4acb88880bfc525e365676b224c918fa9
commit | author | age
497620 1 <?xml version="1.0" encoding="UTF-8"?>
RA 2
3 <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">
4
5   <modelVersion>4.0.0</modelVersion>
6
7   <groupId>com.redhat.training</groupId>
8   <artifactId>camel-hello</artifactId>
9   <version>1.0</version>
10
11   <name>Red Hat Training :: Fabric8 :: Spring-Boot :: Camel</name>
12   <description>Spring Boot example running a Camel route with Fabric8</description>
13
14   <properties>
15     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16
17
18     <fabric8.version>2.3.6</fabric8.version>
19     <spring-boot.version>1.5.4.RELEASE</spring-boot.version>
20     <arquillian-cube.version>1.9.0</arquillian-cube.version>
21     <assertj.version>2.4.1</assertj.version>
22     <fabric8.maven.plugin.version>3.1.80.redhat-000019</fabric8.maven.plugin.version>
23     <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
24     <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
25
26     <hostname>rest.apps.lab.example.com</hostname>
27     <rest-port>9081</rest-port>
28
29   </properties>
30
31   <dependencyManagement>
32     <dependencies>
33       <dependency>
34         <groupId>io.fabric8</groupId>
35         <artifactId>fabric8-project-bom-camel-spring-boot</artifactId>
36         <version>${fabric8.version}</version>
37         <type>pom</type>
38         <scope>import</scope>
39       </dependency>
40
41       <dependency>
42         <groupId>org.arquillian.cube</groupId>
43         <artifactId>arquillian-cube-bom</artifactId>
44         <version>${arquillian-cube.version}</version>
45         <scope>import</scope>
46         <type>pom</type>
47       </dependency>
48       <dependency>
49         <groupId>org.assertj</groupId>
50         <artifactId>assertj-core</artifactId>
51         <version>${assertj.version}</version>
52       </dependency>
53     </dependencies>
54   </dependencyManagement>
55
56   <dependencies>
57
58     <dependency>
59       <groupId>org.springframework.boot</groupId>
60       <artifactId>spring-boot-starter-actuator</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>org.springframework.boot</groupId>
64       <artifactId>spring-boot-starter-web</artifactId>
65     </dependency>
66
67     <dependency>
68       <groupId>org.apache.camel</groupId>
69       <artifactId>camel-spring-boot-starter</artifactId>
70     </dependency>
71
72     <dependency>
73       <groupId>org.apache.camel</groupId>
74       <artifactId>camel-restlet</artifactId>
75     </dependency>
76
77     <dependency>
78       <groupId>junit</groupId>
79       <artifactId>junit</artifactId>
80       <scope>test</scope>
81     </dependency>
82     <dependency>
83       <groupId>org.jboss.arquillian.junit</groupId>
84       <artifactId>arquillian-junit-container</artifactId>
85       <scope>test</scope>
86     </dependency>
87     <dependency>
88       <groupId>org.arquillian.cube</groupId>
89       <artifactId>arquillian-cube-openshift</artifactId>
90       <scope>test</scope>
91     </dependency>
92     <dependency>
93       <groupId>io.fabric8</groupId>
94       <artifactId>kubernetes-assertions</artifactId>
95       <scope>test</scope>
96     </dependency>
97
98   </dependencies>
99
100   <build>
101     <defaultGoal>spring-boot:run</defaultGoal>
102
103     <plugins>
104       <plugin>
105         <artifactId>maven-compiler-plugin</artifactId>
106         <version>${maven-compiler-plugin.version}</version>
107         <configuration>
108           <source>1.8</source>
109           <target>1.8</target>
110         </configuration>
111       </plugin>
112       <plugin>
113         <groupId>org.apache.maven.plugins</groupId>
114         <artifactId>maven-surefire-plugin</artifactId>
115         <version>${maven-surefire-plugin.version}</version>
116         <inherited>true</inherited>
117         <configuration>
118           <argLine>-DenableImageStreamDetection=true</argLine>
119           <excludes>
120             <exclude>**/*KT.java</exclude>
121           </excludes>
122         </configuration>
123       </plugin>
124
125       <plugin>
126         <groupId>org.springframework.boot</groupId>
127         <artifactId>spring-boot-maven-plugin</artifactId>
128         <version>${spring-boot.version}</version>
129         <executions>
130           <execution>
131             <goals>
132               <goal>repackage</goal>
133             </goals>
134           </execution>
135         </executions>
136       </plugin>
137
138       <plugin>
139         <groupId>io.fabric8</groupId>
140         <artifactId>fabric8-maven-plugin</artifactId>
141         <version>${fabric8.maven.plugin.version}</version>
142         <executions>
143           <execution>
144             <goals>
145               <goal>resource</goal>
146               <goal>build</goal>
147             </goals>
148           </execution>
149         </executions>
150       </plugin>
151     </plugins>
152   </build>
153 </project>