184f703f80ec23f146268ea24e3c54dbc72b9988
[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.8-SNAPSHOT</version>
8     </parent>
9
10     <modelVersion>4.0.0</modelVersion>
11     <artifactId>yang-model-util</artifactId>
12     <name>${project.artifactId}</name>
13     <description>${project.artifactId}</description>
14
15     <dependencies>
16         <dependency>
17             <groupId>${project.groupId}</groupId>
18             <artifactId>yang-model-api</artifactId>
19         </dependency>
20         <dependency>
21             <groupId>org.eclipse.xtend</groupId>
22             <artifactId>org.eclipse.xtend.lib</artifactId>
23             <version>2.4.2</version>
24         </dependency>
25         <dependency>
26             <groupId>junit</groupId>
27             <artifactId>junit</artifactId>
28         </dependency>
29     </dependencies>
30
31     <build>
32         <plugins>
33             <plugin>
34                 <artifactId>maven-jar-plugin</artifactId>
35                 <configuration>
36                     <archive>
37                         <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
38                     </archive>
39                 </configuration>
40             </plugin>
41             <plugin>
42                 <groupId>org.apache.felix</groupId>
43                 <artifactId>maven-bundle-plugin</artifactId>
44                 <extensions>true</extensions>
45                 <configuration>
46                     <instructions>
47                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
48                         <Export-Package>
49                             org.opendaylight.yangtools.yang.model.util
50                         </Export-Package>
51                     </instructions>
52                 </configuration>
53             </plugin>
54             <plugin>
55                 <groupId>org.eclipse.xtend</groupId>
56                 <artifactId>xtend-maven-plugin</artifactId>
57                 <version>2.4.2</version>
58                 <executions>
59                     <execution>
60                         <goals>
61                             <goal>compile</goal>
62                         </goals>
63                         <configuration>
64                             <outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
65                         </configuration>
66                     </execution>
67                 </executions>
68             </plugin>
69             <plugin>
70                 <artifactId>maven-clean-plugin</artifactId>
71                 <version>2.4.1</version>
72                 <configuration>
73                     <filesets>
74                         <fileset>
75                             <directory>${basedir}/src/main/xtend-gen</directory>
76                             <includes>
77                                 <include>**</include>
78                             </includes>
79                         </fileset>
80                     </filesets>
81                 </configuration>
82             </plugin>
83         </plugins>
84     </build>
85
86 </project>