You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2016/02/24 00:22:20 UTC
[27/35] incubator-tinkerpop git commit: Downloading hadoop
winutils.exe when using windows
Downloading hadoop winutils.exe when using windows
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/a6cfc3b8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/a6cfc3b8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/a6cfc3b8
Branch: refs/heads/TINKERPOP-1166
Commit: a6cfc3b822dc00107375f175003fb9379201b21d
Parents: daa6379
Author: Marvin Froeder <ma...@vizexplorer.com>
Authored: Mon Feb 1 17:19:55 2016 +1300
Committer: Marvin Froeder <ma...@vizexplorer.com>
Committed: Mon Feb 22 09:30:54 2016 +1300
----------------------------------------------------------------------
pom.xml | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/a6cfc3b8/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 62eb81c..311ddad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1001,5 +1001,45 @@ limitations under the License.
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>windows</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ <os>
+ <family>windows</family>
+ </os>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>wagon-maven-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <id>download-hadoop-winutils</id>
+ <phase>generate-test-resources</phase>
+ <goals>
+ <goal>download-single</goal>
+ </goals>
+ <configuration>
+ <url>http://public-repo-1.hortonworks.com/</url>
+ <fromFile>hdp-win-alpha/winutils.exe</fromFile>
+ <toDir>${project.build.directory}/hadoop_home/bin</toDir>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>-Dlog4j.configuration=${log4j-test.properties} -Dbuild.dir=${project.build.directory} -Dhadoop.home.dir=${project.build.directory}/hadoop_home</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>