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