Activate Maven Sites
[lispflowmapping.git] / mappingservice / 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>config-parent</artifactId>
8     <version>0.5.0-SNAPSHOT</version>
9     <relativePath/>
10   </parent>
11
12   <groupId>org.opendaylight.lispflowmapping</groupId>
13   <artifactId>mappingservice-parent</artifactId>
14   <version>1.4.0-SNAPSHOT</version>
15   <packaging>pom</packaging>
16   <name>Mapping Service Parent POM</name>
17
18   <modules>
19     <module>lisp-proto</module>
20     <module>api</module>
21     <module>inmemorydb</module>
22     <module>implementation</module>
23     <module>southbound</module>
24     <module>neutron</module>
25     <module>shell</module>
26   </modules>
27
28   <dependencyManagement>
29     <dependencies>
30       <dependency>
31         <groupId>org.opendaylight.mdsal</groupId>
32         <artifactId>mdsal-artifacts</artifactId>
33         <version>2.1.0-SNAPSHOT</version>
34         <type>pom</type>
35         <scope>import</scope>
36       </dependency>
37       <dependency>
38         <groupId>org.opendaylight.mdsal.model</groupId>
39         <artifactId>mdsal-model-artifacts</artifactId>
40         <version>0.9.0-SNAPSHOT</version>
41         <type>pom</type>
42         <scope>import</scope>
43       </dependency>
44       <dependency>
45         <groupId>${project.groupId}</groupId>
46         <artifactId>lispflowmapping-artifacts</artifactId>
47         <version>${project.version}</version>
48         <type>pom</type>
49         <scope>import</scope>
50       </dependency>
51       <dependency>
52         <groupId>${project.groupId}</groupId>
53         <artifactId>common.unittest.tools</artifactId>
54         <version>${project.version}</version>
55       </dependency>
56       <dependency>
57         <groupId>junit-addons</groupId>
58         <artifactId>junit-addons</artifactId>
59         <version>1.4</version>
60         <scope>test</scope>
61       </dependency>
62       <!--
63       <dependency>
64         <groupId>org.jmock</groupId>
65         <artifactId>jmock</artifactId>
66         <version>2.6.0</version>
67         <scope>test</scope>
68       </dependency>
69       -->
70       <dependency>
71         <groupId>org.opendaylight.neutron</groupId>
72         <artifactId>neutron-spi</artifactId>
73         <version>0.7.0-SNAPSHOT</version>
74       </dependency>
75     </dependencies>
76   </dependencyManagement>
77
78   <build>
79     <pluginManagement>
80       <plugins>
81         <plugin>
82           <!-- Temporarily override the odlparent checkstyle configuration.
83                We want to enforce some simple rules and add more as we clean up code -->
84           <artifactId>maven-checkstyle-plugin</artifactId>
85           <configuration>
86             <configLocation>checkstyle/java_rules.xml</configLocation>
87             <includeTestSourceDirectory>true</includeTestSourceDirectory>
88             <excludes>org/opendaylight/yang/gen/**,**/config/yang/**</excludes>
89             <failsOnError>true</failsOnError>
90             <consoleOutput>true</consoleOutput>
91           </configuration>
92           <dependencies>
93             <dependency>
94               <groupId>org.opendaylight.lispflowmapping</groupId>
95               <artifactId>common.build.tools</artifactId>
96               <version>${project.version}</version>
97             </dependency>
98           </dependencies>
99           <executions>
100             <execution>
101               <goals>
102                 <goal>check</goal>
103               </goals>
104               <phase>process-sources</phase>
105             </execution>
106           </executions>
107         </plugin>
108       </plugins>
109     </pluginManagement>
110   </build>
111
112   <!--
113       Maven Site Configuration
114
115       The following configuration is necessary for maven-site-plugin to
116       correctly identify the correct deployment path for OpenDaylight Maven
117       sites.
118   -->
119   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
120
121   <distributionManagement>
122     <site>
123       <id>opendaylight-site</id>
124       <url>${nexus.site.url}/${project.artifactId}/</url>
125     </site>
126   </distributionManagement>
127
128 </project>