Added Export-Packages for propper bundle startup in osgi container
[yangtools.git] / yang / yang-data-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>yang</artifactId>
15         <version>0.6.2-SNAPSHOT</version>
16     </parent>
17
18     <modelVersion>4.0.0</modelVersion>
19     <artifactId>yang-data-impl</artifactId>
20     <name>${project.artifactId}</name>
21     <description>${project.artifactId}</description>
22
23     <properties>
24         <groovy.version>2.1.6</groovy.version>
25     </properties>
26
27     <build>
28         <plugins>
29             <plugin>
30                 <groupId>org.apache.maven.plugins</groupId>
31                 <artifactId>maven-surefire-plugin</artifactId>
32                 <version>${maven.surefire.version}</version>
33                 <configuration>
34                     <argLine>-Dlog4j.configuration=log4j-test.xml
35                         -Xmx1500m</argLine>
36                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
37                 </configuration>
38             </plugin>
39             <plugin>
40                 <groupId>org.apache.felix</groupId>
41                 <artifactId>maven-bundle-plugin</artifactId>
42                 <version>${bundle.plugin.version}</version>
43                 <extensions>true</extensions>
44                 <configuration>
45                     <instructions>
46                         <Export-Package>
47                             org.opendaylight.yangtools.yang.data.impl.*
48                         </Export-Package>
49                     </instructions>
50                 </configuration>
51             </plugin>
52         </plugins>
53     </build>
54
55     <dependencies>
56         <dependency>
57             <groupId>${project.groupId}</groupId>
58             <artifactId>yang-common</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>${project.groupId}</groupId>
62             <artifactId>yang-data-api</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>${project.groupId}</groupId>
66             <artifactId>yang-binding</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>${project.groupId}</groupId>
70             <artifactId>yang-parser-impl</artifactId>
71             <exclusions>
72                 <exclusion>
73                     <groupId>org.slf4j</groupId>
74                     <artifactId>slf4j-simple</artifactId>
75                 </exclusion>
76             </exclusions>
77         </dependency>
78         <dependency>
79             <groupId>com.google.guava</groupId>
80             <artifactId>guava</artifactId>
81         </dependency>
82         <dependency>
83             <groupId>junit</groupId>
84             <artifactId>junit</artifactId>
85             <scope>test</scope>
86         </dependency>
87         <dependency>
88             <groupId>org.slf4j</groupId>
89             <artifactId>slf4j-log4j12</artifactId>
90             <version>${slf4j.version}</version>
91             <scope>test</scope>
92         </dependency>
93         <dependency>
94             <groupId>org.codehaus.groovy</groupId>
95             <artifactId>groovy</artifactId>
96             <version>${groovy.version}</version>
97             <scope>test</scope>
98         </dependency>
99         <dependency>
100             <groupId>org.codehaus.groovy</groupId>
101             <artifactId>groovy-xml</artifactId>
102             <version>${groovy.version}</version>
103             <scope>test</scope>
104         </dependency>
105         <dependency>
106             <groupId>xmlunit</groupId>
107             <artifactId>xmlunit</artifactId>
108             <version>1.4</version>
109             <scope>test</scope>
110         </dependency>
111       <dependency>
112         <groupId>commons-lang</groupId>
113         <artifactId>commons-lang</artifactId>
114         <version>2.6</version>
115       </dependency>
116     </dependencies>
117 </project>