ed53da2da7256e837020711f6f3fa6fbe961f432
[mdsal.git] / binding / maven-sal-api-gen-plugin / 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.mdsal</groupId>
14         <artifactId>mdsal-binding</artifactId>
15         <version>0.9.2-SNAPSHOT</version>
16     </parent>
17     <modelVersion>4.0.0</modelVersion>
18     <artifactId>maven-sal-api-gen-plugin</artifactId>
19
20     <dependencies>
21         <dependency>
22             <groupId>org.opendaylight.yangtools</groupId>
23             <artifactId>yang-maven-plugin-spi</artifactId>
24         </dependency>
25         <dependency>
26             <groupId>org.opendaylight.mdsal</groupId>
27             <artifactId>mdsal-binding-generator-api</artifactId>
28         </dependency>
29         <dependency>
30             <groupId>org.opendaylight.mdsal</groupId>
31             <artifactId>mdsal-binding-generator-impl</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>org.opendaylight.mdsal</groupId>
35             <artifactId>mdsal-binding-java-api-generator</artifactId>
36         </dependency>
37
38         <dependency>
39             <groupId>org.opendaylight.yangtools</groupId>
40             <artifactId>yang-data-api</artifactId>
41         </dependency>
42
43         <dependency>
44             <groupId>org.apache.maven</groupId>
45             <artifactId>maven-core</artifactId>
46             <scope>provided</scope>
47         </dependency>
48         <dependency>
49             <groupId>org.sonatype.plexus</groupId>
50             <artifactId>plexus-build-api</artifactId>
51             <scope>provided</scope>
52         </dependency>
53
54         <dependency>
55             <groupId>junit</groupId>
56             <artifactId>junit</artifactId>
57             <scope>test</scope>
58         </dependency>
59     </dependencies>
60
61     <build>
62         <plugins>
63             <plugin>
64                 <artifactId>maven-jar-plugin</artifactId>
65                 <configuration>
66                     <archive>
67                         <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
68                     </archive>
69                 </configuration>
70             </plugin>
71             <plugin>
72                 <groupId>org.apache.felix</groupId>
73                 <artifactId>maven-bundle-plugin</artifactId>
74                 <extensions>true</extensions>
75                 <configuration>
76                     <instructions>
77                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
78                         <Import-Package>
79                             !org.apache.maven.plugin.logging,
80                             !org.apache.maven.project
81                             *
82                         </Import-Package>
83                     </instructions>
84                 </configuration>
85             </plugin>
86             <plugin>
87                 <groupId>org.eclipse.xtend</groupId>
88                 <artifactId>xtend-maven-plugin</artifactId>
89             </plugin>
90         </plugins>
91     </build>
92
93
94   <!--
95       Maven Site Configuration
96
97       The following configuration is necessary for maven-site-plugin to
98       correctly identify the correct deployment path for OpenDaylight Maven
99       sites.
100   -->
101   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
102
103   <distributionManagement>
104     <site>
105       <id>opendaylight-site</id>
106       <url>${nexus.site.url}/${project.artifactId}/</url>
107     </site>
108   </distributionManagement>
109
110 </project>