ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
liamfallon | 9aa62b7 | 2020-03-25 12:09:54 +0000 | [diff] [blame] | 4 | Modifications Copyright (C) 2019-2020 Nordix Foundation. |
Ram Krishna Verma | 8d22852 | 2020-02-05 16:31:01 -0500 | [diff] [blame] | 5 | Modifications Copyright (C) 2020 Bell Canada. |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 6 | ================================================================================ |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | |
| 19 | SPDX-License-Identifier: Apache-2.0 |
| 20 | ============LICENSE_END========================================================= |
| 21 | --> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | <parent> |
| 26 | <groupId>org.onap.policy.apex-pdp.client</groupId> |
Ram Krishna Verma | 8d22852 | 2020-02-05 16:31:01 -0500 | [diff] [blame] | 27 | <artifactId>apex-client</artifactId> |
a.sreekumar | f1f9a30 | 2020-03-25 23:01:06 +0000 | [diff] [blame] | 28 | <version>2.3.1-SNAPSHOT</version> |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 29 | </parent> |
| 30 | |
Ram Krishna Verma | 8d22852 | 2020-02-05 16:31:01 -0500 | [diff] [blame] | 31 | <artifactId>apex-client-editor</artifactId> |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 32 | <name>${project.artifactId}</name> |
| 33 | <description>Web client for editing Apex policies</description> |
| 34 | |
| 35 | <dependencies> |
| 36 | <dependency> |
liamfallon | efdaa0d | 2018-08-03 16:12:01 +0100 | [diff] [blame] | 37 | <groupId>org.onap.policy.common</groupId> |
liamfallon | d7eda87 | 2019-11-04 18:07:20 +0000 | [diff] [blame] | 38 | <artifactId>policy-endpoints</artifactId> |
liamfallon | 9aa62b7 | 2020-03-25 12:09:54 +0000 | [diff] [blame] | 39 | <exclusions> |
| 40 | <exclusion> |
| 41 | <groupId>org.onap.aaf.authz</groupId> |
| 42 | <artifactId>aaf-cadi-aaf</artifactId> |
| 43 | </exclusion> |
| 44 | <exclusion> |
| 45 | <groupId>com.att.nsa</groupId> |
| 46 | <artifactId>cambriaClient</artifactId> |
| 47 | </exclusion> |
| 48 | <exclusion> |
| 49 | <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> |
| 50 | <artifactId>dmaapClient</artifactId> |
| 51 | </exclusion> |
| 52 | </exclusions> |
liamfallon | d7eda87 | 2019-11-04 18:07:20 +0000 | [diff] [blame] | 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.onap.policy.common</groupId> |
liamfallon | efdaa0d | 2018-08-03 16:12:01 +0100 | [diff] [blame] | 56 | <artifactId>utils</artifactId> |
liamfallon | 9aa62b7 | 2020-03-25 12:09:54 +0000 | [diff] [blame] | 57 | <exclusions> |
| 58 | <exclusion> |
| 59 | <groupId>com.worldturner.medeia</groupId> |
| 60 | <artifactId>medeia-validator-gson</artifactId> |
| 61 | </exclusion> |
| 62 | </exclusions> |
liamfallon | efdaa0d | 2018-08-03 16:12:01 +0100 | [diff] [blame] | 63 | </dependency> |
| 64 | <dependency> |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 65 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
| 66 | <artifactId>model-api</artifactId> |
| 67 | <version>${project.version}</version> |
| 68 | </dependency> |
| 69 | <dependency> |
| 70 | <groupId>org.onap.policy.apex-pdp.core</groupId> |
| 71 | <artifactId>core-infrastructure</artifactId> |
| 72 | <version>${project.version}</version> |
| 73 | </dependency> |
| 74 | <dependency> |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 75 | <groupId>org.glassfish.jersey.containers</groupId> |
| 76 | <artifactId>jersey-container-grizzly2-http</artifactId> |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 77 | </dependency> |
| 78 | <dependency> |
| 79 | <groupId>org.glassfish.jersey.media</groupId> |
| 80 | <artifactId>jersey-media-moxy</artifactId> |
liamfallon | 9aa62b7 | 2020-03-25 12:09:54 +0000 | [diff] [blame] | 81 | <exclusions> |
| 82 | <exclusion> |
| 83 | <groupId>org.eclipse.persistence</groupId> |
| 84 | <artifactId>org.eclipse.persistence.moxy</artifactId> |
| 85 | </exclusion> |
| 86 | </exclusions> |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 87 | </dependency> |
| 88 | <dependency> |
liamfallon | d7eda87 | 2019-11-04 18:07:20 +0000 | [diff] [blame] | 89 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 90 | <artifactId>jersey-test-framework-provider-grizzly2</artifactId> |
| 91 | <scope>test</scope> |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 92 | </dependency> |
| 93 | <dependency> |
| 94 | <groupId>commons-cli</groupId> |
| 95 | <artifactId>commons-cli</artifactId> |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 96 | </dependency> |
| 97 | <dependency> |
| 98 | <groupId>junit</groupId> |
| 99 | <artifactId>junit</artifactId> |
| 100 | <scope>test</scope> |
| 101 | </dependency> |
| 102 | <dependency> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 103 | <groupId>org.onap.policy.apex-pdp.client</groupId> |
Ram Krishna Verma | 8d22852 | 2020-02-05 16:31:01 -0500 | [diff] [blame] | 104 | <artifactId>apex-client-common</artifactId> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 105 | <version>${project.version}</version> |
| 106 | <classifier>resources</classifier> |
| 107 | <type>zip</type> |
| 108 | <scope>provided</scope> |
| 109 | </dependency> |
| 110 | |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 111 | </dependencies> |
| 112 | |
| 113 | <build> |
| 114 | <defaultGoal>install</defaultGoal> |
| 115 | <outputDirectory>${project.build.directory}/classes</outputDirectory> |
| 116 | <plugins> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 117 | |
| 118 | <!-- https://blog.sonatype.com/2008/04/how-to-share-resources-across-projects-in-maven/ --> |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 119 | <plugin> |
| 120 | <groupId>org.apache.maven.plugins</groupId> |
| 121 | <artifactId>maven-dependency-plugin</artifactId> |
| 122 | <executions> |
| 123 | <execution> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 124 | <id>unpack-shared-resources</id> |
liamfallon | 3249761 | 2018-11-10 00:39:12 +0000 | [diff] [blame] | 125 | <goals> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 126 | <goal>unpack-dependencies</goal> |
liamfallon | 3249761 | 2018-11-10 00:39:12 +0000 | [diff] [blame] | 127 | </goals> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 128 | <phase>generate-resources</phase> |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 129 | <configuration> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 130 | <outputDirectory>${project.build.directory}/classes/webapp</outputDirectory> |
| 131 | <!--use as much as needed to be specific...also scope,type,classifier etc--> |
Ram Krishna Verma | 8d22852 | 2020-02-05 16:31:01 -0500 | [diff] [blame] | 132 | <includeArtifacIds>apex-client-common</includeArtifacIds> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 133 | <includeGroupIds>org.onap.policy.apex-pdp.client</includeGroupIds> |
| 134 | <excludeTransitive>true</excludeTransitive> |
| 135 | <excludeTransitive>true</excludeTransitive> |
| 136 | <excludeTypes>jar</excludeTypes> |
| 137 | <includeTypes>zip</includeTypes> |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 138 | </configuration> |
| 139 | </execution> |
| 140 | </executions> |
| 141 | </plugin> |
huaxing | 649740c | 2020-04-07 11:57:57 +0800 | [diff] [blame] | 142 | <!-- Editor's css overrides common css --> |
| 143 | <plugin> |
| 144 | <groupId>org.apache.maven.plugins</groupId> |
| 145 | <artifactId>maven-resources-plugin</artifactId> |
| 146 | <configuration> |
| 147 | <overwrite>true</overwrite> |
| 148 | </configuration> |
| 149 | </plugin> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 150 | <plugin> |
| 151 | <groupId>org.apache.maven.plugins</groupId> |
| 152 | <artifactId>maven-assembly-plugin</artifactId> |
| 153 | <executions> |
| 154 | <execution> |
| 155 | <id>make shared resources</id> |
| 156 | <goals> |
| 157 | <goal>single</goal> |
| 158 | </goals> |
| 159 | <phase>package</phase> |
| 160 | <configuration> |
| 161 | <descriptors> |
| 162 | <descriptor>src/main/assembly/resources.xml</descriptor> |
| 163 | </descriptors> |
| 164 | </configuration> |
| 165 | </execution> |
| 166 | </executions> |
| 167 | </plugin> |
ramverma | 08b595c | 2018-07-13 12:32:32 +0100 | [diff] [blame] | 168 | </plugins> |
| 169 | </build> |
Dinh Danh Le | ba22977 | 2018-08-22 18:02:01 +0100 | [diff] [blame] | 170 | |
| 171 | <profiles> |
| 172 | <profile> |
| 173 | <id>apexSite</id> |
| 174 | <activation> |
| 175 | <property> |
| 176 | <name>apexSite</name> |
| 177 | </property> |
| 178 | </activation> |
| 179 | <distributionManagement> |
| 180 | <site> |
| 181 | <id>${project.artifactId}-site</id> |
| 182 | <url>${apex.adsite.prefix}/modules/${project.parent.artifactId}/${project.artifactId}/</url> |
| 183 | </site> |
| 184 | </distributionManagement> |
| 185 | </profile> |
| 186 | </profiles> |
liamfallon | 4171256 | 2019-11-01 11:47:21 +0000 | [diff] [blame] | 187 | </project> |