Skip to content

Commit

Permalink
[FLINK-1330] [build] Build creates a link in the root directory to th…
Browse files Browse the repository at this point in the history
…e build target directory

This closes apache#333
  • Loading branch information
StephanEwen committed Feb 3, 2015
1 parent 80646b5 commit 0c726f8
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ tmp
.DS_Store
_site
docs/api
build-target
31 changes: 31 additions & 0 deletions flink-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,37 @@ under the License.
</gitDescribe>
</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>
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1043,6 +1043,7 @@ under the License.
<exclude>**/target/**</exclude>
<exclude>docs/_site/**</exclude>
<exclude>**/scalastyle-output.xml</exclude>
<exclude>build-target/**</exclude>
</excludes>
</configuration>
</plugin>
Expand Down

0 comments on commit 0c726f8

Please sign in to comment.