Refactored OSGi metadata declaration.
[yangtools.git] / yang / yang-parser-api / 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-parser-api</artifactId>
12     <name>${project.artifactId}</name>
13     <description>YANG parser API</description>
14
15     <dependencies>
16         <dependency>
17             <groupId>${project.groupId}</groupId>
18             <artifactId>yang-model-api</artifactId>
19         </dependency>
20     </dependencies>
21
22     <build>
23         <plugins>
24             <plugin>
25                 <artifactId>maven-jar-plugin</artifactId>
26                 <configuration>
27                     <archive>
28                         <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
29                     </archive>
30                 </configuration>
31             </plugin>
32             <plugin>
33                 <groupId>org.apache.felix</groupId>
34                 <artifactId>maven-bundle-plugin</artifactId>
35                 <extensions>true</extensions>
36                 <configuration>
37                     <instructions>
38                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
39                         <Export-Package>
40                             org.opendaylight.yangtools.yang.parser.api
41                         </Export-Package>
42                     </instructions>
43                 </configuration>
44             </plugin>
45         </plugins>
46     </build>
47
48 </project>