Remove sun.reflect meddling 97/84097/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 30 Aug 2019 15:11:48 +0000 (17:11 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 30 Aug 2019 15:11:48 +0000 (17:11 +0200)
It seems the issue has been somehow resolved, let's remove the
configuration.

Change-Id: Iee9baeb947c142c5749d5a8ab794fc3871990c56
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
docs/pom.xml

index c6010f7df019aa8999f89299e62550db5ead273c..fcf1ffaead5687e8b7c19898d8e3af86aec3a2ec 100644 (file)
                 </executions>
             </plugin>
 
-            <plugin>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <!-- For JDK11 builds we want to remove references to sun.reflect -->
-                        <id>remove-sun.reflect-links</id>
-                        <phase>prepare-package</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <target>
-                                <replace file="${project.build.directory}/src/org/opendaylight/mdsal/binding/dom/codec/jar/bytebuddy/implementation/bind/annotation/Super.java"
-                                    token="{@link sun.reflect" value="{@code sun.reflect" failOnNoReplacements="true"/>
-                                <replace file="${project.build.directory}/src/org/opendaylight/mdsal/binding/dom/codec/jar/bytebuddy/implementation/auxiliary/TypeProxy.java"
-                                    token="{@link sun.reflect" value="{@code sun.reflect" failOnNoReplacements="true"/>
-                            </target>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>build-helper-maven-plugin</artifactId>