MARMOTTA-438: fetching the test cases in live during test time to avoid MARMOTTA-480
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/60d0a5b8 Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/60d0a5b8 Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/60d0a5b8 Branch: refs/heads/master Commit: 60d0a5b86aacad17633bc31bbe1b3e1587301b41 Parents: 4652f71 Author: Sergio Fernández <[email protected]> Authored: Fri Apr 4 09:56:49 2014 +0200 Committer: Sergio Fernández <[email protected]> Committed: Fri Apr 4 09:56:49 2014 +0200 ---------------------------------------------------------------------- launchers/marmotta-installer/pom.xml | 1 - parent/pom.xml | 5 +++++ platform/marmotta-ldp/pom.xml | 19 +++++++++++++++++++ .../platform/ldp/testsuite/LdpTestCases.java | 2 +- 4 files changed, 25 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/60d0a5b8/launchers/marmotta-installer/pom.xml ---------------------------------------------------------------------- diff --git a/launchers/marmotta-installer/pom.xml b/launchers/marmotta-installer/pom.xml index f16b6ce..ef8cdea 100644 --- a/launchers/marmotta-installer/pom.xml +++ b/launchers/marmotta-installer/pom.xml @@ -248,7 +248,6 @@ <plugin> <groupId>com.googlecode.maven-download-plugin</groupId> <artifactId>maven-download-plugin</artifactId> - <version>1.1.0</version> <executions> <execution> <id>download-tomcat</id> http://git-wip-us.apache.org/repos/asf/marmotta/blob/60d0a5b8/parent/pom.xml ---------------------------------------------------------------------- diff --git a/parent/pom.xml b/parent/pom.xml index 2a41090..3d2abb6 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -562,6 +562,11 @@ <artifactId>gmaven-plugin</artifactId> <version>1.5</version> </plugin> + <plugin> + <groupId>com.googlecode.maven-download-plugin</groupId> + <artifactId>maven-download-plugin</artifactId> + <version>1.1.0</version> + </plugin> </plugins> </pluginManagement> <plugins> http://git-wip-us.apache.org/repos/asf/marmotta/blob/60d0a5b8/platform/marmotta-ldp/pom.xml ---------------------------------------------------------------------- diff --git a/platform/marmotta-ldp/pom.xml b/platform/marmotta-ldp/pom.xml index ff79dc6..64fa0da 100644 --- a/platform/marmotta-ldp/pom.xml +++ b/platform/marmotta-ldp/pom.xml @@ -76,6 +76,25 @@ <plugins> <plugin> + <groupId>com.googlecode.maven-download-plugin</groupId> + <artifactId>maven-download-plugin</artifactId> + <executions> + <execution> + <id>download-ldp-test-cases</id> + <phase>process-test-resources</phase> + <goals> + <goal>wget</goal> + </goals> + <configuration> + <url>http://www.w3.org/2012/pyRdfa/extract?uri=https%3A%2F%2Fdvcs.w3.org%2Fhg%2Fldpwg%2Fraw-file%2Fdefault%2FTest%2520Cases%2FLDP%2520Test%2520Cases.html&format=turtle&rdfagraph=output&vocab_expansion=false&rdfa_lite=false&embedded_rdf=true&space_preserve=true&vocab_cache=true&vocab_cache_report=false&vocab_cache_refresh=false</url> + <unpack>false</unpack> + <outputDirectory>${project.build.testOutputDirectory}/testsuite/</outputDirectory> + <outputFileName>LDP-Test-Cases-WD-live.ttl</outputFileName> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <groupId>org.apache.marmotta</groupId> <artifactId>buildinfo-maven-plugin</artifactId> <configuration> http://git-wip-us.apache.org/repos/asf/marmotta/blob/60d0a5b8/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/testsuite/LdpTestCases.java ---------------------------------------------------------------------- diff --git a/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/testsuite/LdpTestCases.java b/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/testsuite/LdpTestCases.java index 9091c00..6b6b939 100644 --- a/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/testsuite/LdpTestCases.java +++ b/platform/marmotta-ldp/src/test/java/org/apache/marmotta/platform/ldp/testsuite/LdpTestCases.java @@ -45,7 +45,7 @@ public class LdpTestCases { public final static String BASE = "http://www.w3.org/TR/ldp-test-cases/"; - public final static String MANIFEST_CACHE = "LDP-Test-Cases-WD-20140402"; + public final static String MANIFEST_CACHE = "LDP-Test-Cases-WD-live"; private static Logger log = LoggerFactory.getLogger(LdpTestCases.class);
