Replace deprecated Futures.addCallback by the newer version
[controller.git] / opendaylight / archetypes / 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.odlparent</groupId>
7     <artifactId>odlparent</artifactId>
8     <version>2.0.5</version>
9     <relativePath/>
10   </parent>
11
12   <groupId>org.opendaylight.controller.archetypes</groupId>
13   <artifactId>archetypes-parent</artifactId>
14   <version>0.7.0-SNAPSHOT</version>
15   <packaging>pom</packaging>
16
17   <properties>
18     <!-- TODO Bump maven-archetype-plugin version in odlparent instead of here: -->
19     <maven.archetype.version>3.0.1</maven.archetype.version>
20     <!-- TODO Figure out why SFT fails on archetype self test with:
21          ArtifactResolutionException: Error resolving artifact org.opendaylight.odlparent:opendaylight-karaf-empty:zip:2.0.5 -->
22     <archetype.test.skip>true</archetype.test.skip>
23   </properties>
24
25   <build>
26     <extensions>
27       <extension>
28         <groupId>org.apache.maven.archetype</groupId>
29         <artifactId>archetype-packaging</artifactId>
30         <version>${maven.archetype.version}</version>
31       </extension>
32     </extensions>
33
34     <plugins>
35       <plugin>
36           <groupId>org.apache.maven.plugins</groupId>
37           <artifactId>maven-resources-plugin</artifactId>
38           <configuration>
39             <!-- Required so that .gitignore gets included in archetypes; see https://issues.apache.org/jira/browse/MRESOURCES-190 -->
40             <addDefaultExcludes>false</addDefaultExcludes>
41           </configuration>
42       </plugin>
43       <plugin>
44         <artifactId>maven-help-plugin</artifactId>
45         <version>2.2</version>
46         <configuration>
47           <output>${project.build.directory}/effective-settings.xml</output>
48         </configuration>
49         <executions>
50           <execution>
51             <!-- This makes sure we run before maven-archetype-plugin -->
52             <phase>pre-integration-test</phase>
53             <goals>
54               <goal>effective-settings</goal>
55             </goals>
56           </execution>
57         </executions>
58       </plugin>
59       <plugin>
60         <artifactId>maven-archetype-plugin</artifactId>
61         <version>${maven.archetype.version}</version>
62         <configuration>
63           <settingsFile>${project.build.directory}/effective-settings.xml</settingsFile>
64         </configuration>
65         <dependencies>
66           <dependency>
67             <groupId>commons-lang</groupId>
68             <artifactId>commons-lang</artifactId>
69             <version>2.6</version>
70           </dependency>
71         </dependencies>
72       </plugin>
73     </plugins>
74   </build>
75
76   <modules>
77     <module>opendaylight-startup</module>
78   </modules>
79 </project>