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"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
6 <artifactId>appc-artifact-handler</artifactId>
7 <groupId>org.onap.appc</groupId>
8 <version>1.3.0-SNAPSHOT</version>
10 <artifactId>appc-artifact-handler-model</artifactId>
11 <name>APPC Artifact Handler - Model</name>
12 <packaging>bundle</packaging>
18 <groupId>org.apache.felix</groupId>
19 <artifactId>maven-bundle-plugin</artifactId>
20 <extensions>true</extensions>
23 <Import-Package>*</Import-Package>
28 <groupId>org.opendaylight.yangtools</groupId>
29 <artifactId>yang-maven-plugin</artifactId>
30 <version>${odl.yangtools.version}</version>
33 <groupId>org.opendaylight.mdsal</groupId>
34 <artifactId>maven-sal-api-gen-plugin</artifactId>
35 <!-- <version>${odl.yangtools.version}</version> -->
36 <version>${odl.sal.api.gen.plugin.version}</version>
43 <goal>generate-sources</goal>
46 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
49 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
50 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
53 <inspectDependencies>true</inspectDependencies>
59 <groupId>org.codehaus.mojo</groupId>
60 <artifactId>exec-maven-plugin</artifactId>
61 <version>1.2.1</version>
65 <executable>python</executable>
67 <argument>scripts/python/yang2props.py</argument>
68 <argument>src/main/yang/artifact-handler.yang</argument>
69 <argument>target/artifact-handler.properties</argument>
73 <phase>generate-resources</phase>
81 <groupId>org.codehaus.mojo</groupId>
82 <artifactId>build-helper-maven-plugin</artifactId>
85 <id>attach-artifacts</id>
87 <goal>attach-artifact</goal>
89 <phase>package</phase>
93 <file>${project.build.directory}/artifact-handler.properties</file>
94 <type>properties</type>
95 <classifier>artifact-handler</classifier>
105 <!--This plugin's configuration is used to store Eclipse m2e settings
106 only. It has no influence on the Maven build itself. -->
108 <groupId>org.eclipse.m2e</groupId>
109 <artifactId>lifecycle-mapping</artifactId>
110 <version>1.0.0</version>
112 <lifecycleMappingMetadata>
115 <pluginExecutionFilter>
128 </pluginExecutionFilter>
134 </lifecycleMappingMetadata>
142 <groupId>org.opendaylight.mdsal</groupId>
143 <artifactId>yang-binding</artifactId>
146 <groupId>org.opendaylight.yangtools</groupId>
147 <artifactId>yang-common</artifactId>
150 <groupId>org.opendaylight.mdsal.model</groupId>
151 <artifactId>ietf-inet-types</artifactId>
152 <version>${odl.ietf-inet-types.version}</version>
155 <groupId>org.opendaylight.mdsal.model</groupId>
156 <artifactId>ietf-yang-types</artifactId>
157 <version>${odl.ietf-yang-types.version}</version>