0a824c50910cf8c6fc97927f1afb8800f0b6ee76
[serviceutils.git] / upgrade / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2018 Red Hat Inc. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11   <modelVersion>4.0.0</modelVersion>
12
13   <parent>
14     <groupId>org.opendaylight.serviceutils</groupId>
15     <artifactId>binding-parent</artifactId>
16     <version>0.7.0-SNAPSHOT</version>
17     <relativePath>../commons/binding-parent</relativePath>
18   </parent>
19
20   <groupId>org.opendaylight.serviceutils</groupId>
21   <artifactId>upgrade</artifactId>
22   <version>0.7.0-SNAPSHOT</version>
23   <packaging>bundle</packaging>
24   <!-- <name> formatting is used by autorelease to parse and notify projects on
25        build failure. Please do not modify this unless you have a good reason. -->
26   <name>ODL :: serviceutils :: ${project.artifactId}</name>
27
28   <dependencies>
29     <dependency>
30       <groupId>org.opendaylight.yangtools</groupId>
31       <artifactId>yang-common</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.mdsal</groupId>
35       <artifactId>yang-binding</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.mdsal</groupId>
39       <artifactId>mdsal-dom-api</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.mdsal</groupId>
43       <artifactId>mdsal-binding-api</artifactId>
44       <version>6.0.4</version>
45       <scope>compile</scope>
46     </dependency>
47   </dependencies>
48   <build>
49     <plugins>
50       <!-- Do *NOT* use annotation based DI with the blueprint-maven-plugin here; the issue is that this
51            will cause problems in other projects having a dependency to this one (they would repeat and re-generate this project's BP XML). -->
52       <plugin>
53         <groupId>org.codehaus.mojo</groupId>
54         <artifactId>build-helper-maven-plugin</artifactId>
55         <executions>
56           <execution>
57             <id>attach-artifacts</id>
58             <goals>
59               <goal>attach-artifact</goal>
60             </goals>
61             <phase>package</phase>
62             <configuration>
63               <artifacts>
64                 <artifact>
65                   <file>${project.build.directory}/classes/initial/serviceutils-upgrade-config.xml</file>
66                   <type>xml</type>
67                   <classifier>config</classifier>
68                 </artifact>
69               </artifacts>
70             </configuration>
71           </execution>
72         </executions>
73       </plugin>
74     </plugins>
75   </build>
76 </project>