Merge "Fix for bug #236 and bug #240 Have made changes in opendaylight-table-types...
[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     <properties>
18         <ganymed.version>build209</ganymed.version>
19     </properties>
20
21     <dependencies>
22         <dependency>
23             <groupId>org.osgi</groupId>
24             <artifactId>org.osgi.core</artifactId>
25             <version>5.0.0</version>
26         </dependency>
27         <dependency>
28             <groupId>ch.ethz.ganymed</groupId>
29             <artifactId>ganymed-ssh2</artifactId>
30             <version>261</version>
31         </dependency>
32     </dependencies>
33
34     <build>
35         <plugins>
36             <plugin>
37                 <groupId>org.apache.felix</groupId>
38                 <artifactId>maven-bundle-plugin</artifactId>
39                 <extensions>true</extensions>
40                 <configuration>
41                     <instructions>
42                         <Export-Package>ch.ethz.ssh2.*</Export-Package>
43                         <Embed-Dependency>ganymed-ssh2;scope=compile</Embed-Dependency>
44                         <Embed-Transitive>true</Embed-Transitive>
45                     </instructions>
46                 </configuration>
47             </plugin>
48             <plugin>
49                 <groupId>org.apache.maven.plugins</groupId>
50                 <artifactId>maven-enforcer-plugin</artifactId>
51                 <version>${enforcer.version}</version>
52                 <executions>
53                     <execution>
54                         <id>enforce-no-snapshots</id>
55                         <goals>
56                             <goal>enforce</goal>
57                         </goals>
58                         <configuration>
59                             <rules>
60                                 <bannedDependencies>
61                                     <excludes>
62                                         <exclude>ch.ethz.ganymed:ganymed-ssh2:*</exclude>
63                                     </excludes>
64                                     <includes>
65                                         <include>ch.ethz.ganymed:ganymed-ssh2:[261]</include>
66                                     </includes>
67                                 </bannedDependencies>
68                             </rules>
69                         </configuration>
70                     </execution>
71                 </executions>
72             </plugin>
73         </plugins>
74     </build>
75 </project>
76
77