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.openecomp.appc</groupId>
8 <version>1.2.0-SNAPSHOT</version>
10 <artifactId>appc-artifact-handler-model</artifactId>
11 <packaging>bundle</packaging>
17 <groupId>org.apache.felix</groupId>
18 <artifactId>maven-bundle-plugin</artifactId>
19 <extensions>true</extensions>
22 <Import-Package>*</Import-Package>
27 <groupId>org.opendaylight.yangtools</groupId>
28 <artifactId>yang-maven-plugin</artifactId>
29 <version>${odl.yangtools.version}</version>
32 <groupId>org.opendaylight.mdsal</groupId>
33 <artifactId>maven-sal-api-gen-plugin</artifactId>
34 <!-- <version>${odl.yangtools.version}</version> -->
35 <version>${odl.sal.api.gen.plugin.version}</version>
42 <goal>generate-sources</goal>
45 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
48 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
49 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
52 <inspectDependencies>true</inspectDependencies>
58 <groupId>org.codehaus.mojo</groupId>
59 <artifactId>exec-maven-plugin</artifactId>
60 <version>1.2.1</version>
64 <executable>python</executable>
66 <argument>scripts/python/yang2props.py</argument>
67 <argument>src/main/yang/artifact-handler.yang</argument>
68 <argument>target/artifact-handler.properties</argument>
72 <phase>generate-resources</phase>
80 <groupId>org.codehaus.mojo</groupId>
81 <artifactId>build-helper-maven-plugin</artifactId>
84 <id>attach-artifacts</id>
86 <goal>attach-artifact</goal>
88 <phase>package</phase>
92 <file>${project.build.directory}/artifact-handler.properties</file>
93 <type>properties</type>
94 <classifier>artifact-handler</classifier>
104 <!--This plugin's configuration is used to store Eclipse m2e settings
105 only. It has no influence on the Maven build itself. -->
107 <groupId>org.eclipse.m2e</groupId>
108 <artifactId>lifecycle-mapping</artifactId>
109 <version>1.0.0</version>
111 <lifecycleMappingMetadata>
114 <pluginExecutionFilter>
127 </pluginExecutionFilter>
133 </lifecycleMappingMetadata>
141 <groupId>org.opendaylight.mdsal</groupId>
142 <artifactId>yang-binding</artifactId>
145 <groupId>org.opendaylight.yangtools</groupId>
146 <artifactId>yang-common</artifactId>
149 <groupId>org.opendaylight.mdsal.model</groupId>
150 <artifactId>ietf-inet-types</artifactId>
151 <version>${odl.ietf-inet-types.version}</version>
154 <groupId>org.opendaylight.mdsal.model</groupId>
155 <artifactId>ietf-yang-types</artifactId>
156 <version>${odl.ietf-yang-types.version}</version>