Merge "Fix for Bug 586."
[yangtools.git] / code-generator / binding-generator-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12     <parent>
13         <groupId>org.opendaylight.yangtools</groupId>
14         <artifactId>binding-generator</artifactId>
15         <version>0.6.2-SNAPSHOT</version>
16     </parent>
17
18     <modelVersion>4.0.0</modelVersion>
19     <artifactId>binding-generator-impl</artifactId>
20
21     <dependencies>
22         <dependency>
23             <groupId>org.javassist</groupId>
24             <artifactId>javassist</artifactId>
25         </dependency>
26         <dependency>
27             <groupId>org.opendaylight.yangtools</groupId>
28             <artifactId>binding-generator-util</artifactId>
29         </dependency>
30         <dependency>
31             <groupId>org.opendaylight.yangtools</groupId>
32             <artifactId>yang-parser-impl</artifactId>
33         </dependency>
34         <dependency>
35             <groupId>org.opendaylight.yangtools</groupId>
36             <artifactId>yang-data-impl</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>org.opendaylight.yangtools</groupId>
40             <artifactId>binding-generator-api</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>org.opendaylight.yangtools</groupId>
44             <artifactId>binding-generator-spi</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.yangtools</groupId>
48             <artifactId>binding-type-provider</artifactId>
49             <version>${project.version}</version>
50         </dependency>
51         <dependency>
52             <groupId>junit</groupId>
53             <artifactId>junit</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>org.apache.commons</groupId>
57             <artifactId>commons-lang3</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>com.google.guava</groupId>
61             <artifactId>guava</artifactId>
62         </dependency>
63         <dependency>
64             <groupId>org.eclipse.xtend</groupId>
65             <artifactId>org.eclipse.xtend.lib</artifactId>
66         </dependency>
67     </dependencies>
68
69     <build>
70         <plugins>
71             <plugin>
72                 <artifactId>maven-jar-plugin</artifactId>
73             </plugin>
74             <plugin>
75                 <groupId>org.apache.felix</groupId>
76                 <artifactId>maven-bundle-plugin</artifactId>
77                 <extensions>true</extensions>
78                 <configuration>
79                     <instructions>
80                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
81                         <Export-Package>
82                             org.opendaylight.yangtools.sal.binding.generator.impl.*,
83                             org.opendaylight.yangtools.sal.binding.generator.util.*
84                         </Export-Package>
85                     </instructions>
86                 </configuration>
87             </plugin>
88             <plugin>
89                 <groupId>org.eclipse.xtend</groupId>
90                 <artifactId>xtend-maven-plugin</artifactId>
91                 <executions>
92                     <execution>
93                         <goals>
94                             <goal>compile</goal>
95                         </goals>
96                         <configuration>
97                             <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
98                         </configuration>
99                     </execution>
100                 </executions>
101             </plugin>
102             <plugin>
103                 <artifactId>maven-clean-plugin</artifactId>
104                 <configuration>
105                     <filesets>
106                         <fileset>
107                             <directory>${basedir}/src/main/xtend-gen</directory>
108                             <includes>
109                                 <include>**</include>
110                             </includes>
111                         </fileset>
112                     </filesets>
113                 </configuration>
114             </plugin>
115         </plugins>
116     </build>
117
118 </project>