Bump odlparent to 6.0.0
[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>6.0.0</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>4.0.0-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>4.0.0-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>org.opendaylight.yangtools</groupId>
69             <artifactId>yang-parser-impl</artifactId>
70         </dependency>
71         <dependency>
72             <groupId>org.opendaylight.yangtools</groupId>
73             <artifactId>yang-test-util</artifactId>
74             <scope>test</scope>
75         </dependency>
76         <dependency>
77             <groupId>org.opendaylight.yangtools</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>org.opendaylight.yangtools</groupId>
88             <artifactId>yang-maven-plugin-spi</artifactId>
89             <version>${project.version}</version>
90             <type>test-jar</type>
91             <scope>test</scope>
92         </dependency>
93     </dependencies>
94
95     <reporting>
96         <plugins>
97             <plugin>
98                 <groupId>org.apache.maven.plugins</groupId>
99                 <artifactId>maven-plugin-plugin</artifactId>
100             </plugin>
101         </plugins>
102     </reporting>
103
104     <build>
105         <plugins>
106             <plugin>
107                 <groupId>org.apache.felix</groupId>
108                 <artifactId>maven-bundle-plugin</artifactId>
109                 <configuration>
110                     <supportedProjectTypes>
111                         <supportedProjectType>maven-plugin</supportedProjectType>
112                     </supportedProjectTypes>
113                 </configuration>
114             </plugin>
115             <plugin>
116                 <groupId>org.apache.maven.plugins</groupId>
117                 <artifactId>maven-plugin-plugin</artifactId>
118                 <configuration>
119                     <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
120                 </configuration>
121                 <executions>
122                     <execution>
123                         <id>mojo-descriptor</id>
124                         <goals>
125                             <goal>descriptor</goal>
126                         </goals>
127                     </execution>
128                 </executions>
129             </plugin>
130         </plugins>
131     </build>
132
133 </project>