Initial commit for Sequence Generator
[appc.git] / appc-sequence-generator / appc-sequence-generator-model / pom.xml
1 <?xml version="1.0"?>
2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4   <modelVersion>4.0.0</modelVersion>
5   <parent>
6     <groupId>org.openecomp.appc</groupId>
7     <artifactId>appc-sequence-generator</artifactId>
8     <version>1.1.0-SNAPSHOT</version>
9   </parent>
10   <artifactId>appc-sequence-generator-model</artifactId>
11   <name>appc-sequence-generator-model</name>
12   <packaging>bundle</packaging>
13   <build>
14     <plugins>
15       <plugin>
16         <groupId>org.apache.felix</groupId>
17         <artifactId>maven-bundle-plugin</artifactId>
18         <extensions>true</extensions>
19         <configuration>
20           <instructions>
21             <Import-Package>*</Import-Package>
22           </instructions>
23         </configuration>
24       </plugin>
25       <plugin>
26         <groupId>org.opendaylight.yangtools</groupId>
27         <artifactId>yang-maven-plugin</artifactId>
28         <dependencies>
29           <dependency>
30             <groupId>org.opendaylight.mdsal</groupId>
31             <artifactId>maven-sal-api-gen-plugin</artifactId>
32             <!--<version>${odl.yangtools.version}</version> -->
33             <version>${odl.sal.api.gen.plugin.version}</version>
34             <type>jar</type>
35           </dependency>
36         </dependencies>
37         <executions>
38           <execution>
39             <goals>
40               <goal>generate-sources</goal>
41             </goals>
42             <configuration>
43               <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
44               <codeGenerators>
45                 <generator>
46                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
47                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
48                 </generator>
49               </codeGenerators>
50               <inspectDependencies>true</inspectDependencies>
51             </configuration>
52           </execution>
53         </executions>
54       </plugin>
55     </plugins>
56   </build>
57
58   <dependencies>
59     <dependency>
60       <groupId>junit</groupId>
61       <artifactId>junit</artifactId>
62       <scope>test</scope>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.mdsal</groupId>
66       <artifactId>yang-binding</artifactId>
67     </dependency>
68     <dependency>
69       <groupId>org.opendaylight.yangtools</groupId>
70       <artifactId>yang-common</artifactId>
71     </dependency>
72     <dependency>
73       <groupId>org.opendaylight.mdsal.model</groupId>
74       <artifactId>ietf-inet-types</artifactId>
75       <version>${odl.ietf-inet-types.version}</version>
76     </dependency>
77     <dependency>
78       <groupId>org.opendaylight.mdsal.model</groupId>
79       <artifactId>ietf-yang-types</artifactId>
80       <version>${odl.ietf-yang-types.version}</version>
81     </dependency>
82   </dependencies>
83 </project>