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 <groupId>org.apache.maven.plugins</groupId>
89 <artifactId>maven-jar-plugin</artifactId>
90 <version>${maven.jar.version}</version>
93 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
98 <groupId>org.apache.felix</groupId>
99 <artifactId>maven-bundle-plugin</artifactId>
100 <version>${maven.bundle.version}</version>
101 <extensions>true</extensions>
104 <id>bundle-manifest</id>
105 <phase>process-classes</phase>
107 <goal>manifest</goal>
112 <!--This plugin's configuration is used to store Eclipse
113 m2e settings only. It has no influence on the Maven build itself. -->
115 <groupId>org.eclipse.m2e</groupId>
116 <artifactId>lifecycle-mapping</artifactId>
117 <version>1.0.0</version>
119 <lifecycleMappingMetadata>
122 <pluginExecutionFilter>
123 <groupId>org.opendaylight.yangtools</groupId>
124 <artifactId>yang-maven-plugin</artifactId>
125 <versionRange>[0.5,)</versionRange>
131 </pluginExecutionFilter>
137 <pluginExecutionFilter>
138 <groupId>org.apache.felix</groupId>
139 <artifactId>maven-bundle-plugin</artifactId>
140 <versionRange>[1.0,)</versionRange>
142 <goal>manifest</goal>
144 </pluginExecutionFilter>
150 </lifecycleMappingMetadata>
159 <groupId>org.opendaylight.yangtools</groupId>
160 <artifactId>yang-binding</artifactId>
161 <version>${yang.version}</version>
164 <groupId>org.opendaylight.yangtools</groupId>
165 <artifactId>yang-common</artifactId>
166 <version>${yang.version}</version>