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