1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <modelVersion>4.0.0</modelVersion>
5 <artifactId>vnfapi</artifactId>
6 <groupId>org.onap.sdnc.northbound</groupId>
7 <version>1.2.0-SNAPSHOT</version>
9 <artifactId>vnfapi-model</artifactId>
10 <packaging>bundle</packaging>
16 <groupId>org.apache.felix</groupId>
17 <artifactId>maven-bundle-plugin</artifactId>
18 <extensions>true</extensions>
21 <Import-Package>*</Import-Package>
26 <groupId>org.opendaylight.yangtools</groupId>
27 <artifactId>yang-maven-plugin</artifactId>
28 <version>${odl.yangtools.yang.maven.plugin.version}</version>
31 <groupId>org.opendaylight.mdsal</groupId>
32 <artifactId>maven-sal-api-gen-plugin</artifactId>
33 <version>${odl.sal.api.gen.plugin.version}</version>
40 <goal>generate-sources</goal>
43 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
46 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
47 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
50 <inspectDependencies>true</inspectDependencies>
56 <groupId>org.codehaus.mojo</groupId>
57 <artifactId>exec-maven-plugin</artifactId>
58 <version>1.2.1</version>
62 <executable>python</executable>
64 <argument>scripts/python/yang2props.py</argument>
65 <argument>src/main/yang/VNF-API.yang</argument>
66 <argument>target/vnfapi.properties</argument>
70 <phase>generate-resources</phase>
78 <groupId>org.codehaus.mojo</groupId>
79 <artifactId>build-helper-maven-plugin</artifactId>
82 <id>attach-artifacts</id>
84 <goal>attach-artifact</goal>
86 <phase>package</phase>
90 <file>${project.build.directory}/vnfapi.properties</file>
91 <type>properties</type>
92 <classifier>vnfapi</classifier>
104 <groupId>org.opendaylight.mdsal</groupId>
105 <artifactId>yang-binding</artifactId>
106 <version>${odl.mdsal.yang.binding.version}</version>
109 <groupId>org.opendaylight.yangtools</groupId>
110 <artifactId>yang-common</artifactId>
111 <version>${odl.yangtools.version}</version>
114 <groupId>org.opendaylight.mdsal.model</groupId>
115 <artifactId>ietf-inet-types</artifactId>
116 <version>${odl.ietf-inet-types.version}</version>
119 <groupId>org.opendaylight.mdsal.model</groupId>
120 <artifactId>ietf-yang-types</artifactId>
121 <version>${odl.ietf-yang-types.version}</version>