Set odl-version to 0.8.3-Beryllium-SR3 release
[yangide.git] / plugins / org.opendaylight.yangide.yangparser / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3     Copyright (c) 2014, 2015 Cisco Systems, 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  -->
10 <!--                                                                                -->
11 <!-- This program and the accompanying materials are made available under the       -->
12 <!-- terms of the Eclipse Public License v1.0 which accompanies this distribution,  -->
13 <!-- and is available at http://www.eclipse.org/legal/epl-v10.html                  -->
14 <!-- ============================================================================== -->
15 <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">
16   <modelVersion>4.0.0</modelVersion>
17
18   <parent>
19     <groupId>org.opendaylight.yangide</groupId>
20     <artifactId>org.opendaylight.yangide.parent</artifactId>
21     <version>1.1.1-SNAPSHOT</version>
22     <relativePath>../..</relativePath>
23   </parent>
24
25   <artifactId>org.opendaylight.yangide.yangparser</artifactId>
26   <packaging>eclipse-plugin</packaging>
27   <version>1.1.1-SNAPSHOT</version>
28   <properties>
29     <odl-version>0.8.3-Beryllium-SR3</odl-version>
30   </properties>
31   <dependencies>
32     <dependency>
33         <groupId>junit</groupId>
34         <artifactId>junit</artifactId>
35         <version>4.12</version>
36     </dependency>
37     <dependency>
38         <groupId>org.mockito</groupId>
39         <artifactId>mockito-all</artifactId>
40     </dependency>
41     <dependency>
42         <groupId>org.assertj</groupId>
43         <artifactId>assertj-core</artifactId>
44         <version>3.4.0</version>
45         <scope>test</scope>
46     </dependency>
47   </dependencies>
48   <build>
49     <sourceDirectory>src</sourceDirectory>
50     <plugins>
51         <plugin>
52             <groupId>org.apache.maven.plugins</groupId>
53             <artifactId>maven-clean-plugin</artifactId>
54             <configuration>
55                 <filesets>
56                     <fileset>
57                         <directory>libs</directory>
58                     </fileset>
59                 </filesets>
60             </configuration>
61         </plugin>
62         <plugin>
63             <!-- Tycho cannot use Maven dependencies directly, and we can't store the jars directly
64             in the project (as they were originally), so we use this goal to copy the required
65             dependencies into the location expected in the manifest.
66              -->
67             <groupId>org.apache.maven.plugins</groupId>
68             <artifactId>maven-dependency-plugin</artifactId>
69             <executions>
70                 <execution>
71                     <id>copy-dependencies</id>
72                     <phase>process-resources</phase>
73                     <goals>
74                         <goal>copy-dependencies</goal>
75                     </goals>
76                     <configuration>
77                         <outputDirectory>./libs</outputDirectory>
78                         <includeArtifactIds>junit, mockito-all, assertj-core</includeArtifactIds>
79                     </configuration>
80                 </execution>
81                 <execution>
82                     <id>copy</id>
83                     <phase>process-resources</phase>
84                     <goals>
85                         <goal>copy</goal>
86                     </goals>
87                     <configuration>
88                         <outputDirectory>./libs</outputDirectory>
89                         <artifactItems>
90                             <artifactItem>
91                                 <groupId>org.opendaylight.yangtools</groupId>
92                                 <artifactId>yang-model-api</artifactId>
93                                 <version>${odl-version}</version>
94                                 <type>jar</type>
95                                 <overWrite>true</overWrite>
96                                 <destFileName>yang-model-api-${odl-version}.jar</destFileName>
97                             </artifactItem>
98                             <artifactItem>
99                                 <groupId>org.opendaylight.yangtools</groupId>
100                                 <artifactId>yang-model-util</artifactId>
101                                 <version>${odl-version}</version>
102                                 <type>jar</type>
103                                 <overWrite>true</overWrite>
104                                 <destFileName>yang-model-util-${odl-version}.jar</destFileName>
105                             </artifactItem>
106                             <artifactItem>
107                                 <groupId>org.opendaylight.yangtools</groupId>
108                                 <artifactId>yang-parser-impl</artifactId>
109                                 <version>${odl-version}</version>
110                                 <type>jar</type>
111                                 <overWrite>true</overWrite>
112                                 <destFileName>yang-parser-impl-${odl-version}.jar</destFileName>
113                             </artifactItem>
114                             <artifactItem>
115                                 <groupId>org.opendaylight.yangtools</groupId>
116                                 <artifactId>yang-parser-api</artifactId>
117                                 <version>${odl-version}</version>
118                                 <type>jar</type>
119                                 <overWrite>true</overWrite>
120                                 <destFileName>yang-parser-api-${odl-version}.jar</destFileName>
121                             </artifactItem>
122                             <artifactItem>
123                                 <groupId>org.opendaylight.yangtools</groupId>
124                                 <artifactId>concepts</artifactId>
125                                 <version>${odl-version}</version>
126                                 <type>jar</type>
127                                 <overWrite>true</overWrite>
128                                 <destFileName>concepts-${odl-version}.jar</destFileName>
129                             </artifactItem>
130                             <artifactItem>
131                                 <groupId>org.opendaylight.yangtools</groupId>
132                                 <artifactId>util</artifactId>
133                                 <version>${odl-version}</version>
134                                 <type>jar</type>
135                                 <overWrite>true</overWrite>
136                                 <destFileName>util-${odl-version}.jar</destFileName>
137                             </artifactItem>
138                             <artifactItem>
139                                 <groupId>org.opendaylight.yangtools</groupId>
140                                 <artifactId>object-cache-api</artifactId>
141                                 <version>${odl-version}</version>
142                                 <type>jar</type>
143                                 <overWrite>true</overWrite>
144                                 <destFileName>object-cache-api-${odl-version}.jar</destFileName>
145                             </artifactItem>
146                             <artifactItem>
147                                 <groupId>org.opendaylight.yangtools</groupId>
148                                 <artifactId>yang-model-export</artifactId>
149                                 <version>${odl-version}</version>
150                                 <type>jar</type>
151                                 <overWrite>true</overWrite>
152                                 <destFileName>yang-model-export-${odl-version}.jar</destFileName>
153                             </artifactItem>
154                             <artifactItem>
155                                 <groupId>org.opendaylight.yangtools</groupId>
156                                 <artifactId>yang-common</artifactId>
157                                 <version>${odl-version}</version>
158                                 <type>jar</type>
159                                 <overWrite>true</overWrite>
160                                 <destFileName>yang-common-${odl-version}.jar</destFileName>
161                             </artifactItem>
162                             <artifactItem>
163                                 <groupId>org.antlr</groupId>
164                                 <artifactId>antlr4-runtime</artifactId>
165                                 <version>4.5.1</version>
166                                 <type>jar</type>
167                                 <overWrite>true</overWrite>
168                                 <destFileName>antlr4-runtime-4.5.1.jar</destFileName>
169                             </artifactItem>
170                             <artifactItem>
171                                 <groupId>com.google.guava</groupId>
172                                 <artifactId>guava</artifactId>
173                                 <version>18.0</version>
174                                 <type>jar</type>
175                                 <overWrite>true</overWrite>
176                                 <destFileName>guava-18.0.jar</destFileName>
177                             </artifactItem>
178                             <artifactItem>
179                                 <!-- The only reason to provide this artifact is so that calling methods in the
180                                 Eclipse debugger "Display" view can work.  Otherwise, it reports errors about not finding
181                                 Nullable and other related classes.
182                                  -->
183                                 <groupId>com.google.code.findbugs</groupId>
184                                 <artifactId>jsr305</artifactId>
185                                 <version>3.0.0</version>
186                                 <type>jar</type>
187                                 <overWrite>true</overWrite>
188                                 <destFileName>jsr305-3.0.0.jar</destFileName>
189                             </artifactItem>
190 <!-- 
191                             <artifactItem>
192                                 <groupId>junit</groupId>
193                                 <artifactId>junit</artifactId>
194                                 <version>4.12</version>
195                                 <type>jar</type>
196                                 <overWrite>true</overWrite>
197                                 <destFileName>junit-4.12.jar</destFileName>
198                             </artifactItem>
199                             <artifactItem>
200                                 <groupId>org.mockito</groupId>
201                                 <artifactId>mockito-all</artifactId>
202                                 <version>1.10.19</version>
203                                 <type>jar</type>
204                                 <overWrite>true</overWrite>
205                                 <destFileName>mockito-all-1.10.19.jar</destFileName>
206                             </artifactItem>
207                              -->
208                         </artifactItems>
209                     </configuration>
210                 </execution>
211             </executions>
212         </plugin>
213     </plugins>
214   </build>
215 </project>