Bump versions to 6.0.2-SNAPSHOT
[mdsal.git] / binding / mdsal-binding-dom-codec / 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     <modelVersion>4.0.0</modelVersion>
12     <parent>
13         <groupId>org.opendaylight.mdsal</groupId>
14         <artifactId>dom-parent</artifactId>
15         <version>6.0.2-SNAPSHOT</version>
16         <relativePath>../../dom/dom-parent</relativePath>
17     </parent>
18
19     <artifactId>mdsal-binding-dom-codec</artifactId>
20     <packaging>bundle</packaging>
21
22     <properties>
23         <shade.source>net.bytebuddy</shade.source>
24         <shade.target>org.opendaylight.mdsal.binding.dom.codec.jar.bytebuddy</shade.target>
25     </properties>
26
27     <dependencies>
28         <dependency>
29             <!-- We are going to shade this -->
30             <groupId>net.bytebuddy</groupId>
31             <artifactId>byte-buddy</artifactId>
32             <version>1.10.10</version>
33         </dependency>
34         <dependency>
35             <groupId>org.opendaylight.yangtools</groupId>
36             <artifactId>yang-data-impl</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>org.opendaylight.mdsal</groupId>
40             <artifactId>mdsal-binding-generator-api</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>org.opendaylight.mdsal</groupId>
44             <artifactId>mdsal-binding-generator-util</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.mdsal</groupId>
48             <artifactId>mdsal-binding-dom-codec-spi</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>javax.inject</groupId>
52             <artifactId>javax.inject</artifactId>
53             <optional>true</optional>
54         </dependency>
55         <dependency>
56             <groupId>org.kohsuke.metainf-services</groupId>
57             <artifactId>metainf-services</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>org.osgi</groupId>
61             <artifactId>osgi.cmpn</artifactId>
62         </dependency>
63
64         <dependency>
65             <groupId>org.opendaylight.yangtools</groupId>
66             <artifactId>mockito-configuration</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>org.opendaylight.mdsal</groupId>
70             <artifactId>mdsal-binding-test-model</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>org.opendaylight.mdsal</groupId>
74             <artifactId>mdsal-binding-generator-impl</artifactId>
75             <scope>test</scope>
76         </dependency>
77         <dependency>
78             <groupId>org.opendaylight.mdsal</groupId>
79             <artifactId>mdsal-binding-runtime-spi</artifactId>
80             <scope>test</scope>
81         </dependency>
82     </dependencies>
83
84     <build>
85         <plugins>
86             <plugin>
87                 <groupId>org.apache.felix</groupId>
88                 <artifactId>maven-bundle-plugin</artifactId>
89                 <extensions>true</extensions>
90                 <configuration>
91                     <instructions>
92                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
93                         <Private-Package>
94                             org.opendaylight.mdsal.binding.dom.codec.impl,
95                             org.opendaylight.mdsal.binding.dom.codec.loader,
96                         </Private-Package>
97                         <Import-Package>
98                             !net.bytebuddy.*,
99                             *
100                         </Import-Package>
101                     </instructions>
102                 </configuration>
103             </plugin>
104
105             <!-- Shade Byte-Buddy -->
106             <plugin>
107                 <groupId>org.apache.maven.plugins</groupId>
108                 <artifactId>maven-shade-plugin</artifactId>
109                 <executions>
110                     <execution>
111                         <phase>package</phase>
112                         <goals>
113                             <goal>shade</goal>
114                         </goals>
115                         <configuration>
116                             <shadedArtifactAttached>false</shadedArtifactAttached>
117                             <createDependencyReducedPom>true</createDependencyReducedPom>
118                             <createSourcesJar>true</createSourcesJar>
119                             <shadeSourcesContent>true</shadeSourcesContent>
120                             <minimizeJar>true</minimizeJar>
121                             <relocations>
122                                 <relocation>
123                                     <pattern>${shade.source}</pattern>
124                                     <shadedPattern>${shade.target}</shadedPattern>
125                                 </relocation>
126                             </relocations>
127                             <artifactSet>
128                                 <includes>
129                                     <include>net.bytebuddy:byte-buddy</include>
130                                 </includes>
131                             </artifactSet>
132                             <filters>
133                                 <filter>
134                                     <artifact>net.bytebuddy:byte-buddy</artifact>
135                                     <excludes>
136                                         <exclude>META-INF/**</exclude>
137                                     </excludes>
138                                 </filter>
139                             </filters>
140                         </configuration>
141                     </execution>
142                 </executions>
143             </plugin>
144         </plugins>
145     </build>
146 </project>