You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ni...@apache.org on 2007/01/07 08:31:31 UTC

svn commit: r493674 - in /jakarta/commons/proper/validator/trunk: pom.xml src/main/ src/main/assembly/ src/main/assembly/bin.xml src/main/assembly/src.xml src/site/ src/site/resources/ src/site/site.xml

Author: niallp
Date: Sat Jan  6 23:31:30 2007
New Revision: 493674

URL: http://svn.apache.org/viewvc?view=rev&rev=493674
Log:
Add maven2 build

Added:
    jakarta/commons/proper/validator/trunk/pom.xml   (with props)
    jakarta/commons/proper/validator/trunk/src/main/
    jakarta/commons/proper/validator/trunk/src/main/assembly/
    jakarta/commons/proper/validator/trunk/src/main/assembly/bin.xml   (with props)
    jakarta/commons/proper/validator/trunk/src/main/assembly/src.xml   (with props)
    jakarta/commons/proper/validator/trunk/src/site/
    jakarta/commons/proper/validator/trunk/src/site/resources/
    jakarta/commons/proper/validator/trunk/src/site/site.xml   (with props)

Added: jakarta/commons/proper/validator/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/validator/trunk/pom.xml?view=auto&rev=493674
==============================================================================
--- jakarta/commons/proper/validator/trunk/pom.xml (added)
+++ jakarta/commons/proper/validator/trunk/pom.xml Sat Jan  6 23:31:30 2007
@@ -0,0 +1,303 @@
+<?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/maven-v4_0_0.xsd">
+    <parent>
+        <groupId>org.apache.commons</groupId>
+        <artifactId>commons-parent</artifactId>
+        <version>2-SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>commons-validator</groupId>
+    <artifactId>commons-validator</artifactId>
+    <version>1.4-SNAPSHOT</version>
+    <name>Validator</name>
+    <description>
+        Commons Validator provides the building blocks for both client side validation
+        and server side data validation. It may be used standalone or with a framework like
+        Struts.
+    </description>
+    <url>http://jakarta.apache.org/commons/validator/</url>
+    <issueManagement>
+        <system>jira</system>
+        <url>http://issues.apache.org/jira/browse/VALIDATOR</url>
+    </issueManagement>
+    <inceptionYear>2002</inceptionYear>
+
+    <developers>
+        <developer>
+            <name>Don Brown</name>
+            <id>mrdon</id>
+            <email>mrdon@apache.org</email>
+        </developer>
+        <developer>
+            <name>Martin Cooper</name>
+            <id>martinc</id>
+            <email>martinc@apache.org</email>
+        </developer>
+        <developer>
+            <name>David Graham</name>
+            <id>dgraham</id>
+            <email>dgraham@apache.org</email>
+        </developer>
+        <developer>
+            <name>Ted Husted</name>
+            <id>husted</id>
+            <email>husted@apache.org</email>
+        </developer>
+        <developer>
+            <name>Rob Leland</name>
+            <id>rleland</id>
+            <email>rleland at apache.org</email>
+        </developer>
+        <developer>
+            <name>Craig McClanahan</name>
+            <id>craigmcc</id>
+            <email>craigmcc@apache.org</email>
+        </developer>
+        <developer>
+            <name>James Mitchell</name>
+            <id>jmitchell</id>
+            <email>jmitchell NOSPAM apache.org</email>
+            <organization>EdgeTech, Inc</organization>
+        </developer>
+        <developer>
+            <name>Niall Pemberton</name>
+            <id>niallp</id>
+        </developer>
+        <developer>
+            <name>James Turner</name>
+            <id>turner</id>
+            <email>turner@apache.org</email>
+        </developer>
+        <developer>
+            <name>David Winterfeldt</name>
+            <id>dwinterfeldt</id>
+            <email>dwinterfeldt@apache.org</email>
+        </developer>
+        <developer>
+            <name>Henri Yandell</name>
+            <id>bayard</id>
+        </developer>
+    </developers>
+
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/commons/proper/validator/trunk/</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/jakarta/commons/proper/validator/trunk/</developerConnection>
+        <url>http://svn.apache.org/viewvc/jakarta/commons/proper/validator/trunk/</url>
+    </scm>
+
+    <properties>
+        <maven.compile.source>1.4</maven.compile.source>
+        <maven.compile.target>1.4</maven.compile.target>
+    </properties> 
+
+    <build>
+        <sourceDirectory>src/share</sourceDirectory>
+        <testSourceDirectory>src/test</testSourceDirectory>
+        <resources>
+            <resource>
+                <directory>${basedir}</directory>
+                <targetPath>META-INF</targetPath>
+                <includes>
+                    <include>LICENSE.txt</include>
+                    <include>NOTICE.txt</include>
+                </includes>
+            </resource>
+            <resource>
+                <targetPath>org/apache/commons/validator/resources</targetPath>
+                <directory>conf/share</directory>
+                <includes>
+                    <include>**/*.dtd</include>
+                </includes>
+            </resource>
+            <resource>
+                <directory>src/share</directory>
+                <includes>
+                    <include>**/digester-rules.xml</include>
+                </includes>
+            </resource>
+            <resource>
+                <directory>src/javascript</directory>
+                <includes>
+                    <include>**/*.js</include>
+                </includes>
+            </resource>
+        </resources>
+        <testResources>
+            <testResource>
+                <directory>src/test</directory>
+                <includes>
+                    <include>**/*.xml</include>
+                </includes>
+            </testResource>
+        </testResources>
+        <plugins>
+            <plugin>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <includes>
+                        <include>**/*Test.java</include>
+                    </includes>
+                    <excludes>
+                        <exclude>**/routines/BaseCalendarValidatorTest.java</exclude>
+                        <exclude>**/routines/BaseNumberValidatorTest.java</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>generate-sources</phase>
+                        <configuration>
+                            <tasks>
+                                <ant antfile="build-javascript.xml" target="compress">
+                                    <property name="proj"  value="${project.directory}"/>
+                                    <property name="base"  value="${basedir}"/>
+                                    <property name="build.dir"  value="${project.build.directory}"/>
+                                    <property name="output.dir" value="${project.build.outputDirectory}"/>
+                                    <property name="final.name" value="${project.build.finalName}"/>
+                                </ant>
+                           </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <configuration>
+                    <descriptors>
+                        <descriptor>src/main/assembly/bin.xml</descriptor>
+                        <descriptor>src/main/assembly/src.xml</descriptor>
+                    </descriptors>
+                    <tarLongFileMode>gnu</tarLongFileMode>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <dependencies>
+
+        <dependency>
+            <groupId>commons-beanutils</groupId>
+            <artifactId>commons-beanutils</artifactId>
+            <version>1.7.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>commons-digester</groupId>
+            <artifactId>commons-digester</artifactId>
+            <version>1.8</version>
+        </dependency>
+
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <version>1.0.4</version>
+        </dependency>
+    
+        <dependency>
+            <groupId>oro</groupId>
+            <artifactId>oro</artifactId>
+            <version>2.0.8</version>
+            <optional>true</optional>
+        </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>3.8.1</version>
+            <scope>test</scope>
+        </dependency>
+
+    </dependencies>
+
+    <reporting>
+        <plugins>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-changes-plugin</artifactId>
+                <configuration>
+                    <xmlPath>${basedir}/xdocs/changes.xml</xmlPath>
+                    <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
+                    <resolutionIds>Fixed</resolutionIds>
+                    <statusIds>Resolved,Closed</statusIds>
+                </configuration>
+                <reportSets>
+                    <reportSet>
+                        <reports>
+                            <report>changes-report</report>
+                            <report>jira-report</report>
+                        </reports>
+                    </reportSet>
+                </reportSets>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <configLocation>conf/share/ValidatorCheckStyle.xml</configLocation>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-site-plugin</artifactId>
+                <configuration>
+                    <moduleExcludes>
+                        <xdoc>**/navigation.xml</xdoc>
+                    </moduleExcludes>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-report-plugin</artifactId>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jxr-plugin</artifactId>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-pmd-plugin</artifactId>
+                <configuration>
+                    <rulesets>
+                        <ruleset>conf/share/ValidatorCheckStyle.xml</ruleset>
+                    </rulesets>
+                </configuration>
+            </plugin>
+        </plugins>
+    </reporting>
+
+</project>

