blob: 77ad2f614c11151ede43bf65726c6ed9c87bd18a [file] [log] [blame]
ramvermac6d74e62018-07-11 14:21:13 +01001<!--
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-->
ramvermaea736d02018-11-29 13:47:30 +000020<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">
ramvermac6d74e62018-07-11 14:21:13 +010022 <modelVersion>4.0.0</modelVersion>
23 <parent>
24 <groupId>org.onap.policy.apex-pdp.client</groupId>
25 <artifactId>client</artifactId>
Jim Hahna9a3a5d2019-05-30 13:04:05 -040026 <version>2.2.0-SNAPSHOT</version>
ramvermac6d74e62018-07-11 14:21:13 +010027 </parent>
Dinh Danh Leba229772018-08-22 18:02:01 +010028
ramvermac6d74e62018-07-11 14:21:13 +010029 <artifactId>client-common</artifactId>
ramvermaea736d02018-11-29 13:47:30 +000030 <packaging>pom</packaging>
ramvermac6d74e62018-07-11 14:21:13 +010031 <name>${project.artifactId}</name>
Dinh Danh Leba229772018-08-22 18:02:01 +010032
ramvermaea736d02018-11-29 13:47:30 +000033 <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 Leba229772018-08-22 18:02:01 +010060 <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>
ramvermac6d74e62018-07-11 14:21:13 +010076</project>