a474b97206cd10b905c8798385b446d14fd43e28
[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 <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">
13
14     <modelVersion>4.0.0</modelVersion>
15     <parent>
16         <groupId>org.opendaylight.odlparent</groupId>
17         <artifactId>odlparent</artifactId>
18         <version>9.0.8</version>
19         <relativePath/>
20     </parent>
21
22     <groupId>org.opendaylight.bgpcep</groupId>
23     <artifactId>bgp-config-example</artifactId>
24     <version>0.16.13-SNAPSHOT</version>
25     <packaging>jar</packaging>
26     <description>Example of configuration files for BGP protocol</description>
27     <name>${project.artifactId}</name>
28
29     <dependencyManagement>
30         <dependencies>
31             <dependency>
32                 <groupId>org.opendaylight.bgpcep</groupId>
33                 <artifactId>bgpcep-parent</artifactId>
34                 <version>${project.version}</version>
35                 <type>pom</type>
36                 <scope>import</scope>
37             </dependency>
38         </dependencies>
39     </dependencyManagement>
40
41     <build>
42         <plugins>
43             <plugin>
44                 <artifactId>maven-remote-resources-plugin</artifactId>
45                 <executions>
46                     <execution>
47                         <goals>
48                             <goal>bundle</goal>
49                         </goals>
50                     </execution>
51                 </executions>
52                 <configuration>
53                     <includes>
54                         <include>**/network-topology-config.xml</include>
55                         <include>**/protocols-config.xml</include>
56                         <include>**/routing-policy-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-bgp-initial-config</classifier>
81                                 </artifact>
82                                 <artifact>
83                                     <file>${project.build.directory}/classes/initial/routing-policy-config.xml</file>
84                                     <type>xml</type>
85                                     <classifier>routing-policy-default-config</classifier>
86                                 </artifact>
87                             </artifacts>
88                         </configuration>
89                     </execution>
90                 </executions>
91             </plugin>
92         </plugins>
93     </build>
94
95     <scm>
96         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
97         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
98         <url>https://wiki.opendaylight.org/display/ODL/BGPCEP</url>
99         <tag>HEAD</tag>
100     </scm>
101 </project>