Merge "Backward compatibility for User management"
[controller.git] / third-party / ganymed / 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
5     <parent>
6         <groupId>org.opendaylight.controller</groupId>
7         <artifactId>commons.thirdparty</artifactId>
8         <version>1.1.2-SNAPSHOT</version>
9         <relativePath>../commons/thirdparty</relativePath>
10     </parent>
11
12     <groupId>org.opendaylight.controller.thirdparty</groupId>
13     <artifactId>ganymed</artifactId>
14     <version>1.1-SNAPSHOT</version>
15     <packaging>bundle</packaging>
16
17     <dependencies>
18         <dependency>
19             <groupId>org.osgi</groupId>
20             <artifactId>org.osgi.core</artifactId>
21             <version>5.0.0</version>
22         </dependency>
23         <dependency>
24             <groupId>ch.ethz.ganymed</groupId>
25             <artifactId>ganymed-ssh2</artifactId>
26             <version>261</version>
27         </dependency>
28     </dependencies>
29
30     <build>
31         <plugins>
32             <plugin>
33                 <groupId>org.apache.felix</groupId>
34                 <artifactId>maven-bundle-plugin</artifactId>
35                 <extensions>true</extensions>
36                 <configuration>
37                     <instructions>
38                         <Export-Package>ch.ethz.ssh2.*</Export-Package>
39                         <Embed-Dependency>ganymed-ssh2;scope=compile</Embed-Dependency>
40                         <Embed-Transitive>true</Embed-Transitive>
41                     </instructions>
42                 </configuration>
43             </plugin>
44             <plugin>
45                 <groupId>org.apache.maven.plugins</groupId>
46                 <artifactId>maven-enforcer-plugin</artifactId>
47                 <version>${enforcer.version}</version>
48                 <executions>
49                     <execution>
50                         <id>enforce-no-snapshots</id>
51                         <goals>
52                             <goal>enforce</goal>
53                         </goals>
54                         <configuration>
55                             <rules>
56                                 <bannedDependencies>
57                                     <excludes>
58                                         <exclude>ch.ethz.ganymed:ganymed-ssh2:*</exclude>
59                                     </excludes>
60                                     <includes>
61                                         <include>ch.ethz.ganymed:ganymed-ssh2:[261]</include>
62                                     </includes>
63                                 </bannedDependencies>
64                             </rules>
65                         </configuration>
66                     </execution>
67                 </executions>
68             </plugin>
69         </plugins>
70     </build>
71 </project>
72
73