1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <groupId>org.opendaylight.yangtools</groupId>
6 <artifactId>yangtools</artifactId>
7 <version>0.5-SNAPSHOT</version>
10 <modelVersion>4.0.0</modelVersion>
11 <groupId>org.opendaylight.yangtools.model</groupId>
12 <artifactId>model-parent</artifactId>
13 <version>0.5.8-SNAPSHOT</version>
14 <packaging>pom</packaging>
15 <name>${project.artifactId}</name>
16 <description>${project.artifactId}</description>
19 <yang.version>0.5.8-SNAPSHOT</yang.version>
20 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26 <!-- <module>model-topology-bgp</module> -->
27 <module>l2-types</module>
33 <groupId>org.opendaylight.yangtools</groupId>
34 <artifactId>yang-maven-plugin</artifactId>
35 <version>${yang.version}</version>
39 <goal>generate-sources</goal>
42 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
46 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
49 target/generated-sources/sal
53 <inspectDependencies>true</inspectDependencies>
59 <groupId>org.opendaylight.yangtools</groupId>
60 <artifactId>maven-sal-api-gen-plugin</artifactId>
61 <version>0.5.8-SNAPSHOT</version>
67 <groupId>org.codehaus.mojo</groupId>
68 <artifactId>build-helper-maven-plugin</artifactId>
69 <version>1.7</version>
72 <phase>generate-sources</phase>
74 <goal>add-source</goal>
78 <source>target/generated-sources/sal</source>
88 <artifactId>maven-jar-plugin</artifactId>
91 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
96 <groupId>org.apache.felix</groupId>
97 <artifactId>maven-bundle-plugin</artifactId>
98 <version>${maven.bundle.version}</version>
99 <extensions>true</extensions>
102 <id>bundle-manifest</id>
103 <phase>process-classes</phase>
105 <goal>manifest</goal>
110 <!--This plugin's configuration is used to store Eclipse
111 m2e settings only. It has no influence on the Maven build itself. -->
113 <groupId>org.eclipse.m2e</groupId>
114 <artifactId>lifecycle-mapping</artifactId>
115 <version>1.0.0</version>
117 <lifecycleMappingMetadata>
120 <pluginExecutionFilter>
121 <groupId>org.opendaylight.yangtools</groupId>
122 <artifactId>yang-maven-plugin</artifactId>
123 <versionRange>[0.5,)</versionRange>
129 </pluginExecutionFilter>
135 <pluginExecutionFilter>
136 <groupId>org.apache.felix</groupId>
137 <artifactId>maven-bundle-plugin</artifactId>
138 <versionRange>[1.0,)</versionRange>
140 <goal>manifest</goal>
142 </pluginExecutionFilter>
148 </lifecycleMappingMetadata>
157 <groupId>org.opendaylight.yangtools</groupId>
158 <artifactId>yang-binding</artifactId>
159 <version>${yang.version}</version>
162 <groupId>org.opendaylight.yangtools</groupId>
163 <artifactId>yang-common</artifactId>
164 <version>${yang.version}</version>