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>
6 <groupId>org.onap.sdnc.northbound</groupId>
7 <artifactId>generic-resource-api</artifactId>
8 <version>1.2.0-SNAPSHOT</version>
11 <artifactId>generic-resource-api.model</artifactId>
12 <packaging>bundle</packaging>
16 <groupId>org.opendaylight.mdsal</groupId>
17 <artifactId>yang-binding</artifactId>
18 <version>${odl.mdsal.yang.binding.version}</version>
21 <groupId>org.opendaylight.yangtools</groupId>
22 <artifactId>yang-common</artifactId>
23 <version>${odl.yangtools.version}</version>
26 <groupId>org.opendaylight.mdsal.model</groupId>
27 <artifactId>ietf-inet-types</artifactId>
28 <version>${odl.ietf-inet-types.version}</version>
31 <groupId>org.opendaylight.mdsal.model</groupId>
32 <artifactId>ietf-yang-types</artifactId>
33 <version>${odl.ietf-yang-types.version}</version>
41 <groupId>org.apache.felix</groupId>
42 <artifactId>maven-bundle-plugin</artifactId>
43 <extensions>true</extensions>
46 <Import-Package>*</Import-Package>
51 <groupId>org.opendaylight.yangtools</groupId>
52 <artifactId>yang-maven-plugin</artifactId>
55 <groupId>org.opendaylight.mdsal</groupId>
56 <artifactId>maven-sal-api-gen-plugin</artifactId>
57 <version>${odl.sal.api.gen.plugin.version}</version>
64 <goal>generate-sources</goal>
67 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
70 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
71 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
74 <inspectDependencies>true</inspectDependencies>
80 <groupId>org.codehaus.mojo</groupId>
81 <artifactId>exec-maven-plugin</artifactId>
82 <version>1.2.1</version>
86 <executable>python</executable>
88 <argument>scripts/python/yang2props.py</argument>
89 <argument>src/main/yang/GENERIC-RESOURCE-API.yang</argument>
90 <argument>target/generic-resource-api.properties</argument>
94 <phase>generate-resources</phase>
102 <groupId>org.codehaus.mojo</groupId>
103 <artifactId>build-helper-maven-plugin</artifactId>
106 <id>attach-artifacts</id>
108 <goal>attach-artifact</goal>
110 <phase>package</phase>
114 <file>${project.build.directory}/generic-resource-api.properties</file>
115 <type>properties</type>
116 <classifier>generic-resource-api</classifier>
127 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
129 <groupId>org.eclipse.m2e</groupId>
130 <artifactId>lifecycle-mapping</artifactId>
131 <version>1.0.0</version>
133 <lifecycleMappingMetadata>
136 <pluginExecutionFilter>
149 </pluginExecutionFilter>
155 </lifecycleMappingMetadata>