[VERSION] Roll back to snapshot
[sdnc/oam.git] / admportal / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
5         <parent>
6                 <groupId>org.openecomp.sdnc.oam</groupId>
7                 <artifactId>sdnc-oam</artifactId>
8                 <version>1.0.0-SNAPSHOT</version>
9         </parent>
10
11         <modelVersion>4.0.0</modelVersion>
12         <packaging>pom</packaging>
13         <groupId>org.openecomp.sdnc.oam</groupId>
14         <artifactId>admportal</artifactId>
15
16         <version>1.0.0-SNAPSHOT</version>
17
18         <name>Admin Portal</name>
19         <description>Admin Portal</description>
20
21         <properties>
22                 <application.name>admportal</application.name>
23                 <skip.SWM>true</skip.SWM>
24                 <adm.base>/opt/app/admportal</adm.base>
25                 <maven.build.timestamp.format>yyMMdd-HHmmss</maven.build.timestamp.format>
26                 <build.number>${maven.build.timestamp}</build.number>
27                 <SWM_VERSION>${project.version}-${build.number}</SWM_VERSION>
28         </properties>
29
30         <dependencies>
31                 <dependency>
32                         <groupId>org.openecomp.sdnc.core</groupId>
33                         <artifactId>sli-common</artifactId>
34                         <version>${sdnctl.sli.version}</version>
35                 </dependency>
36                 <dependency>
37                         <groupId>mysql</groupId>
38                         <artifactId>mysql-connector-java</artifactId>
39                         <version>5.1.31</version>
40                         <type>jar</type>
41                         <scope>compile</scope>
42                 </dependency>
43         </dependencies>
44
45         <build>
46                 <plugins>
47                         <plugin>
48                                 <artifactId>maven-assembly-plugin</artifactId>
49                                 <executions>
50                                         <execution>
51                                                 <id>create-zip</id>
52                                                 <goals>
53                                                         <goal>single</goal>
54                                                 </goals>
55                                                 <phase>package</phase>
56                                                 <configuration>
57                                                         <finalName>${application.name}.${project.version}</finalName>
58                                                         <attach>true</attach>
59                                                         <descriptors>
60                                                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
61                                                         </descriptors>
62                                                 </configuration>
63                                         </execution>
64                                 </executions>
65                         </plugin>
66                         <plugin>
67                                 <groupId>org.apache.maven.plugins</groupId>
68                                 <artifactId>maven-dependency-plugin</artifactId>
69                                 <executions>
70                                         <execution>
71                                                 <id>copy-dependencies</id>
72                                                 <goals>
73                                                         <goal>copy-dependencies</goal>
74                                                 </goals>
75                                                 <phase>prepare-package</phase>
76                                                 <configuration>
77                                                         <transitive>false</transitive>
78                                                         <outputDirectory>${project.build.directory}/lib</outputDirectory>
79                                                         <overWriteReleases>false</overWriteReleases>
80                                                         <overWriteSnapshots>true</overWriteSnapshots>
81                                                         <overWriteIfNewer>true</overWriteIfNewer>
82                                                         <useRepositoryLayout>false</useRepositoryLayout>
83                                                         <addParentPoms>false</addParentPoms>
84                                                         <copyPom>false</copyPom>
85                                                         <scope>provided</scope>
86                                                 </configuration>
87                                         </execution>
88                                 </executions>
89                         </plugin>
90                 </plugins>
91         </build>
92
93         <organization>
94                 <name>AT&amp;T</name>
95         </organization>
96 </project>
97