Fix maven-archetype-plugin not pulling its dependencies
[controller.git] / opendaylight / archetypes / odl-model-project / 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   <groupId>org.opendaylight.controller.archetypes</groupId>
6   <artifactId>odl-model-project</artifactId>
7   <version>1.3.0-SNAPSHOT</version>
8   <packaging>maven-archetype</packaging>
9
10   <properties>
11     <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
12     <nexus.repository.release>opendaylight.release</nexus.repository.release>
13     <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
14   </properties>
15
16   <name>odl-model-project</name>
17   <scm>
18     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
19     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
20     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:Main</url>
21     <tag>HEAD</tag>
22   </scm>
23
24   <build>
25     <extensions>
26       <extension>
27         <groupId>org.apache.maven.archetype</groupId>
28         <artifactId>archetype-packaging</artifactId>
29         <version>2.2</version>
30       </extension>
31     </extensions>
32
33     <pluginManagement>
34       <plugins>
35         <plugin>
36           <artifactId>maven-archetype-plugin</artifactId>
37           <version>2.2</version>
38           <dependencies>
39             <dependency>
40               <groupId>commons-lang</groupId>
41               <artifactId>commons-lang</artifactId>
42               <version>2.6</version>
43             </dependency>
44           </dependencies>
45         </plugin>
46       </plugins>
47     </pluginManagement>
48   </build>
49
50   <distributionManagement>
51     <repository>
52       <id>opendaylight-release</id>
53       <url>${nexusproxy}/repositories/${nexus.repository.release}/</url>
54     </repository>
55     <snapshotRepository>
56       <id>opendaylight-snapshot</id>
57       <url>${nexusproxy}/repositories/${nexus.repository.snapshot}/</url>
58     </snapshotRepository>
59     <site>
60       <id>website</id>
61       <url>${sitedeploy}/sal-samples</url>
62     </site>
63   </distributionManagement>
64 </project>