1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
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">
13 <groupId>org.opendaylight.odlparent</groupId>
14 <artifactId>odlparent</artifactId>
15 <version>3.0.1</version>
19 <modelVersion>4.0.0</modelVersion>
20 <groupId>org.opendaylight.yangtools</groupId>
21 <artifactId>yang-maven-plugin</artifactId>
22 <version>2.0.0</version>
23 <packaging>maven-plugin</packaging>
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.
30 TODO: add sample usage when finished
33 <dependencyManagement>
36 <groupId>org.opendaylight.yangtools</groupId>
37 <artifactId>yangtools-artifacts</artifactId>
38 <version>2.0.0</version>
43 </dependencyManagement>
47 <groupId>org.apache.maven</groupId>
48 <artifactId>maven-core</artifactId>
49 <version>3.3.9</version>
52 <groupId>org.apache.maven</groupId>
53 <artifactId>maven-plugin-api</artifactId>
54 <version>3.3.9</version>
57 <groupId>org.apache.maven.plugin-tools</groupId>
58 <artifactId>maven-plugin-annotations</artifactId>
59 <version>3.4</version>
60 <scope>provided</scope>
63 <groupId>org.apache.maven</groupId>
64 <artifactId>maven-artifact</artifactId>
65 <version>3.3.9</version>
68 <groupId>${project.groupId}</groupId>
69 <artifactId>yang-parser-impl</artifactId>
72 <groupId>${project.groupId}</groupId>
73 <artifactId>yang-test-util</artifactId>
77 <groupId>${project.groupId}</groupId>
78 <artifactId>yang-maven-plugin-spi</artifactId>
82 <groupId>org.sonatype.plexus</groupId>
83 <artifactId>plexus-build-api</artifactId>
87 <groupId>${project.groupId}</groupId>
88 <artifactId>yang-maven-plugin-spi</artifactId>
89 <version>${project.version}</version>
94 <groupId>org.mockito</groupId>
95 <artifactId>mockito-core</artifactId>
98 <groupId>junit</groupId>
99 <artifactId>junit</artifactId>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-plugin-plugin</artifactId>
115 <groupId>org.apache.felix</groupId>
116 <artifactId>maven-bundle-plugin</artifactId>
118 <supportedProjectTypes>
119 <supportedProjectType>maven-plugin</supportedProjectType>
120 </supportedProjectTypes>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-plugin-plugin</artifactId>
127 <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
131 <id>mojo-descriptor</id>
133 <goal>descriptor</goal>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-checkstyle-plugin</artifactId>
142 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
149 Maven Site Configuration
151 The following configuration is necessary for maven-site-plugin to
152 correctly identify the correct deployment path for OpenDaylight Maven
155 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
157 <distributionManagement>
159 <id>opendaylight-site</id>
160 <url>${nexus.site.url}/${project.artifactId}/</url>
162 </distributionManagement>