<properties>
<config.version>0.5.0-SNAPSHOT</config.version>
<mdsal.version>1.4.0-SNAPSHOT</mdsal.version>
- <yangtools.version>0.9.0-SNAPSHOT</yangtools.version>
- <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
+ <yangtools.version>1.0.0-SNAPSHOT</yangtools.version>
+ <jmxGeneratorPath>target/generated-sources/config-binding</jmxGeneratorPath>
<config.file>src/main/config/default-config.xml</config.file>
</properties>
</execution>
</executions>
</plugin>
+
+ <!-- This has to match the definition in odlparent and exists only
+ because for some reason PMD does not understand wildcards. -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>cpd</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>cpd-check</goal>
+ </goals>
+ <configuration>
+ <excludeRoots>
+ <excludeRoot>${jmxGeneratorPath}</excludeRoot>
+ <excludeRoot>${salGeneratorPath}</excludeRoot>
+ </excludeRoots>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</pluginManagement>
</build>