a7a611dd71953f57c685489a1c7e786b796b8855
[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.7.0-SNAPSHOT</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.2</version>
44             <scope>provided</scope>
45         </dependency>
46         <dependency>
47             <groupId>org.apache.maven</groupId>
48             <artifactId>maven-artifact</artifactId>
49             <version>2.0</version>
50         </dependency>
51         <dependency>
52             <groupId>com.jcabi</groupId>
53             <artifactId>jcabi-maven-slf4j</artifactId>
54             <version>0.8</version>
55         </dependency>
56         <dependency>
57             <groupId>${project.groupId}</groupId>
58             <artifactId>yang-parser-impl</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>${project.groupId}</groupId>
62             <artifactId>yang-maven-plugin-spi</artifactId>
63         </dependency>
64
65         <dependency>
66             <groupId>org.sonatype.plexus</groupId>
67             <artifactId>plexus-build-api</artifactId>
68         </dependency>
69
70         <dependency>
71             <groupId>commons-io</groupId>
72             <artifactId>commons-io</artifactId>
73         </dependency>
74
75         <dependency>
76             <groupId>${project.groupId}</groupId>
77             <artifactId>yang-maven-plugin-spi</artifactId>
78             <version>${project.version}</version>
79             <type>test-jar</type>
80             <scope>test</scope>
81         </dependency>
82         <dependency>
83             <groupId>org.mockito</groupId>
84             <artifactId>mockito-core</artifactId>
85         </dependency>
86         <dependency>
87             <groupId>junit</groupId>
88             <artifactId>junit</artifactId>
89         </dependency>
90     </dependencies>
91
92     <dependencyManagement>
93         <dependencies>
94             <dependency>
95                 <groupId>org.sonatype.sisu</groupId>
96                 <artifactId>sisu-inject-plexus</artifactId>
97                 <version>2.5.0</version>
98             </dependency>
99         </dependencies>
100     </dependencyManagement>
101
102     <reporting>
103         <plugins>
104             <plugin>
105                 <groupId>org.apache.maven.plugins</groupId>
106                 <artifactId>maven-plugin-plugin</artifactId>
107                 <version>3.2</version>
108             </plugin>
109         </plugins>
110     </reporting>
111
112     <build>
113         <plugins>
114             <plugin>
115                 <groupId>org.apache.felix</groupId>
116                 <artifactId>maven-bundle-plugin</artifactId>
117                 <configuration>
118                     <supportedProjectTypes>
119                         <supportedProjectType>maven-plugin</supportedProjectType>
120                     </supportedProjectTypes>
121                 </configuration>
122             </plugin>
123             <plugin>
124                 <groupId>org.apache.maven.plugins</groupId>
125                 <artifactId>maven-plugin-plugin</artifactId>
126                 <version>3.2</version>
127                 <configuration>
128                     <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
129                 </configuration>
130                 <executions>
131                     <execution>
132                         <id>mojo-descriptor</id>
133                         <goals>
134                             <goal>descriptor</goal>
135                         </goals>
136                     </execution>
137                 </executions>
138             </plugin>
139         </plugins>
140     </build>
141
142 </project>