6fa8c868759e9367133421d6faaf83a61a61fb64
[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"
14          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
15
16     <modelVersion>4.0.0</modelVersion>
17     <parent>
18         <groupId>org.opendaylight.odlparent</groupId>
19         <artifactId>odlparent</artifactId>
20         <version>3.0.2</version>
21         <relativePath/>
22     </parent>
23
24     <groupId>org.opendaylight.bgpcep</groupId>
25     <artifactId>bgp-config-example</artifactId>
26     <version>0.10.0-SNAPSHOT</version>
27     <packaging>jar</packaging>
28     <description>Example of configuration files for BGP protocol</description>
29     <name>${project.artifactId}</name>
30
31     <dependencyManagement>
32         <dependencies>
33             <dependency>
34                 <groupId>org.opendaylight.bgpcep</groupId>
35                 <artifactId>bgpcep-parent</artifactId>
36                 <version>${project.version}</version>
37                 <type>pom</type>
38                 <scope>import</scope>
39             </dependency>
40         </dependencies>
41     </dependencyManagement>
42
43     <build>
44         <plugins>
45             <plugin>
46                 <artifactId>maven-remote-resources-plugin</artifactId>
47                 <executions>
48                     <execution>
49                         <goals>
50                             <goal>bundle</goal>
51                         </goals>
52                     </execution>
53                 </executions>
54                 <configuration>
55                     <includes>
56                         <include>**/network-topology-config.xml</include>
57                         <include>**/protocols-config.xml</include>
58                     </includes>
59                 </configuration>
60             </plugin>
61             <plugin>
62                 <groupId>org.codehaus.mojo</groupId>
63                 <artifactId>build-helper-maven-plugin</artifactId>
64                 <executions>
65                     <execution>
66                         <id>attach-artifacts</id>
67                         <goals>
68                             <goal>attach-artifact</goal>
69                         </goals>
70                         <phase>package</phase>
71                         <configuration>
72                             <artifacts>
73                                 <artifact>
74                                     <file>${project.build.directory}/classes/initial/protocols-config.xml</file>
75                                     <type>xml</type>
76                                     <classifier>bgp-initial-config</classifier>
77                                 </artifact>
78                                 <artifact>
79                                     <file>${project.build.directory}/classes/initial/network-topology-config.xml</file>
80                                     <type>xml</type>
81                                     <classifier>network-topology-bgp-initial-config</classifier>
82                                 </artifact>
83                                 <artifact>
84                                     <file>${project.build.directory}/classes/initial/routing-policy-config.xml</file>
85                                     <type>xml</type>
86                                     <classifier>routing-policy-initial-config</classifier>
87                                 </artifact>
88                             </artifacts>
89                         </configuration>
90                     </execution>
91                 </executions>
92             </plugin>
93         </plugins>
94     </build>
95
96     <scm>
97         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
98         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
99         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
100         <tag>HEAD</tag>
101     </scm>
102 </project>