BGPCEP-754: Start using default import policy
[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                         <include>**/routing-policy-config.xml</include>
59                     </includes>
60                 </configuration>
61             </plugin>
62             <plugin>
63                 <groupId>org.codehaus.mojo</groupId>
64                 <artifactId>build-helper-maven-plugin</artifactId>
65                 <executions>
66                     <execution>
67                         <id>attach-artifacts</id>
68                         <goals>
69                             <goal>attach-artifact</goal>
70                         </goals>
71                         <phase>package</phase>
72                         <configuration>
73                             <artifacts>
74                                 <artifact>
75                                     <file>${project.build.directory}/classes/initial/protocols-config.xml</file>
76                                     <type>xml</type>
77                                     <classifier>bgp-initial-config</classifier>
78                                 </artifact>
79                                 <artifact>
80                                     <file>${project.build.directory}/classes/initial/network-topology-config.xml</file>
81                                     <type>xml</type>
82                                     <classifier>network-topology-bgp-initial-config</classifier>
83                                 </artifact>
84                                 <artifact>
85                                     <file>${project.build.directory}/classes/initial/routing-policy-config.xml</file>
86                                     <type>xml</type>
87                                     <classifier>routing-policy-initial-config</classifier>
88                                 </artifact>
89                             </artifacts>
90                         </configuration>
91                     </execution>
92                 </executions>
93             </plugin>
94             <plugin>
95                 <groupId>org.apache.maven.plugins</groupId>
96                 <artifactId>maven-jar-plugin</artifactId>
97                 <executions>
98                     <execution>
99                         <phase>package</phase>
100                         <goals>
101                             <goal>test-jar</goal>
102                         </goals>
103                     </execution>
104                 </executions>
105             </plugin>
106         </plugins>
107     </build>
108
109     <scm>
110         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
111         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
112         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
113         <tag>HEAD</tag>
114     </scm>
115 </project>