Skip to content

Commit 036bc47

Browse files
author
Nirmala Sundarappa
committed
Create pom_azure.xml
Adding pom.xml to Tomcat_servlet
1 parent b0ec53a commit 036bc47

File tree

1 file changed

+88
-0
lines changed

1 file changed

+88
-0
lines changed
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.oracle.testapp</groupId>
5+
<artifactId>UCPCloud</artifactId>
6+
<packaging>war</packaging>
7+
<version>1.0</version>
8+
<name>UCPCloud Maven Webapp</name>
9+
<url>http://maven.apache.org</url>
10+
11+
<properties>
12+
<maven.compiler.source>1.8</maven.compiler.source>
13+
<maven.compiler.target>1.8</maven.compiler.target>
14+
</properties>
15+
16+
17+
<dependencies>
18+
<dependency>
19+
<groupId>junit</groupId>
20+
<artifactId>junit</artifactId>
21+
<version>3.8.1</version>
22+
<scope>test</scope>
23+
</dependency>
24+
25+
<dependency>
26+
<groupId>javax.servlet</groupId>
27+
<artifactId>javax.servlet-api</artifactId>
28+
<version>3.1.0</version>
29+
<scope>provided</scope>
30+
</dependency>
31+
32+
<dependency>
33+
<groupId>com.oracle.jdbc</groupId>
34+
<artifactId>ojdbc8</artifactId>
35+
<version>18.3.0.0</version>
36+
</dependency>
37+
38+
<dependency>
39+
<groupId>com.oracle.jdbc</groupId>
40+
<artifactId>ucp</artifactId>
41+
<version>18.3.0.0</version>
42+
</dependency>
43+
44+
</dependencies>
45+
46+
47+
<build>
48+
49+
<plugins>
50+
<!--*************************************************-->
51+
<!-- Deploy to Tomcat in App Service Linux -->
52+
<!--*************************************************-->
53+
<plugin>
54+
<groupId>com.microsoft.azure</groupId>
55+
<artifactId>azure-webapp-maven-plugin</artifactId>
56+
<version>1.5.4</version>
57+
<configuration>
58+
<!-- Specify v2 schema -->
59+
<schemaVersion>v2</schemaVersion>
60+
<!-- App information -->
61+
<subscriptionId>b3b11699-7b1e-4981-925f-1a4b63e5b298</subscriptionId>
62+
<resourceGroup>JDBC-ATPD</resourceGroup>
63+
<appName>UCPCloud</appName>
64+
<region>eastus</region>
65+
66+
<!-- Java Runtime Stack for App on Linux-->
67+
<runtime>
68+
<os>linux</os>
69+
<javaVersion>jre8</javaVersion>
70+
<webContainer>tomcat 8.5</webContainer>
71+
</runtime>
72+
<deployment>
73+
<resources>
74+
<resource>
75+
<directory>${project.basedir}/target</directory>
76+
<includes>
77+
<include>*.war</include>
78+
</includes>
79+
</resource>
80+
</resources>
81+
</deployment>
82+
</configuration>
83+
</plugin>
84+
</plugins>
85+
</build>
86+
87+
88+
</project>

0 commit comments

Comments
 (0)