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