Several modifications:
[alto.git] / 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     <prerequisites>
6         <maven>3.0.4</maven>
7     </prerequisites>
8
9     <parent>
10         <groupId>org.opendaylight.odlparent</groupId>
11         <artifactId>odlparent</artifactId>
12         <version>1.5.0-SNAPSHOT</version>
13     </parent>
14
15     <groupId>org.opendaylight.alto</groupId>
16     <artifactId>alto-parent</artifactId>
17     <version>1.0.0-SNAPSHOT</version>
18     <name>alto</name> <!-- Used by Sonar to set project name -->
19     <packaging>pom</packaging>
20
21     <properties>
22         <httpclient.version>4.4.1</httpclient.version>
23         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24
25         <checkstyle.skip>true</checkstyle.skip>
26
27         <!-- Java Versions -->
28         <maven.compiler.source>1.7</maven.compiler.source>
29         <maven.compiler.target>1.7</maven.compiler.target>
30
31         <!-- Build Plugin Versions -->
32         <maven.release.version>2.4.2</maven.release.version>
33         <maven.resources.version>2.6</maven.resources.version>
34         <maven.helper.version>1.8</maven.helper.version>
35         <maven.dependency.version>2.6</maven.dependency.version>
36         <maven.exec.version>1.3.2</maven.exec.version>
37
38         <ietf.model.version>2010.09.24.7-SNAPSHOT</ietf.model.version>
39         <ietf.yang.types.version>2013.07.15.7-SNAPSHOT</ietf.yang.types.version>
40         <ietf.topology.version>2013.10.21.2-SNAPSHOT</ietf.topology.version>
41         <yang.ext.version>2013.09.07.7-SNAPSHOT</yang.ext.version>
42         <config.version>0.3.0-SNAPSHOT</config.version>
43         <sal.version>0.7.1-SNAPSHOT</sal.version>
44         <war.version>3.0.1</war.version>
45         <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
46         <controller.model.version>1.2.0-SNAPSHOT</controller.model.version>
47         <build.helper.version>1.8</build.helper.version>
48         <netconf.parent.version>0.3.0-SNAPSHOT</netconf.parent.version>
49         <config.parent.version>0.3.0-SNAPSHOT</config.parent.version>
50         <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
51         <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
52         <jersey.version>1.17</jersey.version>
53         <jersey.servlet.version>1.17</jersey.servlet.version>
54         <jersey.json.version>1.17</jersey.json.version>
55         <jackson.version>2.3.2</jackson.version>
56
57         <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
58         <yangtools.binding.version>0.7.0-SNAPSHOT</yangtools.binding.version>
59
60         <lispflowmapping.version>1.2.0-SNAPSHOT</lispflowmapping.version>
61         <ovsdb.southbound.version>1.1.0-SNAPSHOT</ovsdb.southbound.version>
62
63         <!-- Supporting Libraries -->
64         <slf4j.version>1.7.2</slf4j.version>
65         <feature.openflowplugin.version>0.1.0-SNAPSHOT</feature.openflowplugin.version>
66
67         <branding.version>1.1.0-SNAPSHOT</branding.version>
68         <karaf.resources.version>1.5.0-SNAPSHOT</karaf.resources.version>
69         <feature.test.version>1.5.0-SNAPSHOT</feature.test.version>
70         <karaf.empty.version>1.5.0-SNAPSHOT</karaf.empty.version>
71         <controller.checkstyle.version>0.1.0-SNAPSHOT</controller.checkstyle.version>
72         <controller.commons.northbound.version>0.5.0-SNAPSHOT</controller.commons.northbound.version>
73         <corsfilter.version>7.0.42</corsfilter.version>
74
75         <!-- Test Libraries -->
76         <powermock.version>1.5.6</powermock.version>
77     </properties>
78
79     <repositories>
80       <repository>
81         <releases>
82           <enabled>true</enabled>
83           <updatePolicy>never</updatePolicy>
84         </releases>
85         <snapshots>
86           <enabled>false</enabled>
87         </snapshots>
88         <id>opendaylight-mirror</id>
89         <name>opendaylight-mirror</name>
90         <url>http://nexus.opendaylight.org/content/groups/public/</url>
91       </repository>
92       <repository>
93         <releases>
94           <enabled>false</enabled>
95         </releases>
96         <snapshots>
97           <enabled>true</enabled>
98         </snapshots>
99         <id>opendaylight-snapshot</id>
100         <name>opendaylight-snapshot</name>
101         <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
102       </repository>
103     </repositories>
104
105     <distributionManagement>
106         <repository>
107             <id>opendaylight-release</id>
108             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release</url>
109         </repository>
110         <snapshotRepository>
111             <id>opendaylight-snapshot</id>
112             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
113         </snapshotRepository>
114     </distributionManagement>
115
116     <modules>
117         <module>alto-model</module>
118         <module>alto-config</module>
119         <module>alto-provider</module>
120         <module>features</module>
121         <module>alto-commons</module>
122         <module>alto-services/api</module>
123         <module>alto-services/ext</module>
124         <module>alto-services/provider</module>
125         <module>alto-manager</module>
126         <module>alto-northbound</module>
127     </modules>
128
129     <build>
130         <plugins>
131             <plugin>
132                 <groupId>org.codehaus.mojo</groupId>
133                 <artifactId>build-helper-maven-plugin</artifactId>
134             </plugin>
135         </plugins>
136         <pluginManagement>
137             <plugins>
138                 <plugin>
139                     <groupId>org.apache.maven.plugins</groupId>
140                     <artifactId>maven-compiler-plugin</artifactId>
141                     <version>${compiler.version}</version>
142                     <configuration>
143                         <source>1.7</source>
144                         <target>1.7</target>
145                     </configuration>
146                 </plugin>
147                 <plugin>
148                     <groupId>org.ops4j.pax.exam</groupId>
149                     <artifactId>maven-paxexam-plugin</artifactId>
150                     <version>1.2.4</version>
151                 </plugin>
152                 <plugin>
153                     <artifactId>maven-clean-plugin</artifactId>
154                     <configuration>
155                         <filesets>
156                             <fileset>
157                                 <directory>${jmxGeneratorPath}</directory>
158                                 <includes>
159                                     <include>**</include>
160                                 </includes>
161                             </fileset>
162                             <fileset>
163                                 <directory>${salGeneratorPath}</directory>
164                                 <includes>
165                                     <include>**</include>
166                                 </includes>
167                             </fileset>
168                         </filesets>
169                     </configuration>
170                 </plugin>
171                 <plugin>
172                     <groupId>org.codehaus.mojo</groupId>
173                     <artifactId>build-helper-maven-plugin</artifactId>
174                     <version>${build.helper.version}</version>
175                     <executions>
176                         <execution>
177                             <id>add-source</id>
178                             <phase>generate-sources</phase>
179                             <goals>
180                                 <goal>add-source</goal>
181                             </goals>
182                             <configuration>
183                                 <sources>
184                                     <source>${jmxGeneratorPath}</source>
185                                     <source>${salGeneratorPath}</source>
186                                 </sources>
187                             </configuration>
188                         </execution>
189                     </executions>
190                 </plugin>
191                 <plugin>
192                     <groupId>org.opendaylight.yangtools</groupId>
193                     <artifactId>yang-maven-plugin</artifactId>
194                     <version>0.7.0-SNAPSHOT</version>
195                 </plugin>
196                 <plugin>
197                     <groupId>org.apache.felix</groupId>
198                     <artifactId>maven-bundle-plugin</artifactId>
199                     <version>${maven.bundle.version}</version>
200                     <extensions>true</extensions>
201                     <configuration>
202                         <instructions>
203                             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
204                         </instructions>
205                         <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
206                     </configuration>
207                 </plugin>
208                 <plugin>
209                    <groupId>org.jacoco</groupId>
210                    <artifactId>jacoco-maven-plugin</artifactId>
211                    <version>${jacoco.version}</version>
212                 </plugin>
213             </plugins>
214         </pluginManagement>
215     </build>
216 </project>