Propchange: jakarta/commons/proper/validator/trunk/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: jakarta/commons/proper/validator/trunk/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: jakarta/commons/proper/validator/trunk/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/validator/trunk/src/main/assembly/bin.xml?view=auto&rev=493674
==============================================================================
--- jakarta/commons/proper/validator/trunk/src/main/assembly/bin.xml (added)
+++ jakarta/commons/proper/validator/trunk/src/main/assembly/bin.xml Sat Jan  6 23:31:30 2007
@@ -0,0 +1,41 @@
+<!--
+ 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.
+-->
+<assembly>
+    <id>bin</id>
+    <formats>
+        <format>tar.gz</format>
+        <format>zip</format>
+    </formats>
+    <includeSiteDirectory>true</includeSiteDirectory>
+    <fileSets>
+        <fileSet>
+            <includes>
+                <include>LICENSE.txt</include>
+                <include>NOTICE.txt</include>
+                <include>RELEASE-NOTES.txt</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>target</directory>
+            <outputDirectory></outputDirectory>
+            <includes>
+                <include>*.jar</include>
+                <include>*.js</include>
+            </includes>
+        </fileSet>
+    </fileSets>
+</assembly>

Propchange: jakarta/commons/proper/validator/trunk/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: jakarta/commons/proper/validator/trunk/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: jakarta/commons/proper/validator/trunk/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/validator/trunk/src/main/assembly/src.xml?view=auto&rev=493674
==============================================================================
--- jakarta/commons/proper/validator/trunk/src/main/assembly/src.xml (added)
+++ jakarta/commons/proper/validator/trunk/src/main/assembly/src.xml Sat Jan  6 23:31:30 2007
@@ -0,0 +1,55 @@
+<!--
+ 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.
+-->
+<assembly>
+    <id>src</id>
+    <formats>
+        <format>tar.gz</format>
+        <format>zip</format>
+    </formats>
+<!--
+    <baseDirectory>${project.build.finalName}-src</baseDirectory>
+ -->
+    <fileSets>
+        <fileSet>
+            <includes>
+                <include>build.properties.sample</include>
+                <include>build.xml</include>
+                <include>build-javascript.xml</include>
+                <include>doap_validator.rdf</include>
+                <include>LICENSE.txt</include>
+                <include>maven.xml</include>
+                <include>NOTICE.txt</include>
+                <include>pom.xml</include>
+                <include>project.properties</include>
+                <include>project.xml</include>
+                <include>RELEASE-NOTES.txt</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>conf</directory>
+        </fileSet>
+        <fileSet>
+            <directory>etc</directory>
+        </fileSet>
+        <fileSet>
+            <directory>src</directory>
+        </fileSet>
+        <fileSet>
+            <directory>xdocs</directory>
+        </fileSet>
+    </fileSets>
+</assembly>

