Commons Validator.
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..
Here is the list of declaration for commons-validator. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>commons-validator</groupId> <artifactId>commons-validator</artifactId> <version>1.4.0</version> </dependency>
If you think this Maven repository POM file listing for commons-validator is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Apache License.
The commons-validator-1.4.0 has 4 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Data Structure | commons-beanutils 1.8.3 BeanUtils provides an easy-to-use but flexible wrapper around reflection and introspection. | 121 |
XML | commons-digester 1.8 The Digester package lets you configure an XML->Java object mapping module which triggers certain actions called rules whenever a particular pattern of nested XML elements is recognized. | 40 |
Log | commons-logging 1.1.1 Commons Logging is a thin adapter allowing configurable bridging to other, well known logging systems. | 1143 |
JUnit | junit 3.8.2 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 555 |
The following plugins are used in the commons-validator-1.4.0.jar
The following packages are defined in the commons-validator-1.4.0.jar
org.apache.commons.validator org.apache.commons.validator.routines org.apache.commons.validator.routines.checkdigit org.apache.commons.validator.util
Here is the content of the POM file.
<?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>23</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>commons-validator</groupId> <artifactId>commons-validator</artifactId> <version>1.4.0</version> <name>Commons 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://commons.apache.org/validator/</url> <issueManagement> <system>jira</system> <url>http://issues.apache.org/jira/browse/VALIDATOR</url> </issueManagement> <inceptionYear>2002</inceptionYear> <contributors> <contributor> <name>Makoto Uchino</name> </contributor> </contributors> <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/validator/tags/VALIDATOR_1_4_0_RC2</connection> <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/validator/tags/VALIDATOR_1_4_0_RC2</developerConnection> <url>http://svn.apache.org/viewvc/commons/proper/validator/tags/VALIDATOR_1_4_0_RC2</url> </scm> <distributionManagement> <!-- Cannot define in parent ATM, see COMMONSSITE-26 --> <site> <id>apache.website</id> <name>Apache Commons Release Site</name> <url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/validator/</url> </site> </distributionManagement> <properties> <maven.compile.source>1.4</maven.compile.source> <maven.compile.target>1.4</maven.compile.target> <commons.componentid>validator</commons.componentid> <commons.release.version>1.4.0</commons.release.version> <commons.rc.version>RC2</commons.rc.version> <commons.release.desc>(requires JDK 1.4)</commons.release.desc> <commons.release.2.version>1.3.1</commons.release.2.version> <commons.release.2.desc>(requires JDK 1.3)</commons.release.2.desc> <commons.release.2.binary.suffix /> <commons.jira.id>VALIDATOR</commons.jira.id> <commons.jira.pid>12310494</commons.jira.pid> </properties> <build> <resources> <resource> <directory>${basedir}</directory> <targetPath>META-INF</targetPath> <includes> <include>NOTICE.txt</include> <include>LICENSE.txt</include> </includes> </resource> <resource> <directory>${basedir}/src/main/resources</directory> </resource> <resource> <directory>${basedir}/src/javascript</directory> <includes> <include>**/*.js</include> </includes> </resource> </resources> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>javascript.compress</id> <phase>prepare-package</phase> <configuration> <tasks> <ant antfile="build-javascript.xml" target="compress"> <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>${basedir}/src/main/assembly/bin.xml</descriptor> <descriptor>${basedir}/src/main/assembly/src.xml</descriptor> </descriptors> <tarLongFileMode>gnu</tarLongFileMode> <attach>false</attach> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>1.8.3</version> </dependency> <dependency> <groupId>commons-digester</groupId> <artifactId>commons-digester</artifactId> <version>1.8</version> <!-- exclude older version and use declared-only --> <exclusions> <exclusion> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> </exclusion> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1.1</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.2</version> <scope>test</scope> </dependency> </dependencies> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changes-plugin</artifactId> <version>2.0</version> <configuration> <xmlPath>${basedir}/src/changes/changes.xml</xmlPath> <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate> </configuration> <reportSets> <reportSet> <reports> <report>changes-report</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.7</version> <configuration> <configLocation>${basedir}/checkstyle.xml</configLocation> <enableRulesSummary>false</enableRulesSummary> <headerFile>${basedir}/license-header.txt</headerFile> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.5.1</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> <version>2.2.3</version> <configuration> <comparisonVersion>1.3.1</comparisonVersion> <minSeverity>info</minSeverity> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.3.2</version> <configuration> <threshold>Normal</threshold> <effort>Default</effort> <!--excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile--> </configuration> </plugin> </plugins> </reporting> <profiles> <profile> <id>rc</id> <distributionManagement> <!-- Cannot define in parent ATM, see COMMONSSITE-26 --> <site> <id>apache.website</id> <name>Apache Commons Release Candidate Staging Site</name> <url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/builds/commons/${commons.componentid}/${commons.release.version}/${commons.rc.version}/site</url> </site> </distributionManagement> </profile> </profiles> </project>