Merge changes Ic8cadf33,If59b1dd3
[controller.git] / opendaylight / md-sal / 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.opendaylight</artifactId>
8     <version>1.5.0-SNAPSHOT</version>
9     <relativePath>../commons/opendaylight</relativePath>
10   </parent>
11
12   <artifactId>sal-parent</artifactId>
13   <version>1.2.0-SNAPSHOT</version>
14   <packaging>pom</packaging>
15
16   <modules>
17     <module>mdsal-artifacts</module>
18
19     <!-- Common APIs & Implementation -->
20     <module>sal-common</module>
21     <module>sal-common-api</module>
22     <module>sal-common-impl</module>
23     <module>sal-common-util</module>
24
25     <!-- Binding Independent -->
26     <module>sal-dom-api</module>
27     <module>sal-dom-broker</module>
28     <module>sal-dom-spi</module>
29
30     <!-- Binding Aware -->
31     <module>sal-binding-api</module>
32     <module>sal-binding-config</module>
33     <module>sal-binding-broker</module>
34
35     <module>sal-binding-util</module>
36
37     <!-- Configuration File -->
38     <module>md-sal-config</module>
39
40     <!-- Samples -->
41     <module>samples</module>
42
43     <!-- Base Models -->
44     <module>model</module>
45     <module>sal-remote</module>
46     <module>sal-restconf-broker</module>
47
48     <!-- Connectors -->
49     <module>sal-connector-api</module>
50     <module>sal-rest-connector</module>
51     <module>sal-rest-connector-config</module>
52     <module>sal-netconf-connector</module>
53
54     <module>inventory-manager</module>
55     <module>statistics-manager</module>
56     <module>statistics-manager-config</module>
57     <module>topology-manager</module>
58     <module>forwardingrules-manager</module>
59     <module>topology-lldp-discovery</module>
60
61     <!-- Compability Packages -->
62     <module>compatibility</module>
63
64     <!-- Documentation -->
65     <module>sal-rest-docgen</module>
66     <module>sal-rest-docgen-maven</module>
67
68     <module>sal-akka-raft</module>
69
70     <!--InMemory DOM DataStore-->
71     <module>sal-inmemory-datastore</module>
72
73     <!--sal-protocolbuffer-encoding is now part of sal-clutering-commons-->
74     <module>sal-clustering-commons</module>
75
76     <!-- sal clustering configuration -->
77     <module>sal-clustering-config</module>
78
79     <!-- sal-distributed-datastore -->
80     <module>sal-distributed-datastore</module>
81
82     <!-- XSQL -->
83     <module>sal-dom-xsql</module>
84     <module>sal-karaf-xsql</module>
85     <module>sal-dom-xsql-config</module>
86
87     <!-- Yang Test Models for MD-SAL -->
88     <module>sal-test-model</module>
89
90     <!-- Clustering -->
91     <module>sal-remoterpc-connector</module>
92   </modules>
93
94   <build>
95     <pluginManagement>
96       <plugins>
97         <plugin>
98           <groupId>org.apache.felix</groupId>
99           <artifactId>maven-bundle-plugin</artifactId>
100           <version>${bundle.plugin.version}</version>
101           <extensions>true</extensions>
102           <!--executions> <execution> <id>bundle-manifest</id>
103                         <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution>
104                         </executions -->
105           <configuration>
106             <instructions>
107               <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
108             </instructions>
109             <manifestLocation>${project.basedir}/META-INF</manifestLocation>
110           </configuration>
111         </plugin>
112         <!--This plugin's configuration is used to store Eclipse
113                     m2e settings only. It has no influence on the Maven build itself. -->
114         <plugin>
115           <groupId>org.eclipse.m2e</groupId>
116           <artifactId>lifecycle-mapping</artifactId>
117           <version>${lifecycle.mapping.version}</version>
118           <configuration>
119             <lifecycleMappingMetadata>
120               <pluginExecutions>
121                 <pluginExecution>
122                   <pluginExecutionFilter>
123                     <groupId>net.alchim31.maven</groupId>
124                     <artifactId>scala-maven-plugin</artifactId>
125                     <versionRange>[0,)</versionRange>
126                     <goals>
127                       <goal>compile</goal>
128                       <goal>testCompile</goal>
129                     </goals>
130                   </pluginExecutionFilter>
131                   <action>
132                     <ignore/>
133                   </action>
134                 </pluginExecution>
135                 <pluginExecution>
136                   <pluginExecutionFilter>
137                     <groupId>org.jacoco</groupId>
138                     <artifactId>jacoco-maven-plugin</artifactId>
139                     <versionRange>[0,)</versionRange>
140                     <goals>
141                       <goal>prepare-agent</goal>
142                     </goals>
143                   </pluginExecutionFilter>
144                   <action>
145                     <ignore/>
146                   </action>
147                 </pluginExecution>
148                 <pluginExecution>
149                   <pluginExecutionFilter>
150                     <groupId>org.opendaylight.yangtools</groupId>
151                     <artifactId>yang-maven-plugin</artifactId>
152                     <versionRange>[0.5,)</versionRange>
153                     <goals>
154                       <goal>generate-sources</goal>
155                     </goals>
156                   </pluginExecutionFilter>
157                   <action>
158                     <execute></execute>
159                   </action>
160                 </pluginExecution>
161               </pluginExecutions>
162             </lifecycleMappingMetadata>
163           </configuration>
164         </plugin>
165         <plugin>
166           <groupId>org.jacoco</groupId>
167           <artifactId>jacoco-maven-plugin</artifactId>
168           <version>${jacoco.version}</version>
169         </plugin>
170       </plugins>
171
172     </pluginManagement>
173     <plugins>
174       <plugin>
175         <groupId>org.apache.felix</groupId>
176         <artifactId>maven-bundle-plugin</artifactId>
177       </plugin>
178       <plugin>
179         <groupId>org.apache.maven.plugins</groupId>
180         <artifactId>maven-jar-plugin</artifactId>
181       </plugin>
182       <plugin>
183         <groupId>org.opendaylight.yangtools</groupId>
184         <artifactId>yang-maven-plugin</artifactId>
185         <dependencies>
186           <dependency>
187             <groupId>org.opendaylight.controller</groupId>
188             <artifactId>yang-jmx-generator-plugin</artifactId>
189             <version>${config.version}</version>
190           </dependency>
191         </dependencies>
192       </plugin>
193     </plugins>
194   </build>
195   <reporting>
196     <plugins>
197       <plugin>
198         <groupId>org.codehaus.mojo</groupId>
199         <artifactId>findbugs-maven-plugin</artifactId>
200         <version>${findbugs.maven.plugin.version}</version>
201         <configuration>
202           <effort>Max</effort>
203           <threshold>Low</threshold>
204           <goal>site</goal>
205         </configuration>
206       </plugin>
207       <plugin>
208         <groupId>org.codehaus.mojo</groupId>
209         <artifactId>jdepend-maven-plugin</artifactId>
210         <version>${jdepend.maven.plugin.version}</version>
211       </plugin>
212     </plugins>
213   </reporting>
214   <scm>
215     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
216     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
217     <tag>HEAD</tag>
218     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
219   </scm>
220
221   <profiles>
222     <profile>
223       <id>integrationtests</id>
224       <activation>
225         <activeByDefault>false</activeByDefault>
226       </activation>
227       <modules>
228         <module>sal-binding-it</module>
229         <module>sal-binding-dom-it</module>
230       </modules>
231     </profile>
232     <profile>
233       <id>benchmarks</id>
234       <activation>
235         <activeByDefault>false</activeByDefault>
236       </activation>
237       <modules>
238         <module>benchmark-data-store</module>
239       </modules>
240     </profile>
241   </profiles>
242 </project>