Modified: incubator/any23/trunk/plugins/basic-crawler/pom.xml URL: http://svn.apache.org/viewvc/incubator/any23/trunk/plugins/basic-crawler/pom.xml?rev=1371537&r1=1371536&r2=1371537&view=diff ============================================================================== --- incubator/any23/trunk/plugins/basic-crawler/pom.xml (original) +++ incubator/any23/trunk/plugins/basic-crawler/pom.xml Fri Aug 10 00:40:13 2012 @@ -44,10 +44,18 @@ <dependency> <groupId>org.apache.any23</groupId> <artifactId>apache-any23-core</artifactId> - <version>0.7.1-incubating-SNAPSHOT</version> + <version>${project.parent.version}</version> <scope>provided</scope> </dependency> + <dependency> + <groupId>org.apache.any23</groupId> + <artifactId>apache-any23-core</artifactId> + <version>${project.parent.version}</version> + <type>test-jar</type> + <scope>test</scope> + </dependency> + <!-- Crawler4j --> <dependency> <groupId>edu.uci.ics</groupId> @@ -99,6 +107,17 @@ </descriptors> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>test-jar</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build>
Modified: incubator/any23/trunk/plugins/basic-crawler/src/test/java/org/apache/any23/cli/CrawlerTest.java URL: http://svn.apache.org/viewvc/incubator/any23/trunk/plugins/basic-crawler/src/test/java/org/apache/any23/cli/CrawlerTest.java?rev=1371537&r1=1371536&r2=1371537&view=diff ============================================================================== --- incubator/any23/trunk/plugins/basic-crawler/src/test/java/org/apache/any23/cli/CrawlerTest.java (original) +++ incubator/any23/trunk/plugins/basic-crawler/src/test/java/org/apache/any23/cli/CrawlerTest.java Fri Aug 10 00:40:13 2012 @@ -50,7 +50,7 @@ public class CrawlerTest extends Any23On public void testCLI() throws IOException, RDFHandlerException, RDFParseException { assumeOnlineAllowed(); - final File outFile = File.createTempFile("crawler-test", ".nq"); + final File outFile = File.createTempFile("crawler-test", ".nq", tempDirectory); outFile.delete(); logger.info( "Outfile: " + outFile.getAbsolutePath() ); Modified: incubator/any23/trunk/pom.xml URL: http://svn.apache.org/viewvc/incubator/any23/trunk/pom.xml?rev=1371537&r1=1371536&r2=1371537&view=diff ============================================================================== --- incubator/any23/trunk/pom.xml (original) +++ incubator/any23/trunk/pom.xml Fri Aug 10 00:40:13 2012 @@ -188,6 +188,7 @@ </mailingLists> <modules> + <module>test-resources</module> <module>core</module> <module>plugins/basic-crawler</module> <module>plugins/html-scraper</module> Propchange: incubator/any23/trunk/test-resources/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Fri Aug 10 00:40:13 2012 @@ -0,0 +1,16 @@ +.settings +bldlib +bldtest +any23.war +bldsrc +any23-*.tar.gz +any23-*.zip +*.ipr +*.iws +*.iml +target +javadoc +*.ser +maven-eclipse.xml +.externalToolBuilders + Added: incubator/any23/trunk/test-resources/pom.xml URL: http://svn.apache.org/viewvc/incubator/any23/trunk/test-resources/pom.xml?rev=1371537&view=auto ============================================================================== --- incubator/any23/trunk/test-resources/pom.xml (added) +++ incubator/any23/trunk/test-resources/pom.xml Fri Aug 10 00:40:13 2012 @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>apache-any23</artifactId> + <groupId>org.apache.any23</groupId> + <version>0.7.1-incubating-SNAPSHOT</version> + <relativePath>../</relativePath> + </parent> + <artifactId>apache-any23-test-resources</artifactId> + <name>Apache Any23 :: Test Resources</name> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>test-jar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> Added: incubator/any23/trunk/test-resources/src/test/resources/application/atom/atom.xml URL: http://svn.apache.org/viewvc/incubator/any23/trunk/test-resources/src/test/resources/application/atom/atom.xml?rev=1371537&view=auto ============================================================================== --- incubator/any23/trunk/test-resources/src/test/resources/application/atom/atom.xml (added) +++ incubator/any23/trunk/test-resources/src/test/resources/application/atom/atom.xml Fri Aug 10 00:40:13 2012 @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<feed xmlns="http://www.w3.org/2005/Atom/"> + + <title>Example Feed</title> + <link href="http://example.org/"/> + <updated>2003-12-13T18:30:02Z</updated> + <author> + <name>John Doe</name> + </author> + <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id> + + <entry> + <title>Atom-Powered Robots Run Amok</title> + <link href="http://example.org/2003/12/13/atom03"/> + <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> + <updated>2003-12-13T18:30:02Z</updated> + <summary>Some text.</summary> + </entry> + +</feed> Added: incubator/any23/trunk/test-resources/src/test/resources/application/gzip/test1.gzip URL: http://svn.apache.org/viewvc/incubator/any23/trunk/test-resources/src/test/resources/application/gzip/test1.gzip?rev=1371537&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/any23/trunk/test-resources/src/test/resources/application/gzip/test1.gzip ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: incubator/any23/trunk/test-resources/src/test/resources/application/gzip/test2 URL: http://svn.apache.org/viewvc/incubator/any23/trunk/test-resources/src/test/resources/application/gzip/test2?rev=1371537&view=auto ============================================================================== Binary file - no diff available. Propchange: incubator/any23/trunk/test-resources/src/test/resources/application/gzip/test2 ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream
