You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by se...@apache.org on 2015/02/03 14:39:26 UTC
flink git commit: [FLINK-1330] [build] Build creates a link in the
root directory to the build target directory
Repository: flink
Updated Branches:
refs/heads/master 80646b57a -> 0c726f833
[FLINK-1330] [build] Build creates a link in the root directory to the build target directory
This closes #333
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/0c726f83
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/0c726f83
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/0c726f83
Branch: refs/heads/master
Commit: 0c726f833892a03a12cc92d35e7d249369eb0dc9
Parents: 80646b5
Author: Stephan Ewen <se...@apache.org>
Authored: Sat Jan 24 12:19:38 2015 -0800
Committer: Stephan Ewen <se...@apache.org>
Committed: Tue Feb 3 13:05:22 2015 +0100
----------------------------------------------------------------------
.gitignore | 1 +
flink-dist/pom.xml | 31 +++++++++++++++++++++++++++++++
pom.xml | 1 +
3 files changed, 33 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/0c726f83/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index b519d40..522cff5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,4 @@ tmp
.DS_Store
_site
docs/api
+build-target
http://git-wip-us.apache.org/repos/asf/flink/blob/0c726f83/flink-dist/pom.xml
----------------------------------------------------------------------
diff --git a/flink-dist/pom.xml b/flink-dist/pom.xml
index 91359c2..758d86f 100644
--- a/flink-dist/pom.xml
+++ b/flink-dist/pom.xml
@@ -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>
http://git-wip-us.apache.org/repos/asf/flink/blob/0c726f83/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index feb7837..8196d10 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>