ae62fbb4ba6b785f35da84588bb55e01958e583b
[bgpcep.git] / bgp / config-example / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4
5     Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
6
7     This program and the accompanying materials are made available under the
8     terms of the Eclipse Public License v1.0 which accompanies this distribution,
9     and is available at http://www.eclipse.org/legal/epl-v10.html
10
11 -->
12
13 <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">
14
15     <modelVersion>4.0.0</modelVersion>
16     <parent>
17         <groupId>org.opendaylight.odlparent</groupId>
18         <artifactId>odlparent</artifactId>
19         <version>2.0.5</version>
20         <relativePath/>
21     </parent>
22
23     <groupId>org.opendaylight.bgpcep</groupId>
24     <artifactId>bgp-config-example</artifactId>
25     <version>0.9.0-SNAPSHOT</version>
26     <packaging>jar</packaging>
27     <description>Example of configuration files for BGP protocol</description>
28     <name>${project.artifactId}</name>
29
30     <dependencyManagement>
31         <dependencies>
32             <dependency>
33                 <groupId>org.opendaylight.bgpcep</groupId>
34                 <artifactId>bgpcep-parent</artifactId>
35                 <version>0.9.0-SNAPSHOT</version>
36                 <type>pom</type>
37                 <scope>import</scope>
38             </dependency>
39         </dependencies>
40     </dependencyManagement>
41
42     <build>
43         <plugins>
44             <plugin>
45                 <artifactId>maven-remote-resources-plugin</artifactId>
46                 <executions>
47                     <execution>
48                         <goals>
49                             <goal>bundle</goal>
50                         </goals>
51                     </execution>
52                 </executions>
53                 <configuration>
54                     <includes>
55                         <include>**/network-topology-config.xml</include>
56                         <include>**/protocols-config.xml</include>
57                     </includes>
58                 </configuration>
59             </plugin>
60             <plugin>
61                 <groupId>org.codehaus.mojo</groupId>
62                 <artifactId>build-helper-maven-plugin</artifactId>
63                 <executions>
64                     <execution>
65                         <id>attach-artifacts</id>
66                         <goals>
67                             <goal>attach-artifact</goal>
68                         </goals>
69                         <phase>package</phase>
70                         <configuration>
71                             <artifacts>
72                                 <artifact>
73                                     <file>${project.build.directory}/classes/initial/protocols-config.xml</file>
74                                     <type>xml</type>
75                                     <classifier>bgp-initial-config</classifier>
76                                 </artifact>
77                                 <artifact>
78                                     <file>${project.build.directory}/classes/initial/network-topology-config.xml</file>
79                                     <type>xml</type>
80                                     <classifier>network-topology-initial-config</classifier>
81                                 </artifact>
82                             </artifacts>
83                         </configuration>
84                     </execution>
85                 </executions>
86             </plugin>
87         </plugins>
88     </build>
89
90     <scm>
91         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
92         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
93         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
94         <tag>HEAD</tag>
95     </scm>
96
97     <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
98     <distributionManagement>
99         <site>
100             <id>opendaylight-site</id>
101             <url>${nexus.site.url}/${project.artifactId}/</url>
102         </site>
103     </distributionManagement>
104 </project>