a103ce8b38e4b2a39168788a474057ea42687d79
[controller.git] / opendaylight / netconf / netconf-auth / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4   ~
5   ~ This program and the accompanying materials are made available under the
6   ~ terms of the Eclipse Public License v1.0 which accompanies this distribution,
7   ~ and is available at http://www.eclipse.org/legal/epl-v10.html
8   -->
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     <modelVersion>4.0.0</modelVersion>
12     <parent>
13         <groupId>org.opendaylight.controller</groupId>
14         <artifactId>netconf-subsystem</artifactId>
15         <version>0.4.0-SNAPSHOT</version>
16         <relativePath>../</relativePath>
17     </parent>
18     <artifactId>netconf-auth</artifactId>
19     <packaging>bundle</packaging>
20     <name>${project.artifactId}</name>
21
22     <dependencies>
23         <dependency>
24             <groupId>org.opendaylight.controller</groupId>
25             <artifactId>config-api</artifactId>
26         </dependency>
27     </dependencies>
28
29     <build>
30         <plugins>
31             <plugin>
32                 <groupId>org.apache.felix</groupId>
33                 <artifactId>maven-bundle-plugin</artifactId>
34             </plugin>
35             <plugin>
36                 <groupId>org.opendaylight.yangtools</groupId>
37                 <artifactId>yang-maven-plugin</artifactId>
38                 <executions>
39                     <execution>
40                         <id>config</id>
41                         <goals>
42                             <goal>generate-sources</goal>
43                         </goals>
44                         <configuration>
45                             <codeGenerators>
46                                 <generator>
47                                     <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
48                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
49                                     <additionalConfiguration>
50                                         <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
51                                     </additionalConfiguration>
52                                 </generator>
53                                 <generator>
54                                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
55                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
56                                 </generator>
57                             </codeGenerators>
58                             <inspectDependencies>true</inspectDependencies>
59                         </configuration>
60                     </execution>
61                 </executions>
62                 <dependencies>
63                     <dependency>
64                         <groupId>org.opendaylight.controller</groupId>
65                         <artifactId>yang-jmx-generator-plugin</artifactId>
66                         <version>${config.version}</version>
67                     </dependency>
68                 </dependencies>
69             </plugin>
70         </plugins>
71     </build>
72
73 </project>