ramverma | 3d02543 | 2018-07-19 18:45:16 +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 | --> |
liamfallon | 3aa7cbe | 2018-10-31 16:35:54 +0000 | [diff] [blame] | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | <parent> |
| 23 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 24 | <artifactId>examples</artifactId> |
jhh | 26696e5 | 2020-05-28 17:02:18 -0500 | [diff] [blame^] | 25 | <version>2.2.4-SNAPSHOT</version> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 26 | </parent> |
| 27 | |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 28 | <artifactId>examples-pcvs</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 29 | <name>${project.artifactId}</name> |
| 30 | <description>Example for Policy-controlled Video Streaming</description> |
| 31 | |
| 32 | <properties> |
| 33 | <apex-domains-pcvs-dir>${project.basedir}/src</apex-domains-pcvs-dir> |
| 34 | </properties> |
| 35 | |
| 36 | <dependencies> |
liamfallon | efdaa0d | 2018-08-03 16:12:01 +0100 | [diff] [blame] | 37 | <dependency> |
| 38 | <groupId>org.onap.policy.common</groupId> |
| 39 | <artifactId>utils</artifactId> |
| 40 | </dependency> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 41 | <dependency> |
| 42 | <groupId>org.onap.policy.apex-pdp.model</groupId> |
| 43 | <artifactId>policy-model</artifactId> |
| 44 | <version>${project.version}</version> |
| 45 | </dependency> |
| 46 | <dependency> |
| 47 | <groupId>org.onap.policy.apex-pdp.core</groupId> |
| 48 | <artifactId>core-engine</artifactId> |
| 49 | <version>${project.version}</version> |
| 50 | <scope>test</scope> |
| 51 | </dependency> |
| 52 | <dependency> |
| 53 | <groupId>org.onap.policy.apex-pdp.core</groupId> |
| 54 | <artifactId>core-infrastructure</artifactId> |
| 55 | <version>${project.version}</version> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.onap.policy.apex-pdp.auth</groupId> |
| 59 | <artifactId>cli-editor</artifactId> |
| 60 | <version>${project.version}</version> |
| 61 | </dependency> |
| 62 | <dependency> |
| 63 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 64 | <artifactId>plugins-executor-mvel</artifactId> |
| 65 | <version>${project.version}</version> |
| 66 | <scope>test</scope> |
| 67 | </dependency> |
| 68 | <dependency> |
| 69 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 70 | <artifactId>plugins-executor-javascript</artifactId> |
| 71 | <version>${project.version}</version> |
| 72 | <scope>test</scope> |
| 73 | </dependency> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 74 | </dependencies> |
| 75 | |
| 76 | <build> |
| 77 | <plugins> |
| 78 | <plugin> |
| 79 | <groupId>org.codehaus.mojo</groupId> |
| 80 | <artifactId>exec-maven-plugin</artifactId> |
| 81 | <executions> |
| 82 | <execution> |
| 83 | <id>generate-models</id> |
| 84 | <phase>process-classes</phase> |
| 85 | <goals> |
| 86 | <goal>exec</goal> |
| 87 | </goals> |
| 88 | <configuration> |
| 89 | <executable>java</executable> |
| 90 | <arguments> |
| 91 | <argument>-classpath</argument> |
| 92 | <classpath /> |
Dinh Danh Le | 825ae62 | 2018-08-29 17:21:52 +0100 | [diff] [blame] | 93 | <argument>org.onap.policy.apex.examples.pcvs.model.PcvsDomainModelSaver</argument> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 94 | <argument>${project.basedir}</argument> |
| 95 | <argument>${project.build.directory}/classes/examples/models/pcvs/</argument> |
| 96 | </arguments> |
| 97 | </configuration> |
| 98 | </execution> |
| 99 | </executions> |
| 100 | </plugin> |
| 101 | </plugins> |
| 102 | </build> |
Dinh Danh Le | 6a2abc8 | 2018-08-23 00:41:47 +0100 | [diff] [blame] | 103 | |
| 104 | <profiles> |
| 105 | <profile> |
| 106 | <id>apexSite</id> |
| 107 | <activation> |
| 108 | <property> |
| 109 | <name>apexSite</name> |
| 110 | </property> |
| 111 | </activation> |
| 112 | <properties> |
| 113 | <adsite-examples-pcvs-dir>${project.basedir}/src</adsite-examples-pcvs-dir> |
| 114 | </properties> |
| 115 | <distributionManagement> |
| 116 | <site> |
| 117 | <id>${project.artifactId}-site</id> |
| 118 | <url>${apex.adsite.prefix}/modules/${project.parent.artifactId}/${project.artifactId}/</url> |
| 119 | </site> |
| 120 | </distributionManagement> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 121 | <build> |
| 122 | <plugins> |
| 123 | <plugin> |
| 124 | <groupId>org.apache.maven.plugins</groupId> |
| 125 | <artifactId>maven-resources-plugin</artifactId> |
| 126 | <version>3.0.2</version> |
| 127 | <executions> |
| 128 | <execution> |
| 129 | <id>copy-domain-pcvs-images</id> |
| 130 | <phase>initialize</phase> |
| 131 | <goals> |
| 132 | <goal>copy-resources</goal> |
| 133 | </goals> |
| 134 | <configuration> |
| 135 | <resources> |
| 136 | <resource> |
| 137 | <directory>${project.basedir}/src/site-docs/adoc/resources/images</directory> |
| 138 | <includes> |
| 139 | <include>**/*.jpg</include> |
| 140 | <include>**/*.png</include> |
| 141 | </includes> |
| 142 | </resource> |
| 143 | </resources> |
| 144 | <outputDirectory>${project.build.directory}/site/images</outputDirectory> |
| 145 | </configuration> |
| 146 | </execution> |
| 147 | </executions> |
| 148 | </plugin> |
| 149 | </plugins> |
| 150 | </build> |
Dinh Danh Le | 6a2abc8 | 2018-08-23 00:41:47 +0100 | [diff] [blame] | 151 | </profile> |
| 152 | </profiles> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 153 | </project> |