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

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.