Propchange: jakarta/commons/proper/validator/trunk/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: jakarta/commons/proper/validator/trunk/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: jakarta/commons/proper/validator/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/validator/trunk/src/site/site.xml?view=auto&rev=493674
==============================================================================
--- jakarta/commons/proper/validator/trunk/src/site/site.xml (added)
+++ jakarta/commons/proper/validator/trunk/src/site/site.xml Sat Jan  6 23:31:30 2007
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ 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 name="Validator">
+    <bannerRight>
+        <name>Commons Validator</name>
+        <src>/images/logo.png</src>
+        <href>/index.html</href>
+    </bannerRight>
+
+    <body>
+        <menu name="Validator">
+            <item name="Overview"            href="/index.html"/>
+            <item name="Download"            href="http://jakarta.apache.org/site/downloads/downloads_commons-validator.cgi"/>
+            <item name="Release Notes"       href="/changes-report.html"/>
+            <item name="Dependencies"        href="/dependencies.html"/>
+            <item name="License"             href="/license.html"/>
+        </menu>
+
+        <menu name="Documentation">
+            <item name="Framework"           href="apidocs/org/apache/commons/validator/package-summary.html#package_description"/>
+            <item name="Routines"            href="apidocs/org/apache/commons/validator/routines/package-summary.html#package_description"/>
+            <item name="Wiki"                href="http://wiki.apache.org/jakarta-commons/Validator"/>
+
+            <item name="JavaDocs">
+                <item name="1.3.1 Release"   href="http://jakarta.apache.org/commons/validator/api-1.3.1/"/>
+                <item name="1.3.0 Release"   href="http://jakarta.apache.org/commons/validator/api-1.3.0/"/>
+                <item name="1.2.0 Release"   href="http://jakarta.apache.org/commons/validator/api-1.2.0/"/>
+                <item name="1.1.4 Release"   href="http://jakarta.apache.org/commons/validator/api-1.1.4/"/>
+                <item name="1.0.2 Release"   href="http://jakarta.apache.org/commons/validator/api-1.0.2/"/>
+            </item>
+        </menu>
+    
+        <menu name="Development">
+            <item name="JavaDocs"            href="/apidocs/index.html"/>
+            <item name="Mailing Lists"       href="/mail-lists.html"/>
+            <item name="Issue Tracking"      href="/issue-tracking.html"/>
+            <item name="Source Repository"   href="/source-repository.html"/>
+            <item name="Building"            href="/building.html"/>
+        </menu>
+
+    </body>
+
+</project>

Propchange: jakarta/commons/proper/validator/trunk/src/site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: jakarta/commons/proper/validator/trunk/src/site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org