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