d78a76b882bb087c5668aeb7f5a5305e77c797ef
[lispflowmapping.git] / mappingservice / shell / 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.lispflowmapping</groupId>
7     <artifactId>mappingservice-parent</artifactId>
8     <version>1.5.0-SNAPSHOT</version>
9   </parent>
10
11   <artifactId>mappingservice.shell</artifactId>
12   <packaging>bundle</packaging>
13   <name>Mapping Service Karaf Shell Commands</name>
14
15   <dependencies>
16     <dependency>
17       <groupId>org.apache.karaf.shell</groupId>
18       <artifactId>org.apache.karaf.shell.console</artifactId>
19       <version>${karaf.version}</version>
20     </dependency>
21     <dependency>
22       <groupId>org.opendaylight.lispflowmapping</groupId>
23       <artifactId>mappingservice.api</artifactId>
24     </dependency>
25   </dependencies>
26
27   <build>
28     <pluginManagement>
29       <plugins>
30         <plugin>
31           <!-- Enforce odlparent checkstyle -->
32           <groupId>org.apache.maven.plugins</groupId>
33           <artifactId>maven-checkstyle-plugin</artifactId>
34           <configuration>
35             <includeTestSourceDirectory>true</includeTestSourceDirectory>
36             <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
37           </configuration>
38         </plugin>
39       </plugins>
40     </pluginManagement>
41     <plugins>
42       <plugin>
43         <groupId>org.apache.felix</groupId>
44         <artifactId>maven-bundle-plugin</artifactId>
45         <extensions>true</extensions>
46         <configuration>
47           <instructions>
48             <Import-Package>org.apache.karaf.shell.commands,
49               org.apache.karaf.shell.console,
50               org.opendaylight.lispflowmapping.interfaces.mappingservice</Import-Package>
51           </instructions>
52         </configuration>
53       </plugin>
54     </plugins>
55   </build>
56
57   <!--
58       Maven Site Configuration
59
60       The following configuration is necessary for maven-site-plugin to
61       correctly identify the correct deployment path for OpenDaylight Maven
62       sites.
63   -->
64   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
65
66   <distributionManagement>
67     <site>
68       <id>opendaylight-site</id>
69       <url>${nexus.site.url}/${project.artifactId}/</url>
70     </site>
71   </distributionManagement>
72
73 </project>