BUG-2613: Migrating Openflow Specific NSF from controller project to openflowplugin...
[openflowplugin.git] / applications / 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"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4         <modelVersion>4.0.0</modelVersion>
5
6         <parent>
7                 <groupId>org.opendaylight.openflowplugin</groupId>
8                 <artifactId>openflowplugin-parent</artifactId>
9                 <version>0.1.0-SNAPSHOT</version>
10         </parent>
11
12         <groupId>org.opendaylight.openflowplugin</groupId>
13         <artifactId>applications</artifactId>
14         <version>1.2.0-SNAPSHOT</version>
15         <name>applications</name>
16         <url>http://maven.apache.org</url>
17         <packaging>pom</packaging>
18 <!-- 
19         <dependencyManagement>
20                 <dependencies>
21                         <dependency>
22                                 <groupId>org.opendaylight.openflowplugin</groupId>
23                                 <artifactId>openflowplugin-api</artifactId>
24                         </dependency>
25                 </dependencies>
26         </dependencyManagement>
27          -->
28         <build>
29                 <pluginManagement>
30                         <plugins>
31                                 <plugin>
32                                         <groupId>org.opendaylight.yangtools</groupId>
33                                         <artifactId>yang-maven-plugin</artifactId>
34                                         <version>${yang.binding.version}</version>
35                                         <executions>
36                                                 <execution>
37                                                         <goals>
38                                                                 <goal>generate-sources</goal>
39                                                         </goals>
40                                                         <configuration>
41                                                                 <codeGenerators>
42                                                                         <generator>
43                                                                                 <codeGeneratorClass>
44                                                                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
45                                                                                 </codeGeneratorClass>
46                                                                                 <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
47                                                                                 <additionalConfiguration>
48                                                                                         <namespaceToPackage1>
49                                                                                                 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
50                                                                                         </namespaceToPackage1>
51                                                                                 </additionalConfiguration>
52                                                                         </generator>
53                                                                         <generator>
54                                                                                 <codeGeneratorClass>
55                                                                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
56                                                                                 </codeGeneratorClass>
57                                                                                 <outputBaseDir>${project.build.directory}/generated-sources/sal</outputBaseDir>
58                                                                         </generator>
59                                                                 </codeGenerators>
60                                                                 <inspectDependencies>true</inspectDependencies>
61                                                         </configuration>
62                                                 </execution>
63                                         </executions>
64                                         <dependencies>
65                                                 <dependency>
66                                                         <groupId>org.opendaylight.controller</groupId>
67                                                         <artifactId>yang-jmx-generator-plugin</artifactId>
68                                                         <version>${config.parent.version}</version>
69                                                 </dependency>
70                                                 <dependency>
71                                                         <groupId>org.opendaylight.yangtools</groupId>
72                                                         <artifactId>maven-sal-api-gen-plugin</artifactId>
73                                                         <version>${yang.binding.version}</version>
74                                                         <type>jar</type>
75                                                 </dependency>
76                                         </dependencies>
77                                 </plugin>
78                                 <plugin>
79                                         <groupId>org.codehaus.mojo</groupId>
80                                         <artifactId>build-helper-maven-plugin</artifactId>
81                                         <version>1.8</version>
82                                         <executions>
83                                                 <execution>
84                                                         <id>add-source</id>
85                                                         <phase>generate-sources</phase>
86                                                         <goals>
87                                                                 <goal>add-source</goal>
88                                                         </goals>
89                                                         <configuration>
90                                                                 <sources>
91                                                                         <source>${project.build.directory}/generated-sources/config</source>
92                                                                         ;
93                                                                 </sources>
94                                                         </configuration>
95                                                 </execution>
96                                         </executions>
97                                 </plugin>
98                                 <plugin>
99                                         <groupId>org.apache.felix</groupId>
100                                         <artifactId>maven-bundle-plugin</artifactId>
101                                         <version>${bundle.plugin.version}</version>
102                                         <extensions>true</extensions>
103                                         <!--executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> 
104                                                 <goals> <goal>manifest</goal> </goals> </execution> </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 m2e settings 
113                                         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                 </pluginManagement>
172                 <plugins>
173                         <plugin>
174                                 <groupId>org.apache.felix</groupId>
175                                 <artifactId>maven-bundle-plugin</artifactId>
176                         </plugin>
177                         <plugin>
178                                 <groupId>org.apache.maven.plugins</groupId>
179                                 <artifactId>maven-jar-plugin</artifactId>
180                         </plugin>
181                         <!-- 
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                          -->
194                 </plugins>
195         </build>
196
197         <reporting>
198                 <plugins>
199                         <plugin>
200                                 <groupId>org.codehaus.mojo</groupId>
201                                 <artifactId>findbugs-maven-plugin</artifactId>
202                                 <version>${findbugs.maven.plugin.version}</version>
203                                 <configuration>
204                                         <effort>Max</effort>
205                                         <threshold>Low</threshold>
206                                         <goal>site</goal>
207                                 </configuration>
208                         </plugin>
209                         <plugin>
210                                 <groupId>org.codehaus.mojo</groupId>
211                                 <artifactId>jdepend-maven-plugin</artifactId>
212                                 <version>${jdepend.maven.plugin.version}</version>
213                         </plugin>
214                 </plugins>
215         </reporting>
216         <scm>
217                 <connection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</connection>
218                 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowplugin.git</developerConnection>
219                 <tag>HEAD</tag>
220         </scm>
221
222         <modules>
223                 <module>table-miss-enforcer</module>
224                 <module>of-switch-config-pusher</module>
225                 <module>lldp-speaker</module>
226                 <!-- Base Models -->
227                 <module>model</module>
228                 <module>inventory-manager</module>
229                 <module>statistics-manager</module>
230                 <module>statistics-manager-config</module>
231                 <module>topology-manager</module>
232                 <module>forwardingrules-manager</module>
233                 <module>topology-lldp-discovery</module>
234         </modules>
235
236 </project>