Bump versions by x.(y+1).z
[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.15.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         </plugins>
55         <pluginManagement>
56             <plugins>
57                 <plugin>
58                     <groupId>org.codehaus.mojo</groupId>
59                     <artifactId>build-helper-maven-plugin</artifactId>
60                     <executions>
61                         <execution>
62                             <id>add-source</id>
63                             <goals>
64                                 <goal>add-source</goal>
65                             </goals>
66                             <phase>generate-sources</phase>
67                             <configuration>
68                                 <sources>
69                                     <source>src/main/yang</source>
70                                 </sources>
71                             </configuration>
72                         </execution>
73                     </executions>
74                 </plugin>
75             </plugins>
76         </pluginManagement>
77     </build>
78     <profiles>
79         <profile>
80             <id>viewbuild</id>
81             <activation>
82                 <activeByDefault>true</activeByDefault>
83             </activation>
84             <properties>
85                 <build.suffix>${project.version}</build.suffix>
86             </properties>
87         </profile>
88         <profile>
89             <id>jenkins</id>
90             <activation>
91                 <property>
92                     <name>BUILDSUFFIX</name>
93                 </property>
94             </activation>
95             <properties>
96                 <build.suffix>${BUILDSUFFIX}</build.suffix>
97             </properties>
98         </profile>
99         <profile>
100             <id>repoBuild</id>
101             <build>
102                 <plugins>
103                     <plugin>
104                         <groupId>org.apache.maven.plugins</groupId>
105                         <artifactId>maven-javadoc-plugin</artifactId>
106                         <executions>
107                             <execution>
108                                 <goals>
109                                     <goal>aggregate</goal>
110                                 </goals>
111                                 <phase>site</phase>
112                             </execution>
113                             <execution>
114                                 <id>attach-javadocs</id>
115                                 <goals>
116                                     <goal>jar</goal>
117                                 </goals>
118                             </execution>
119                         </executions>
120                     </plugin>
121                     <plugin>
122                         <groupId>org.apache.maven.plugins</groupId>
123                         <artifactId>maven-source-plugin</artifactId>
124                         <executions>
125                             <execution>
126                                 <id>attach-sources</id>
127                                 <phase>package</phase>
128                                 <goals>
129                                     <goal>jar-no-fork</goal>
130                                 </goals>
131                             </execution>
132                         </executions>
133                     </plugin>
134                 </plugins>
135             </build>
136         </profile>
137     </profiles>
138 </project>