fdd4ae0f566bf2b3fd72a81600b36cae276184e5
[mdsal.git] / binding / mdsal-binding-java-api-generator / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12     <parent>
13         <groupId>org.opendaylight.odlparent</groupId>
14         <artifactId>bundle-parent</artifactId>
15         <version>3.1.2</version>
16         <relativePath/>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <groupId>org.opendaylight.mdsal</groupId>
21     <artifactId>mdsal-binding-java-api-generator</artifactId>
22     <version>0.13.0-SNAPSHOT</version>
23     <packaging>bundle</packaging>
24
25     <dependencyManagement>
26         <dependencies>
27             <dependency>
28                 <groupId>org.opendaylight.mdsal</groupId>
29                 <artifactId>mdsal-artifacts</artifactId>
30                 <version>2.5.0-SNAPSHOT</version>
31                 <type>pom</type>
32                 <scope>import</scope>
33             </dependency>
34             <dependency>
35                 <groupId>org.opendaylight.yangtools</groupId>
36                 <artifactId>yangtools-artifacts</artifactId>
37                 <version>2.0.5</version>
38                 <type>pom</type>
39                 <scope>import</scope>
40             </dependency>
41         </dependencies>
42     </dependencyManagement>
43
44     <dependencies>
45         <dependency>
46             <groupId>org.opendaylight.mdsal</groupId>
47             <artifactId>mdsal-binding-generator-util</artifactId>
48         </dependency>
49         <dependency>
50             <groupId>org.opendaylight.yangtools</groupId>
51             <artifactId>yang-model-export</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>org.eclipse.xtend</groupId>
55             <artifactId>org.eclipse.xtend.lib</artifactId>
56         </dependency>
57         <dependency>
58             <groupId>com.google.guava</groupId>
59             <artifactId>guava</artifactId>
60         </dependency>
61         <dependency>
62             <groupId>org.apache.commons</groupId>
63             <artifactId>commons-text</artifactId>
64         </dependency>
65         <dependency>
66             <groupId>org.sonatype.plexus</groupId>
67             <artifactId>plexus-build-api</artifactId>
68         </dependency>
69         <dependency>
70             <groupId>org.codehaus.plexus</groupId>
71             <artifactId>plexus-container-default</artifactId>
72             <version>1.6</version>
73             <scope>provided</scope>
74             <exclusions>
75                 <!-- plexus-build-api pulls in version 1.5.8, while this pulls in 3.0.20.
76                      Dependency convergence would break if we did not specify this. -->
77                 <exclusion>
78                     <groupId>org.codehaus.plexus</groupId>
79                     <artifactId>plexus-utils</artifactId>
80                 </exclusion>
81             </exclusions>
82         </dependency>
83
84         <dependency>
85             <groupId>junit</groupId>
86             <artifactId>junit</artifactId>
87             <scope>test</scope>
88         </dependency>
89         <dependency>
90             <groupId>org.mockito</groupId>
91             <artifactId>mockito-core</artifactId>
92         </dependency>
93         <dependency>
94             <groupId>org.opendaylight.yangtools</groupId>
95             <artifactId>yang-test-util</artifactId>
96         </dependency>
97         <dependency>
98             <groupId>org.opendaylight.mdsal</groupId>
99             <artifactId>mdsal-binding-generator-impl</artifactId>
100             <scope>test</scope>
101         </dependency>
102     </dependencies>
103
104     <build>
105         <plugins>
106             <plugin>
107                 <groupId>org.apache.felix</groupId>
108                 <artifactId>maven-bundle-plugin</artifactId>
109                 <extensions>true</extensions>
110                 <configuration>
111                     <instructions>
112                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
113                         <Import-Package>
114                             !org.sonatype.plexus.build.incremental,
115                             *
116                         </Import-Package>
117                     </instructions>
118                 </configuration>
119             </plugin>
120             <plugin>
121                 <groupId>org.eclipse.xtend</groupId>
122                 <artifactId>xtend-maven-plugin</artifactId>
123             </plugin>
124         </plugins>
125     </build>
126
127   <!--
128       Maven Site Configuration
129
130       The following configuration is necessary for maven-site-plugin to
131       correctly identify the correct deployment path for OpenDaylight Maven
132       sites.
133   -->
134   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
135
136   <distributionManagement>
137     <site>
138       <id>opendaylight-site</id>
139       <url>${nexus.site.url}/${project.artifactId}/</url>
140     </site>
141   </distributionManagement>
142
143 </project>