Skip to content

Commit

Permalink
[FLINK-4732] remove maven junction plugin
Browse files Browse the repository at this point in the history
On Windows, the plugin downloads and executes code from the author's
web site. The downloaded file is not signed in the same way as Maven
artifacts from Maven central which have to be signed with the
developer's key. This could be a potential target for attackers.

This closes apache#2586
  • Loading branch information
mxm committed Oct 4, 2016
1 parent eece0dd commit 5a573c6
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions flink-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -268,35 +268,6 @@ under the License.
</configuration>
</plugin>

<!-- create a symbolic link to the build target in the root directory -->
<plugin>
<groupId>com.pyx4j</groupId>
<artifactId>maven-junction-plugin</artifactId>
<version>1.0.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>link</goal>
</goals>
</execution>
<execution>
<id>unlink</id>
<phase>pre-clean</phase>
<goals>
<goal>unlink</goal>
</goals>
</execution>
</executions>
<configuration>
<links>
<link>
<dst>${project.basedir}/../build-target</dst>
<src>${project.basedir}/target/flink-${project.version}-bin/flink-${project.version}</src>
</link>
</links>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 5a573c6

Please sign in to comment.