Release Beryllium
[yangtools.git] / yang / yang-maven-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.yangtools</groupId>
14         <artifactId>yangtools-parent</artifactId>
15         <version>0.8.0-Beryllium</version>
16         <relativePath>/../../common/parent/pom.xml</relativePath>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <artifactId>yang-maven-plugin</artifactId>
21     <packaging>maven-plugin</packaging>
22     <description>
23         This plugin is a wrapper for "yang to source code" generation.
24         It can be configured by a set of third-party code generators and resource providers.
25         For further info see available goals.
26         Sample usage:
27
28         TODO: add sample usage when finished
29     </description>
30
31     <dependencies>
32         <dependency>
33             <groupId>org.apache.maven</groupId>
34             <artifactId>maven-core</artifactId>
35         </dependency>
36         <dependency>
37             <groupId>org.apache.maven</groupId>
38             <artifactId>maven-plugin-api</artifactId>
39         </dependency>
40         <dependency>
41             <groupId>org.apache.maven.plugin-tools</groupId>
42             <artifactId>maven-plugin-annotations</artifactId>
43             <version>3.4</version>
44             <scope>provided</scope>
45         </dependency>
46         <dependency>
47             <groupId>org.apache.maven</groupId>
48             <artifactId>maven-artifact</artifactId>
49             <version>3.3.3</version>
50         </dependency>
51         <dependency>
52             <groupId>${project.groupId}</groupId>
53             <artifactId>yang-parser-impl</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>${project.groupId}</groupId>
57             <artifactId>yang-maven-plugin-spi</artifactId>
58         </dependency>
59
60         <dependency>
61             <groupId>org.sonatype.plexus</groupId>
62             <artifactId>plexus-build-api</artifactId>
63         </dependency>
64
65         <dependency>
66             <groupId>commons-io</groupId>
67             <artifactId>commons-io</artifactId>
68         </dependency>
69
70         <dependency>
71             <groupId>${project.groupId}</groupId>
72             <artifactId>yang-maven-plugin-spi</artifactId>
73             <version>${project.version}</version>
74             <type>test-jar</type>
75             <scope>test</scope>
76         </dependency>
77         <dependency>
78             <groupId>org.mockito</groupId>
79             <artifactId>mockito-core</artifactId>
80         </dependency>
81         <dependency>
82             <groupId>junit</groupId>
83             <artifactId>junit</artifactId>
84         </dependency>
85     </dependencies>
86
87     <reporting>
88         <plugins>
89             <plugin>
90                 <groupId>org.apache.maven.plugins</groupId>
91                 <artifactId>maven-plugin-plugin</artifactId>
92             </plugin>
93         </plugins>
94     </reporting>
95
96     <build>
97         <plugins>
98             <plugin>
99                 <groupId>org.apache.felix</groupId>
100                 <artifactId>maven-bundle-plugin</artifactId>
101                 <configuration>
102                     <supportedProjectTypes>
103                         <supportedProjectType>maven-plugin</supportedProjectType>
104                     </supportedProjectTypes>
105                 </configuration>
106             </plugin>
107             <plugin>
108                 <groupId>org.apache.maven.plugins</groupId>
109                 <artifactId>maven-plugin-plugin</artifactId>
110                 <configuration>
111                     <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
112                 </configuration>
113                 <executions>
114                     <execution>
115                         <id>mojo-descriptor</id>
116                         <goals>
117                             <goal>descriptor</goal>
118                         </goals>
119                     </execution>
120                 </executions>
121             </plugin>
122         </plugins>
123     </build>
124
125   <!--
126       Maven Site Configuration
127
128       The following configuration is necessary for maven-site-plugin to
129       correctly identify the correct deployment path for OpenDaylight Maven
130       sites.
131   -->
132   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
133
134   <distributionManagement>
135     <site>
136       <id>opendaylight-site</id>
137       <url>${nexus.site.url}/${project.artifactId}/</url>
138     </site>
139   </distributionManagement>
140 </project>