ONAP FTC job script to run when new patchset created (Updating a1pms snapshot version...
[nonrtric.git] / nonrt-ric-api / model / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4    Copyright (C) 2019 Nordix Foundation.
5   ================================================================================
6   Licensed under the Apache License, Version 2.0 (the "License");
7   you may not use this file except in compliance with the License.
8   You may obtain a copy of the License at
9
10        http://www.apache.org/licenses/LICENSE-2.0
11
12   Unless required by applicable law or agreed to in writing, software
13   distributed under the License is distributed on an "AS IS" BASIS,
14   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   See the License for the specific language governing permissions and
16   limitations under the License.
17
18   SPDX-License-Identifier: Apache-2.0
19   ============LICENSE_END=========================================================
20 -->
21 <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">
22     <modelVersion>4.0.0</modelVersion>
23
24         <repositories>
25                 <repository>
26                         <id>onap-releases</id>
27                         <name>onap-releases</name>
28                         <url>https://nexus.onap.org/content/repositories/releases/</url>
29                 </repository>
30         </repositories>
31
32     <parent>
33         <groupId>org.onap.ccsdk.parent</groupId>
34         <artifactId>binding-parent</artifactId>
35         <version>1.5.1</version>
36         <relativePath/>
37     </parent>
38
39     <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
40     <artifactId>nonrt-ric-api-model</artifactId>
41     <version>2.0.0-SNAPSHOT</version>
42     <packaging>bundle</packaging>
43
44     <name>sdnc-a1-northbound :: nonrt-ric-api :: ${project.artifactId}</name>
45
46     <dependencies>
47         <dependency>
48             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
49             <artifactId>rfc6991</artifactId>
50         </dependency>
51     </dependencies>
52
53     <build>
54         <plugins>
55             <plugin>
56                 <groupId>org.codehaus.mojo</groupId>
57                 <artifactId>exec-maven-plugin</artifactId>
58                 <version>1.2.1</version>
59                 <executions>
60                     <execution>
61                         <configuration>
62                             <executable>python3</executable>
63                             <arguments>
64                                 <argument>scripts/python/yang2props.py</argument>
65                                 <argument>src/main/yang/NONRT-RIC-API.yang</argument>
66                                 <argument>target/nonrt-ric-api.properties</argument>
67                             </arguments>
68                         </configuration>
69                         <id>generation</id>
70                         <phase>generate-resources</phase>
71                         <goals>
72                             <goal>exec</goal>
73                         </goals>
74                     </execution>
75                 </executions>
76             </plugin>
77             <plugin>
78                 <groupId>org.apache.maven.plugins</groupId>
79                 <artifactId>maven-javadoc-plugin</artifactId>
80                 <configuration>
81                     <source>8</source>
82                 </configuration>
83             </plugin>
84         </plugins>
85     </build>
86 </project>