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