Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ECOMP Policy Engine - Common Modules |
| 5 | ================================================================================ |
| 6 | Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 7 | ================================================================================ |
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | you may not use this file except in compliance with the License. |
| 10 | You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | ============LICENSE_END========================================================= |
| 20 | --> |
| 21 | |
| 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 23 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 24 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 25 | |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | |
| 28 | <groupId>org.openecomp.policy.common</groupId> |
| 29 | <artifactId>site-manager</artifactId> |
| 30 | <packaging>jar</packaging> |
| 31 | |
| 32 | <parent> |
| 33 | <groupId>org.openecomp.policy.common</groupId> |
| 34 | <artifactId>common-modules</artifactId> |
| 35 | <version>1.0.0-SNAPSHOT</version> |
| 36 | </parent> |
| 37 | |
| 38 | <name>site-manager</name> |
| 39 | |
| 40 | <properties> |
| 41 | <maven.compiler.source>1.7</maven.compiler.source> |
| 42 | <maven.compiler.target>1.7</maven.compiler.target> |
| 43 | </properties> |
| 44 | |
| 45 | <build> |
| 46 | <plugins> |
| 47 | <plugin> |
| 48 | <artifactId>maven-resources-plugin</artifactId> |
| 49 | <version>2.6</version> |
| 50 | <executions> |
| 51 | <execution> |
| 52 | <id>copy-resources</id> |
| 53 | <goals> |
| 54 | <goal>copy-resources</goal> |
| 55 | </goals> |
| 56 | <phase>validate</phase> |
| 57 | <configuration> |
| 58 | <outputDirectory>target/files</outputDirectory> |
| 59 | <resources> |
| 60 | <resource> |
| 61 | <directory>src/main/files</directory> |
| 62 | <filtering>true</filtering> |
| 63 | </resource> |
| 64 | </resources> |
| 65 | </configuration> |
| 66 | </execution> |
| 67 | </executions> |
| 68 | </plugin> |
| 69 | <plugin> |
| 70 | <groupId>org.apache.maven.plugins</groupId> |
| 71 | <artifactId>maven-shade-plugin</artifactId> |
| 72 | <version>1.4</version> |
| 73 | <executions> |
| 74 | <execution> |
| 75 | <phase>package</phase> |
| 76 | <goals> |
| 77 | <goal>shade</goal> |
| 78 | </goals> |
| 79 | </execution> |
| 80 | </executions> |
| 81 | </plugin> |
| 82 | <plugin> |
| 83 | <artifactId>maven-assembly-plugin</artifactId> |
| 84 | <version>2.6</version> |
| 85 | <executions> |
| 86 | <execution> |
| 87 | <id>zipfile</id> |
| 88 | <goals> |
| 89 | <goal>single</goal> |
| 90 | </goals> |
| 91 | <phase>package</phase> |
| 92 | <configuration> |
| 93 | <attach>true</attach> |
| 94 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 95 | <descriptors> |
| 96 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 97 | </descriptors> |
| 98 | <appendAssemblyId>false</appendAssemblyId> |
| 99 | </configuration> |
| 100 | </execution> |
| 101 | </executions> |
| 102 | </plugin> |
| 103 | </plugins> |
| 104 | </build> |
| 105 | |
| 106 | <dependencies> |
| 107 | <dependency> |
| 108 | <groupId>org.eclipse.persistence</groupId> |
| 109 | <artifactId>javax.persistence</artifactId> |
| 110 | <version>2.1.0</version> |
| 111 | </dependency> |
| 112 | <dependency> |
| 113 | <groupId>org.openecomp.policy.common</groupId> |
| 114 | <artifactId>integrity-monitor</artifactId> |
| 115 | <version>1.0.0-SNAPSHOT</version> |
| 116 | </dependency> |
| 117 | <dependency> |
| 118 | <groupId>org.mariadb.jdbc</groupId> |
| 119 | <artifactId>mariadb-java-client</artifactId> |
| 120 | <version>1.2.3</version> |
| 121 | </dependency> |
| 122 | <dependency> |
| 123 | <groupId>commons-cli</groupId> |
| 124 | <artifactId>commons-cli</artifactId> |
| 125 | <version>1.3</version> |
| 126 | </dependency> |
| 127 | </dependencies> |
| 128 | </project> |