Author: bago
Date: Sun Jul 27 10:09:51 2008
New Revision: 680151
URL: http://svn.apache.org/viewvc?rev=680151&view=rev
Log:
Introduced the openspf-tester module and moved some class there
Added:
james/jspf/branches/multimodule-proposal/openspf-tester/ (with props)
james/jspf/branches/multimodule-proposal/openspf-tester/pom.xml (with
props)
james/jspf/branches/multimodule-proposal/openspf-tester/src/
james/jspf/branches/multimodule-proposal/openspf-tester/src/main/
james/jspf/branches/multimodule-proposal/openspf-tester/src/main/java/
james/jspf/branches/multimodule-proposal/openspf-tester/src/main/java/org/
james/jspf/branches/multimodule-proposal/openspf-tester/src/main/java/org/apache/
james/jspf/branches/multimodule-proposal/openspf-tester/src/main/java/org/apache/james/
james/jspf/branches/multimodule-proposal/openspf-tester/src/main/java/org/apache/james/jspf/
james/jspf/branches/multimodule-proposal/openspf-tester/src/main/java/org/apache/james/jspf/dnsserver/
- copied from r680142,
james/jspf/branches/multimodule-proposal/resolver/src/test/java/org/apache/james/jspf/dnsserver/
james/jspf/branches/multimodule-proposal/openspf-tester/src/test/
Removed:
james/jspf/branches/multimodule-proposal/resolver/src/test/java/org/apache/james/jspf/dnsserver/
Modified:
james/jspf/branches/multimodule-proposal/pom.xml
james/jspf/branches/multimodule-proposal/resolver/pom.xml
Propchange: james/jspf/branches/multimodule-proposal/openspf-tester/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Jul 27 10:09:51 2008
@@ -0,0 +1 @@
+target
Added: james/jspf/branches/multimodule-proposal/openspf-tester/pom.xml
URL:
http://svn.apache.org/viewvc/james/jspf/branches/multimodule-proposal/openspf-tester/pom.xml?rev=680151&view=auto
==============================================================================
--- james/jspf/branches/multimodule-proposal/openspf-tester/pom.xml (added)
+++ james/jspf/branches/multimodule-proposal/openspf-tester/pom.xml Sun Jul 27
10:09:51 2008
@@ -0,0 +1,242 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<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/maven-v4_0_0.xsd">
+<!--
+ 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.
+-->
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-openspf-tester</artifactId>
+ <parent>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-jspf</artifactId>
+ <version>0.9.7-SNAPSHOT</version>
+ <!-- Either this really points to the james-project/pom.xml or you
+ will have to tune the local repository, later, in this file -->
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <name>Apache JAMES OpenSPF Tester</name>
+ <description>
+ Apache James jSPF OpenSPF Tester tool to test rfc4408 compliance.
+ </description>
+
+ <dependencies>
+ <dependency>
+ <groupId>dnsjava</groupId>
+ <artifactId>dnsjava</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>uk.nominet</groupId>
+ <artifactId>dnsjnio</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jvyaml</groupId>
+ <artifactId>jvyaml</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-cli</groupId>
+ <artifactId>commons-cli</artifactId>
+ </dependency>
+ </dependencies>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.3</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.3</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.3</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <targetjdk>1.4</targetjdk>
+ <rulesets>
+ <ruleset>/rulesets/basic.xml</ruleset>
+ <ruleset>/rulesets/controversial.xml</ruleset>
+ </rulesets>
+ <format>xml</format>
+ <linkXref>true</linkXref>
+ <sourceEncoding>utf-8</sourceEncoding>
+ <minimumTokens>100</minimumTokens>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>2.0-beta-5</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rat-maven-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <!-- 3rd party resources described in NOTICE:
+ see the maven-remote-resources-plugin configuration, in this
file -->
+
<exclude>src/test/resources/org/apache/james/jspf/pyspf-tests.yml</exclude>
+
<exclude>src/test/resources/org/apache/james/jspf/rfc4408-tests.yml</exclude>
+
<exclude>src/test/resources/org/apache/james/jspf/tests.yml</exclude>
+
<exclude>src/test/resources/org/apache/james/jspf/test_live.txt</exclude>
+
<exclude>src/test/resources/org/apache/james/jspf/test_parser.txt</exclude>
+
<exclude>src/test/resources/org/apache/james/jspf/test_rfc_examples.txt</exclude>
+ <!-- 3rd party descriptors distributed via maven repositories
+ and included "as is" -->
+ <exclude>stage/commons-cli/poms/commons-cli-1.1.pom</exclude>
+
<exclude>stage/org.apache.james/xmls/james-parent-1.1-site.xml</exclude>
+
<exclude>stage/org.apache.james/xmls/james-parent-1.1-site_en.xml</exclude>
+
<exclude>stage/org.apache.james/xmls/james-project-1.2-site.xml</exclude>
+
<exclude>stage/org.apache.james/xmls/james-project-1.2-site_en.xml</exclude>
+ <exclude>release.properties</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>rat-maven-plugin</artifactId>
+ <version>1.0-alpha-3</version>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <mainClass>org.apache.james.jspf.impl.SPFQuery</mainClass>
+ <packageName>org.apache.james.jspf</packageName>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ <manifestEntries>
+ <mode>development</mode>
+ <url>${pom.url}</url>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.4</source>
+ <target>1.4</target>
+ <encoding>iso8859-1</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.3</version>
+ <executions>
+ <execution>
+ <id>create-javadocs</id> <!-- this is used for inheritance merges
-->
+ <phase>package</phase> <!-- append to the packaging phase. -->
+ <goals>
+ <goal>javadoc</goal> <!-- goals == mojos -->
+ <goal>jar</goal> <!-- goals == mojos -->
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- Add NOTICE and LICENSE to generated JAR -->
+ <plugin>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <version>1.0-alpha-5</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <resourceBundles>
+
<resourceBundle>org.apache:apache-jar-resource-bundle:1.2</resourceBundle>
+ </resourceBundles>
+ <properties>
+ <!-- <preProjectText>PRE PROCESS TEXT</preProjectText>
-->
+ <postProjectText>This product includes/uses software,
JUnit (http://www.junit.org/),
+developed by Kent Beck, Erich Gamma, and David Saff
+License: Common Public License Version 1.0
(http://www.opensource.org/licenses/cpl.php)
+
+This product has been inspired from the spfjava library
+written by Roger Fullerton and Neil Murray.
+
+This product contains DNS-aware tests inspired by DNSJava
+test code written and copyrighted by Brian Wellington, too.
+(see src\test\java\org\apache\james\jspf\dnsserver\ files)
+
+This product contains resources (SPF parser tests: test_parser.txt
+and test_rfc_examples.txt) derived from the libspf2 library
+(http://www.libspf2.org/) and distributed under the BSD license
+and copyright by Wayne Schlitt, Shevek.
+(see src\test\resources\org\apache\james\jspf\libspf2.LICENSE)
+
+This product contains resources (rfc4408-tests.yml) from the
+openspf group, distributed under the BSD license and copyright
+by Stuart D. Gathman and Julian Mehnle.
+(see src\test\resources\org\apache\james\jspf\rfc4408-tests.LICENSE)
+
+This product contains resources (tests.yml, pyspf-tests.yml)
+from the pyspf library (http://cheeseshop.python.org/pypi/pyspf)
+distributed under the Python Software Foundation License and
+copyright by Terence Way, Stuart Gathman ([EMAIL PROTECTED]) and
+Scott Kitterman.
+(see src\test\resources\org\apache\james\jspf\pyspf.LICENSE)
+
+This file is automatically generated by dependencies declared in pom.xml
+
</postProjectText>
+ <addLicense>true</addLicense>
+ </properties>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Propchange: james/jspf/branches/multimodule-proposal/openspf-tester/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: james/jspf/branches/multimodule-proposal/openspf-tester/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: james/jspf/branches/multimodule-proposal/pom.xml
URL:
http://svn.apache.org/viewvc/james/jspf/branches/multimodule-proposal/pom.xml?rev=680151&r1=680150&r2=680151&view=diff
==============================================================================
--- james/jspf/branches/multimodule-proposal/pom.xml (original)
+++ james/jspf/branches/multimodule-proposal/pom.xml Sun Jul 27 10:09:51 2008
@@ -79,6 +79,7 @@
<modules>
<module>stage</module>
<module>resolver</module>
+ <module>openspf-tester</module>
</modules>
<issueManagement>
@@ -95,6 +96,11 @@
<dependencyManagement>
<dependencies>
<dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-openspf-tester</artifactId>
+ <version>0.9.7-SNAPSHOT</version>
+ </dependency>
+ <dependency>
<groupId>dnsjava</groupId>
<artifactId>dnsjava</artifactId>
<version>2.0.6</version>
@@ -119,7 +125,6 @@
<groupId>org.jvyaml</groupId>
<artifactId>jvyaml</artifactId>
<version>0.2.1</version>
- <scope>test</scope>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
Modified: james/jspf/branches/multimodule-proposal/resolver/pom.xml
URL:
http://svn.apache.org/viewvc/james/jspf/branches/multimodule-proposal/resolver/pom.xml?rev=680151&r1=680150&r2=680151&view=diff
==============================================================================
--- james/jspf/branches/multimodule-proposal/resolver/pom.xml (original)
+++ james/jspf/branches/multimodule-proposal/resolver/pom.xml Sun Jul 27
10:09:51 2008
@@ -58,6 +58,11 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.apache.james</groupId>
+ <artifactId>apache-openspf-tester</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
</dependency>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]