ramverma | c6d74e6 | 2018-07-11 14:21:13 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
| 4 | ================================================================================ |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | 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 implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | |
| 17 | SPDX-License-Identifier: Apache-2.0 |
| 18 | ============LICENSE_END========================================================= |
| 19 | --> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 21 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
ramverma | c6d74e6 | 2018-07-11 14:21:13 +0100 | [diff] [blame] | 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | <parent> |
| 24 | <groupId>org.onap.policy.apex-pdp.client</groupId> |
| 25 | <artifactId>client</artifactId> |
liamfallon | 3aa7cbe | 2018-10-31 16:35:54 +0000 | [diff] [blame] | 26 | <version>2.1.0-SNAPSHOT</version> |
ramverma | c6d74e6 | 2018-07-11 14:21:13 +0100 | [diff] [blame] | 27 | </parent> |
Dinh Danh Le | ba22977 | 2018-08-22 18:02:01 +0100 | [diff] [blame] | 28 | |
ramverma | c6d74e6 | 2018-07-11 14:21:13 +0100 | [diff] [blame] | 29 | <artifactId>client-common</artifactId> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 30 | <packaging>pom</packaging> |
ramverma | c6d74e6 | 2018-07-11 14:21:13 +0100 | [diff] [blame] | 31 | <name>${project.artifactId}</name> |
Dinh Danh Le | ba22977 | 2018-08-22 18:02:01 +0100 | [diff] [blame] | 32 | |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 33 | <build> |
| 34 | <plugins> |
| 35 | |
| 36 | <!-- https://blog.sonatype.com/2008/04/how-to-share-resources-across-projects-in-maven/ --> |
| 37 | <plugin> |
| 38 | <groupId>org.apache.maven.plugins</groupId> |
| 39 | <artifactId>maven-assembly-plugin</artifactId> |
| 40 | <executions> |
| 41 | <execution> |
| 42 | <id>make shared resources</id> |
| 43 | <goals> |
| 44 | <goal>single</goal> |
| 45 | </goals> |
| 46 | <phase>package</phase> |
| 47 | <configuration> |
| 48 | <descriptors> |
| 49 | <descriptor>src/main/assembly/resources.xml</descriptor> |
| 50 | </descriptors> |
| 51 | </configuration> |
| 52 | </execution> |
| 53 | </executions> |
| 54 | </plugin> |
| 55 | </plugins> |
| 56 | |
| 57 | |
| 58 | </build> |
| 59 | |
Dinh Danh Le | ba22977 | 2018-08-22 18:02:01 +0100 | [diff] [blame] | 60 | <profiles> |
| 61 | <profile> |
| 62 | <id>apexSite</id> |
| 63 | <activation> |
| 64 | <property> |
| 65 | <name>apexSite</name> |
| 66 | </property> |
| 67 | </activation> |
| 68 | <distributionManagement> |
| 69 | <site> |
| 70 | <id>${project.artifactId}-site</id> |
| 71 | <url>${apex.adsite.prefix}/modules/${project.parent.artifactId}/${project.artifactId}/</url> |
| 72 | </site> |
| 73 | </distributionManagement> |
| 74 | </profile> |
| 75 | </profiles> |
ramverma | c6d74e6 | 2018-07-11 14:21:13 +0100 | [diff] [blame] | 76 | </project> |