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