Change groupId and versions of netconf artifacts
[netconf.git] / opendaylight / netconf / tools / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4
5   <parent>
6     <groupId>org.opendaylight.netconf</groupId>
7     <artifactId>netconf-subsystem</artifactId>
8     <version>1.0.0-SNAPSHOT</version>
9     <relativePath>../</relativePath>
10   </parent>
11   <artifactId>netconf-tools</artifactId>
12
13   <packaging>pom</packaging>
14   <name>${project.artifactId}</name>
15
16   <modules>
17     <module>netconf-cli</module>
18     <module>netconf-testtool</module>
19   </modules>
20
21   <build>
22     <pluginManagement>
23       <plugins>
24         <plugin>
25           <groupId>org.apache.felix</groupId>
26           <artifactId>maven-bundle-plugin</artifactId>
27           <extensions>true</extensions>
28           <configuration>
29             <instructions>
30               <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
31             </instructions>
32           </configuration>
33         </plugin>
34         <plugin>
35           <groupId>org.opendaylight.yangtools</groupId>
36           <artifactId>yang-maven-plugin</artifactId>
37           <version>${yangtools.version}</version>
38           <dependencies>
39             <dependency>
40               <groupId>org.opendaylight.yangtools</groupId>
41               <artifactId>maven-sal-api-gen-plugin</artifactId>
42               <version>${yangtools.version}</version>
43             </dependency>
44           </dependencies>
45           <executions>
46             <execution>
47               <goals>
48                 <goal>generate-sources</goal>
49               </goals>
50               <configuration>
51                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
52                 <codeGenerators>
53                   <generator>
54                     <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
55                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
56                   </generator>
57                   <generator>
58                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
59                     <outputBaseDir>${project.build.directory}/site/models</outputBaseDir>
60                   </generator>
61                 </codeGenerators>
62                 <inspectDependencies>true</inspectDependencies>
63               </configuration>
64             </execution>
65           </executions>
66         </plugin>
67       </plugins>
68
69     </pluginManagement>
70     <plugins>
71       <plugin>
72         <groupId>org.apache.maven.plugins</groupId>
73         <artifactId>maven-checkstyle-plugin</artifactId>
74         <configuration>
75           <failsOnError>false</failsOnError>
76           <failOnViolation>true</failOnViolation>
77           <configLocation>checkstyle-logging.xml</configLocation>
78           <consoleOutput>true</consoleOutput>
79           <includeTestSourceDirectory>true</includeTestSourceDirectory>
80           <sourceDirectory>${project.basedir}</sourceDirectory>
81           <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
82           <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/,**\/netconf\/test\/tool\/Main.java, **\/netconf\/test\/tool\/client\/stress\/StressClient.java</excludes>
83         </configuration>
84         <dependencies>
85           <dependency>
86             <groupId>org.opendaylight.yangtools</groupId>
87             <artifactId>checkstyle-logging</artifactId>
88             <version>${yangtools.version}</version>
89           </dependency>
90         </dependencies>
91         <executions>
92           <execution>
93             <goals>
94               <goal>check</goal>
95             </goals>
96           </execution>
97         </executions>
98       </plugin>
99       <plugin>
100         <groupId>org.apache.maven.plugins</groupId>
101         <artifactId>maven-compiler-plugin</artifactId>
102       </plugin>
103     </plugins>
104   </build>
105 </project>