4585f6a8480c58c8a65456cc25df6c4c4b2fade7
[netconf.git] / netconf / shaded-exificient / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4   ~
5   ~ This program and the accompanying materials are made available under the
6   ~ terms of the Eclipse Public License v1.0 which accompanies this distribution,
7   ~ and is available at http://www.eclipse.org/legal/epl-v10.html
8   -->
9 <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">
10     <modelVersion>4.0.0</modelVersion>
11
12     <parent>
13         <groupId>org.opendaylight.odlparent</groupId>
14         <artifactId>bundle-parent</artifactId>
15         <version>4.0.2</version>
16         <relativePath/>
17     </parent>
18
19     <groupId>org.opendaylight.netconf</groupId>
20     <artifactId>shaded-exificient</artifactId>
21     <packaging>bundle</packaging>
22     <version>1.6.2-SNAPSHOT</version>
23     <name>${project.artifactId}</name>
24
25     <dependencies>
26         <dependency>
27             <groupId>org.opendaylight.netconf</groupId>
28             <artifactId>shaded-exificient-jar</artifactId>
29             <version>1.6.2-SNAPSHOT</version>
30             <scope>provided</scope>
31         </dependency>
32     </dependencies>
33
34     <build>
35         <plugins>
36             <plugin>
37                 <groupId>org.apache.maven.plugins</groupId>
38                 <artifactId>maven-dependency-plugin</artifactId>
39                 <executions>
40                     <execution>
41                         <id>unpack</id>
42                         <phase>compile</phase>
43                         <goals>
44                             <goal>unpack</goal>
45                         </goals>
46                         <configuration>
47                             <artifactItems>
48                                 <artifactItem>
49                                     <groupId>org.opendaylight.netconf</groupId>
50                                     <artifactId>shaded-exificient-jar</artifactId>
51                                     <version>${project.version}</version>
52                                 </artifactItem>
53                             </artifactItems>
54                             <overWriteReleases>false</overWriteReleases>
55                             <overWriteSnapshots>true</overWriteSnapshots>
56                             <outputDirectory>${project.build.directory}/classes</outputDirectory>
57                         </configuration>
58                     </execution>
59                 </executions>
60             </plugin>
61             <plugin>
62                 <groupId>org.codehaus.mojo</groupId>
63                 <artifactId>build-helper-maven-plugin</artifactId>
64                 <executions>
65                     <execution>
66                         <phase>generate-sources</phase>
67                         <goals>
68                             <goal>add-source</goal>
69                         </goals>
70                         <configuration>
71                             <sources>
72                                 <source>${project.build.directory}/generated-sources</source>
73                             </sources>
74                         </configuration>
75                     </execution>
76                 </executions>
77             </plugin>
78             <plugin>
79                 <groupId>org.apache.felix</groupId>
80                 <artifactId>maven-bundle-plugin</artifactId>
81                 <extensions>true</extensions>
82                 <configuration>
83                     <instructions>
84                         <Import-Package>
85                             sun.io;resolution:=optional,
86                             *
87                         </Import-Package>
88                         <Export-Package>
89                             org.opendaylight.netconf.shaded.*
90                         </Export-Package>
91                     </instructions>
92                 </configuration>
93             </plugin>
94         </plugins>
95     </build>
96 </project>