db50dcb8ab86eb236608bfef06dff7eb1384c403
[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>3.0.2</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   <dependencies>
18     <dependency>
19       <!-- Required for https://jira.opendaylight.org/browse/CONTROLLER-1799
20            but this is only half of the solution; the other half is setting org.ops4j.pax.url.mvn.localRepository -->
21       <groupId>org.opendaylight.odlparent</groupId>
22       <artifactId>opendaylight-karaf-empty</artifactId>
23       <version>3.0.2</version>
24       <type>zip</type>
25     </dependency>
26   </dependencies>
27
28   <build>
29     <extensions>
30       <extension>
31         <groupId>org.apache.maven.archetype</groupId>
32         <artifactId>archetype-packaging</artifactId>
33         <version>${maven.archetype.plugin.version}</version>
34       </extension>
35     </extensions>
36
37     <plugins>
38       <plugin>
39           <groupId>org.apache.maven.plugins</groupId>
40           <artifactId>maven-resources-plugin</artifactId>
41           <configuration>
42             <!-- Required so that .gitignore gets included in archetypes; see https://issues.apache.org/jira/browse/MRESOURCES-190 -->
43             <addDefaultExcludes>false</addDefaultExcludes>
44           </configuration>
45       </plugin>
46       <plugin>
47         <artifactId>maven-help-plugin</artifactId>
48         <configuration>
49           <output>${project.build.directory}/effective-settings.xml</output>
50         </configuration>
51         <executions>
52           <execution>
53             <!-- This makes sure we run before maven-archetype-plugin -->
54             <phase>pre-integration-test</phase>
55             <goals>
56               <goal>effective-settings</goal>
57             </goals>
58           </execution>
59         </executions>
60       </plugin>
61       <plugin>
62         <artifactId>maven-archetype-plugin</artifactId>
63         <configuration>
64           <settingsFile>${project.build.directory}/effective-settings.xml</settingsFile>
65         </configuration>
66         <dependencies>
67           <dependency>
68             <groupId>commons-lang</groupId>
69             <artifactId>commons-lang</artifactId>
70             <version>2.6</version>
71           </dependency>
72         </dependencies>
73       </plugin>
74     </plugins>
75   </build>
76
77   <modules>
78     <module>opendaylight-startup</module>
79   </modules>
80 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.