Modify config-api exceptions, bump config and netconf to 0.2.5-SNAPSHOT.
[controller.git] / opendaylight / config / config-persister-directory-xml-adapter / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3     <modelVersion>4.0.0</modelVersion>
4     <parent>
5         <artifactId>config-subsystem</artifactId>
6         <groupId>org.opendaylight.controller</groupId>
7         <version>0.2.5-SNAPSHOT</version>
8         <relativePath>..</relativePath>
9     </parent>
10     <artifactId>config-persister-directory-xml-adapter</artifactId>
11     <name>${project.artifactId}</name>
12     <packaging>bundle</packaging>
13
14     <dependencies>
15         <!-- compile dependencies -->
16         <dependency>
17             <groupId>${project.groupId}</groupId>
18             <artifactId>config-persister-api</artifactId>
19         </dependency>
20         <dependency>
21             <groupId>org.apache.commons</groupId>
22             <artifactId>commons-lang3</artifactId>
23         </dependency>
24         <dependency>
25             <groupId>com.google.guava</groupId>
26             <artifactId>guava</artifactId>
27         </dependency>
28         <dependency>
29             <groupId>org.opendaylight.controller</groupId>
30             <artifactId>config-persister-file-xml-adapter</artifactId>
31         </dependency>
32
33         <dependency>
34             <groupId>org.eclipse.persistence</groupId>
35             <artifactId>org.eclipse.persistence.moxy</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>org.eclipse.persistence</groupId>
39             <artifactId>org.eclipse.persistence.core</artifactId>
40         </dependency>
41
42         <dependency>
43             <groupId>org.slf4j</groupId>
44             <artifactId>slf4j-api</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>commons-io</groupId>
48             <artifactId>commons-io</artifactId>
49         </dependency>
50
51         <!-- test dependencies -->
52         <dependency>
53             <groupId>org.opendaylight.yangtools</groupId>
54             <artifactId>mockito-configuration</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>${project.groupId}</groupId>
58             <artifactId>config-persister-api</artifactId>
59             <type>test-jar</type>
60             <scope>test</scope>
61         </dependency>
62
63     </dependencies>
64
65     <build>
66         <plugins>
67             <!-- workaround for creating version according to OSGi specification (major.minor.micro[.qualifier] -->
68             <plugin>
69                 <groupId>org.codehaus.groovy.maven</groupId>
70                 <artifactId>gmaven-plugin</artifactId>
71                 <executions>
72                     <execution>
73                         <phase>generate-sources</phase>
74                         <goals>
75                             <goal>execute</goal>
76                         </goals>
77                         <configuration>
78                             <source>
79                                 System.setProperty("osgiversion", "${project.version}".replace('-', '.'))
80                             </source>
81                         </configuration>
82                     </execution>
83                 </executions>
84             </plugin>
85             <plugin>
86                 <groupId>org.apache.felix</groupId>
87                 <artifactId>maven-bundle-plugin</artifactId>
88                 <configuration>
89                     <instructions>
90                         <Fragment-Host>${project.groupId}.config-persister-impl;bundle-version=${osgiversion}
91                         </Fragment-Host>
92                         <Provide-Capability>org.opendaylight.controller.config.persister.storage.adapter
93                         </Provide-Capability>
94                         <Import-Package>
95                             com.google.common.base,
96                             com.google.common.io,
97                             org.apache.commons.io,
98                             org.opendaylight.controller.config.persist.api,
99                             org.slf4j,
100                             com.google.common.collect,
101                             javax.xml.bind,
102                             javax.xml.bind.annotation,
103                             javax.xml.transform,
104                             javax.xml.transform.stream,
105                             org.eclipse.persistence.jaxb,
106                             org.apache.commons.lang3
107                         </Import-Package>
108                         <Private-Package>
109                             org.opendaylight.controller.config.persist.storage.file.xml.model,
110                         </Private-Package>
111                     </instructions>
112                 </configuration>
113             </plugin>
114         </plugins>
115     </build>
116
117 </project>