Remove config subsystem from OpenFlowJava
[openflowplugin.git] / openflowjava / 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     <parent>
5         <groupId>org.opendaylight.openflowplugin</groupId>
6         <artifactId>openflowplugin-parent</artifactId>
7         <version>0.5.0-SNAPSHOT</version>
8         <relativePath>../parent</relativePath>
9     </parent>
10
11     <groupId>org.opendaylight.openflowplugin.openflowjava</groupId>
12     <artifactId>openflowjava-parent</artifactId>
13     <packaging>pom</packaging>
14
15     <modules>
16         <module>features-openflowjava-aggregator</module>
17         <module>openflowjava-blueprint-config</module>
18         <module>openflow-protocol-api</module>
19         <module>openflow-protocol-impl</module>
20         <module>openflow-protocol-it</module>
21         <module>openflow-protocol-spi</module>
22         <module>openflowjava-util</module>
23     </modules>
24
25     <build>
26         <plugins>
27             <plugin>
28                 <groupId>org.apache.maven.plugins</groupId>
29                 <artifactId>maven-compiler-plugin</artifactId>
30             </plugin>
31             <plugin>
32                 <artifactId>maven-source-plugin</artifactId>
33                 <executions>
34                     <execution>
35                         <id>attach-sources</id>
36                         <phase>deploy</phase>
37                         <goals>
38                             <goal>jar-no-fork</goal>
39                         </goals>
40                     </execution>
41                 </executions>
42             </plugin>
43             <plugin>
44                 <groupId>org.apache.felix</groupId>
45                 <artifactId>maven-bundle-plugin</artifactId>
46                 <extensions>true</extensions>
47                 <configuration>
48                     <instructions>
49                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
50                     </instructions>
51                     <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
52                 </configuration>
53             </plugin>
54             <plugin>
55                 <groupId>org.codehaus.mojo</groupId>
56                 <artifactId>build-helper-maven-plugin</artifactId>
57                 <executions>
58                     <execution>
59                         <id>add-yang-sources</id>
60                         <phase>generate-sources</phase>
61                         <goals>
62                             <goal>add-source</goal>
63                         </goals>
64                         <configuration>
65                             <sources>
66                                 <source>${jmxGeneratorPath}</source>
67                                 <source>${salGeneratorPath}</source>
68                             </sources>
69                         </configuration>
70                     </execution>
71                 </executions>
72             </plugin>
73         </plugins>
74         <pluginManagement>
75             <plugins>
76                 <plugin>
77                     <groupId>org.codehaus.mojo</groupId>
78                     <artifactId>build-helper-maven-plugin</artifactId>
79                     <version>1.8</version>
80                     <executions>
81                         <execution>
82                             <id>add-source</id>
83                             <goals>
84                                 <goal>add-source</goal>
85                             </goals>
86                             <phase>generate-sources</phase>
87                             <configuration>
88                                 <sources>
89                                     <source>src/main/yang</source>
90                                 </sources>
91                             </configuration>
92                         </execution>
93                     </executions>
94                 </plugin>
95             </plugins>
96         </pluginManagement>
97     </build>
98     <profiles>
99         <profile>
100             <id>viewbuild</id>
101             <activation>
102                 <activeByDefault>true</activeByDefault>
103             </activation>
104             <properties>
105                 <build.suffix>${project.version}</build.suffix>
106             </properties>
107         </profile>
108         <profile>
109             <id>jenkins</id>
110             <activation>
111                 <property>
112                     <name>BUILDSUFFIX</name>
113                 </property>
114             </activation>
115             <properties>
116                 <build.suffix>${BUILDSUFFIX}</build.suffix>
117             </properties>
118         </profile>
119         <profile>
120             <id>repoBuild</id>
121             <build>
122                 <plugins>
123                     <plugin>
124                         <groupId>org.apache.maven.plugins</groupId>
125                         <artifactId>maven-javadoc-plugin</artifactId>
126                         <version>2.8.1</version>
127                         <executions>
128                             <execution>
129                                 <goals>
130                                     <goal>aggregate</goal>
131                                 </goals>
132                                 <phase>site</phase>
133                             </execution>
134                             <execution>
135                                 <id>attach-javadocs</id>
136                                 <goals>
137                                     <goal>jar</goal>
138                                 </goals>
139                             </execution>
140                         </executions>
141                     </plugin>
142                     <plugin>
143                         <groupId>org.apache.maven.plugins</groupId>
144                         <artifactId>maven-source-plugin</artifactId>
145                         <executions>
146                             <execution>
147                                 <id>attach-sources</id>
148                                 <phase>package</phase>
149                                 <goals>
150                                     <goal>jar-no-fork</goal>
151                                 </goals>
152                             </execution>
153                         </executions>
154                     </plugin>
155                 </plugins>
156             </build>
157         </profile>
158     </profiles>
159 </project>