Add perltidy to pre-commit linters
[transportpce.git] / inventory / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!-- Copyright © 2016 Orange and others. All rights reserved. This program and the accompanying materials
4     are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution,
5     and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8   <modelVersion>4.0.0</modelVersion>
9
10   <parent>
11     <groupId>org.opendaylight.mdsal</groupId>
12     <artifactId>binding-parent</artifactId>
13     <version>11.0.9</version>
14     <relativePath/>
15   </parent>
16
17   <groupId>org.opendaylight.transportpce</groupId>
18   <artifactId>transportpce-inventory</artifactId>
19   <version>8.0.0-SNAPSHOT</version>
20   <packaging>bundle</packaging>
21
22   <properties>
23     <transportpce.models.version>18.1.0</transportpce.models.version>
24   </properties>
25
26   <dependencyManagement>
27     <dependencies>
28       <dependency>
29         <groupId>org.opendaylight.transportpce.models</groupId>
30         <artifactId>transportpce-models-artifacts</artifactId>
31         <version>${transportpce.models.version}</version>
32         <type>pom</type>
33         <scope>import</scope>
34       </dependency>
35       <dependency>
36         <groupId>org.opendaylight.netconf</groupId>
37         <artifactId>netconf-artifacts</artifactId>
38         <version>5.0.6</version>
39         <scope>import</scope>
40         <type>pom</type>
41       </dependency>
42     </dependencies>
43   </dependencyManagement>
44
45   <dependencies>
46     <dependency>
47       <groupId>org.opendaylight.transportpce.models</groupId>
48       <artifactId>openroadm-common-1.2.1</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.transportpce.models</groupId>
52       <artifactId>openroadm-device-1.2.1</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>${project.groupId}</groupId>
56       <artifactId>transportpce-common</artifactId>
57       <version>${project.version}</version>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.yangtools</groupId>
61       <artifactId>yang-common</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.mdsal.model</groupId>
65       <artifactId>ietf-topology</artifactId>
66     </dependency>
67     <dependency>
68       <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
69       <artifactId>rfc6991-ietf-inet-types</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
73       <artifactId>rfc6991-ietf-yang-types</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
77       <artifactId>rfc8345-ietf-network</artifactId>
78     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.mdsal</groupId>
81       <artifactId>mdsal-common-api</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.mdsal</groupId>
85       <artifactId>yang-binding</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.mdsal</groupId>
89       <artifactId>mdsal-binding-api</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>com.google.guava</groupId>
93       <artifactId>guava</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>org.opendaylight.netconf</groupId>
97       <artifactId>netconf-topology</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>org.opendaylight.netconf</groupId>
101       <artifactId>sal-netconf-connector</artifactId>
102     </dependency>
103     <dependency>
104       <groupId>org.osgi</groupId>
105       <artifactId>org.osgi.service.component.annotations</artifactId>
106     </dependency>
107   </dependencies>
108
109   <build>
110     <plugins>
111       <plugin>
112         <artifactId>maven-resources-plugin</artifactId>
113         <executions>
114           <execution>
115             <id>copy-resources</id>
116             <phase>validate</phase>
117             <goals>
118               <goal>copy-resources</goal>
119             </goals>
120             <configuration>
121               <outputDirectory>${basedir}/target/resources</outputDirectory>
122               <resources>
123                 <resource>
124                   <directory>src/main/resources</directory>
125                   <filtering>true</filtering>
126                 </resource>
127               </resources>
128             </configuration>
129           </execution>
130         </executions>
131       </plugin>
132       <plugin>
133         <groupId>org.codehaus.mojo</groupId>
134         <artifactId>build-helper-maven-plugin</artifactId>
135         <executions>
136           <execution>
137             <id>attach-db-artifact</id>
138             <goals>
139               <goal>attach-artifact</goal>
140             </goals>
141             <configuration>
142               <artifacts>
143                 <artifact>
144                   <file>target/resources/org.ops4j.datasource-transporpce.cfg</file>
145                   <type>cfg</type>
146                   <classifier>datasource</classifier>
147                 </artifact>
148                 <artifact>
149                   <file>target/resources/org.opendaylight.transportpce.job.cfg</file>
150                   <type>cfg</type>
151                   <classifier>config</classifier>
152                 </artifact>
153               </artifacts>
154             </configuration>
155           </execution>
156         </executions>
157       </plugin>
158     </plugins>
159   </build>
160 </project>