You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bval.apache.org by mb...@apache.org on 2011/05/28 01:09:27 UTC

svn commit: r1128511 [2/2] - in /incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic: ./ extval-shared-tests/ extval-shared-tests/java/ extval-shared-tests/java/org/ extval-shared-tests/java/org/apache/ extval-shared-tests/java/org/apache/bval/ extva...

Added: incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval-shared-tests/src/main/resources/META-INF/validation.xml
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval-shared-tests/src/main/resources/META-INF/validation.xml?rev=1128511&view=auto
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval-shared-tests/src/main/resources/META-INF/validation.xml (added)
+++ incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval-shared-tests/src/main/resources/META-INF/validation.xml Fri May 27 23:09:25 2011
@@ -0,0 +1,29 @@
+<?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.
+-->
+<validation-config
+	xmlns="http://jboss.org/xml/ns/javax/validation/configuration"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.0.xsd">
+	<default-provider>org.apache.bval.jsr303.ApacheValidationProvider
+	</default-provider>
+    <constraint-mapping>META-INF/validation/constraint-definitions.xml</constraint-mapping>
+	<property name="apache.bval.validator-factory-classname">org.apache.bval.jsr303.dynamic.DynamicValidatorFactory
+	</property>
+</validation-config>

Propchange: incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval-shared-tests/src/main/resources/META-INF/validation.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval-shared-tests/src/main/resources/META-INF/validation/constraint-definitions.xml
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval-shared-tests/src/main/resources/META-INF/validation/constraint-definitions.xml?rev=1128511&view=auto
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval-shared-tests/src/main/resources/META-INF/validation/constraint-definitions.xml (added)
+++ incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval-shared-tests/src/main/resources/META-INF/validation/constraint-definitions.xml Fri May 27 23:09:25 2011
@@ -0,0 +1,28 @@
+<?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.
+-->
+<constraint-mappings xmlns="http://jboss.org/xml/ns/javax/validation/mapping"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/mapping validation-mapping-1.0.xsd">
+    <constraint-definition annotation="org.apache.myfaces.extensions.validator.test.beanval.validation.ClassLevelEqual">
+        <validated-by include-existing-validators="true">
+            <value>org.apache.bval.jsr303.dynamic.extval.validation.ClassLevelEqualValidatorForBean</value>
+        </validated-by>
+    </constraint-definition>
+</constraint-mappings>

Propchange: incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval-shared-tests/src/main/resources/META-INF/validation/constraint-definitions.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval12-tests/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri May 27 23:09:25 2011
@@ -0,0 +1,3 @@
+*.log
+.*
+target

Added: incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval12-tests/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval12-tests/pom.xml?rev=1128511&view=auto
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval12-tests/pom.xml (added)
+++ incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval12-tests/pom.xml Fri May 27 23:09:25 2011
@@ -0,0 +1,203 @@
+<?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.
+--><!--
+	Maven release plugin requires the project tag to be on a single line.
+-->
+<project
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+  xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.bval</groupId>
+    <artifactId>bval-jsr303-dynamic</artifactId>
+    <version>0.4-incubating-SNAPSHOT</version>
+  </parent>
+  <artifactId>bval-jsr303-dynamic-extval12-tests</artifactId>
+  <name>Apache Bean Validation :: bval-jsr303-dynamic-extval12-tests</name>
+  <packaging>pom</packaging>
+  <properties>
+    <extval.version>1.2.5-SNAPSHOT</extval.version>
+    <jsf.version>1.2.5</jsf.version>
+  </properties>
+  <!--profiles>
+    <profile>
+      <id>ide</id>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.bval</groupId>
+          <artifactId>bval-jsr303-dynamic-extval-shared</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles-->
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.bval</groupId>
+      <artifactId>bval-jsr303-dynamic-extval-shared-tests</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.bval</groupId>
+      <artifactId>bval-jsr303-dynamic-extval12</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <!--dependency>
+      <groupId>org.apache.bval</groupId>
+      <artifactId>bval-jsr303-dynamic-extval-shared</artifactId>
+      <type>test-jar</type>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.myfaces.extensions.validator.validation-modules</groupId>
+      <artifactId>myfaces-extval-bean-validation</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.myfaces.extensions.validator.test-modules</groupId>
+      <artifactId>myfaces-extval-base-test-infrastructure</artifactId>
+      <type>test-jar</type>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.myfaces.extensions.validator.test-modules</groupId>
+      <artifactId>myfaces-extval-bean-validation-tests</artifactId>
+      <type>test-jar</type>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.commons</groupId>
+      <artifactId>commons-lang3</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-simple</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.myfaces.core</groupId>
+      <artifactId>myfaces-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.myfaces.core</groupId>
+      <artifactId>myfaces-impl</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet.jsp</groupId>
+      <artifactId>jsp-api</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.myfaces.test</groupId>
+      <artifactId>myfaces-test12</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.commons</groupId>
+      <artifactId>commons-proxy2-stub</artifactId>
+    </dependency-->
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>add-test-resources</id>
+            <phase>generate-test-resources</phase>
+            <goals>
+              <goal>add-test-resource</goal>
+            </goals>
+            <configuration>
+              <resources>
+                <resource>
+                  <directory>${project.build.directory}/shared-test-resources</directory>
+                </resource>
+              </resources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>unpack-tests</id>
+            <phase>test-compile</phase>
+            <goals>
+              <goal>unpack-dependencies</goal>
+            </goals>
+            <configuration>
+              <includeArtifactIds>bval-jsr303-dynamic-extval-shared-tests</includeArtifactIds>
+              <includes>**/*.class</includes>
+              <outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
+              <overWriteReleases>false</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+            </configuration>
+          </execution>
+          <execution>
+            <id>unpack-resources</id>
+            <phase>generate-test-resources</phase>
+            <goals>
+              <goal>unpack-dependencies</goal>
+            </goals>
+            <configuration>
+              <includeArtifactIds>bval-jsr303-dynamic-extval-shared-tests</includeArtifactIds>
+              <excludes>**/*.class</excludes>
+              <outputDirectory>${project.build.directory}/shared-test-resources</outputDirectory>
+              <overWriteReleases>false</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>test</id>
+            <phase>test</phase>
+            <goals>
+              <goal>test</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/extval12-tests/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/pom.xml?rev=1128511&r1=1128510&r2=1128511&view=diff
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/pom.xml (original)
+++ incubator/bval/sandbox/lang3-work/bval-jsr303-dynamic/pom.xml Fri May 27 23:09:25 2011
@@ -141,5 +141,7 @@
     <module>extval-shared</module>
     <module>extval12</module>
     <module>extval20</module>
+    <module>extval-shared-tests</module>
+    <module>extval12-tests</module>
   </modules>
 </project>