Added OSGi metadata to yangtools artifacts.
[yangtools.git] / yang / yang-model-util / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
4     <parent>
5         <groupId>org.opendaylight.yangtools</groupId>
6         <artifactId>yang</artifactId>
7         <version>0.5.7-SNAPSHOT</version>
8     </parent>
9
10     <modelVersion>4.0.0</modelVersion>
11     <artifactId>yang-model-util</artifactId>
12     <name>${project.artifactId}</name>
13     <packaging>bundle</packaging>
14     <description>${project.artifactId}</description>
15
16     <dependencies>
17         <dependency>
18             <groupId>${project.groupId}</groupId>
19             <artifactId>yang-model-api</artifactId>
20         </dependency>
21         <dependency>
22             <groupId>org.eclipse.xtend</groupId>
23             <artifactId>org.eclipse.xtend.lib</artifactId>
24             <version>2.4.2</version>
25         </dependency>
26         <dependency>
27             <groupId>junit</groupId>
28             <artifactId>junit</artifactId>
29         </dependency>
30     </dependencies>
31
32     <build>
33         <plugins>
34             <plugin>
35                 <groupId>org.apache.felix</groupId>
36                 <artifactId>maven-bundle-plugin</artifactId>
37                 <version>${maven.bundle.version}</version>
38                 <extensions>true</extensions>
39                 <configuration>
40                     <instructions>
41                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
42                         <Export-Package>
43                             org.opendaylight.yangtools.yang.model.util
44                         </Export-Package>
45                     </instructions>
46                 </configuration>
47             </plugin>
48             <plugin>
49                 <groupId>org.eclipse.xtend</groupId>
50                 <artifactId>xtend-maven-plugin</artifactId>
51                 <version>2.4.2</version>
52                 <executions>
53                     <execution>
54                         <goals>
55                             <goal>compile</goal>
56                         </goals>
57                         <configuration>
58                             <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
59                         </configuration>
60                     </execution>
61                 </executions>
62             </plugin>
63             <plugin>
64                 <artifactId>maven-clean-plugin</artifactId>
65                 <version>2.4.1</version>
66                 <configuration>
67                     <filesets>
68                         <fileset>
69                             <directory>${basedir}/src/main/xtend-gen</directory>
70                             <includes>
71                                 <include>**</include>
72                             </includes>
73                         </fileset>
74                     </filesets>
75                 </configuration>
76             </plugin>
77         </plugins>
78     </build>
79
80 </project>