Release yangtools
[yangtools.git] / plugin / 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>9.0.15</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>7.0.17</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     <prerequisites>
34         <maven>3.5.2</maven>
35     </prerequisites>
36
37     <dependencyManagement>
38         <dependencies>
39             <dependency>
40                 <groupId>org.opendaylight.yangtools</groupId>
41                 <artifactId>yangtools-artifacts</artifactId>
42                 <version>7.0.17</version>
43                 <scope>import</scope>
44                 <type>pom</type>
45             </dependency>
46         </dependencies>
47     </dependencyManagement>
48
49     <dependencies>
50         <dependency>
51             <groupId>org.apache.maven</groupId>
52             <artifactId>maven-core</artifactId>
53             <version>3.5.2</version>
54         </dependency>
55         <dependency>
56             <groupId>org.apache.maven</groupId>
57             <artifactId>maven-plugin-api</artifactId>
58             <version>3.5.2</version>
59         </dependency>
60         <dependency>
61             <groupId>org.apache.maven.plugin-tools</groupId>
62             <artifactId>maven-plugin-annotations</artifactId>
63             <version>3.5.2</version>
64             <scope>provided</scope>
65         </dependency>
66         <dependency>
67             <groupId>org.apache.maven</groupId>
68             <artifactId>maven-artifact</artifactId>
69             <version>3.5.2</version>
70         </dependency>
71         <dependency>
72             <groupId>org.opendaylight.yangtools</groupId>
73             <artifactId>yang-parser-impl</artifactId>
74         </dependency>
75         <dependency>
76             <groupId>org.opendaylight.yangtools</groupId>
77             <artifactId>yang-test-util</artifactId>
78             <scope>test</scope>
79         </dependency>
80         <dependency>
81             <groupId>org.opendaylight.yangtools</groupId>
82             <artifactId>yang-maven-plugin-spi</artifactId>
83         </dependency>
84
85         <dependency>
86             <groupId>org.sonatype.plexus</groupId>
87             <artifactId>plexus-build-api</artifactId>
88         </dependency>
89
90         <dependency>
91             <groupId>org.opendaylight.yangtools</groupId>
92             <artifactId>yang-maven-plugin-spi</artifactId>
93             <version>${project.version}</version>
94             <type>test-jar</type>
95             <scope>test</scope>
96         </dependency>
97     </dependencies>
98
99     <reporting>
100         <plugins>
101             <plugin>
102                 <groupId>org.apache.maven.plugins</groupId>
103                 <artifactId>maven-plugin-plugin</artifactId>
104             </plugin>
105         </plugins>
106     </reporting>
107
108     <build>
109         <plugins>
110             <plugin>
111                 <groupId>org.apache.felix</groupId>
112                 <artifactId>maven-bundle-plugin</artifactId>
113                 <configuration>
114                     <supportedProjectTypes>
115                         <supportedProjectType>maven-plugin</supportedProjectType>
116                     </supportedProjectTypes>
117                 </configuration>
118             </plugin>
119             <plugin>
120                 <groupId>org.apache.maven.plugins</groupId>
121                 <artifactId>maven-plugin-plugin</artifactId>
122                 <configuration>
123                     <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
124                 </configuration>
125                 <executions>
126                     <execution>
127                         <id>mojo-descriptor</id>
128                         <goals>
129                             <goal>descriptor</goal>
130                         </goals>
131                     </execution>
132                 </executions>
133             </plugin>
134         </plugins>
135     </build>
136
137 </project>