Remove superfluous plugin dance 55/96655/3
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 24 Jun 2021 10:12:15 +0000 (12:12 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 24 Jun 2021 10:21:23 +0000 (12:21 +0200)
FileGenerator-driven directories are maintained by yang-maven-plugin
itself, there is no need to twiddle with directories here.

Change-Id: I819c622c1816e9f4d4663a68ab20f7187c0ee346
JIRA: MDSAL-232
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/binding-parent/pom.xml

index 5ad682c100b58903415599e4642a1ae5f88f94b2..4556de23af2f381881c024c067ba174b5410acc4 100644 (file)
     <artifactId>binding-parent</artifactId>
     <packaging>pom</packaging>
 
-    <properties>
-        <salGeneratorPath>${project.build.directory}/generated-sources/mdsal-binding</salGeneratorPath>
-    </properties>
-
     <build>
         <!-- https://bugs.opendaylight.org/show_bug.cgi?id=6252 -->
         <resources>
                                 </execution>
                             </executions>
                         </plugin>
-                        <plugin>
-                            <artifactId>maven-clean-plugin</artifactId>
-                            <configuration>
-                                <filesets>
-                                    <fileset>
-                                        <directory>${salGeneratorPath}</directory>
-                                        <includes>
-                                            <include>**</include>
-                                        </includes>
-                                    </fileset>
-                                </filesets>
-                            </configuration>
-                        </plugin>
-                        <plugin>
-                            <groupId>org.codehaus.mojo</groupId>
-                            <artifactId>build-helper-maven-plugin</artifactId>
-                            <executions>
-                                <execution>
-                                    <id>add-yang-sources</id>
-                                    <phase>generate-sources</phase>
-                                    <goals>
-                                        <goal>add-source</goal>
-                                    </goals>
-                                    <configuration>
-                                        <sources>
-                                            <source>${salGeneratorPath}</source>
-                                        </sources>
-                                    </configuration>
-                                </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>${salGeneratorPath}</excludeRoot>
-                                        </excludeRoots>
-                                    </configuration>
-                                </execution>
-                            </executions>
-                        </plugin>
                     </plugins>
                 </pluginManagement>
                 <plugins>