remove BV 1.0 TCK module
Project: http://git-wip-us.apache.org/repos/asf/bval/repo Commit: http://git-wip-us.apache.org/repos/asf/bval/commit/fc8b020c Tree: http://git-wip-us.apache.org/repos/asf/bval/tree/fc8b020c Diff: http://git-wip-us.apache.org/repos/asf/bval/diff/fc8b020c Branch: refs/heads/master Commit: fc8b020c5381a0cb2c0cc68cc29254937bc39d38 Parents: 20b08de Author: Matt Benson <[email protected]> Authored: Thu Oct 20 22:29:45 2016 +0000 Committer: Matt Benson <[email protected]> Committed: Thu Oct 20 22:29:45 2016 +0000 ---------------------------------------------------------------------- bval-tck/pom.xml | 441 ------------------- .../META-INF/jboss-test-harness.properties | 19 - .../test/resources/custom-jsr303-tck-suite.xml | 45 -- bval-tck/src/test/resources/jndi.properties | 20 - bval-tck/src/test/resources/log4j.xml | 57 --- bval-tck/work-tests-suite.xml | 27 -- 6 files changed, 609 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bval/blob/fc8b020c/bval-tck/pom.xml ---------------------------------------------------------------------- diff --git a/bval-tck/pom.xml b/bval-tck/pom.xml deleted file mode 100644 index 811f809..0000000 --- a/bval-tck/pom.xml +++ /dev/null @@ -1,441 +0,0 @@ -<?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"> - - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.apache.bval</groupId> - <artifactId>bval-parent</artifactId> - <version>1.1.2-SNAPSHOT</version> - </parent> - - <artifactId>bval-tck10-runner</artifactId> - <name>Apache BVal :: bval-tck-runner (TCK Runner)</name> - - <dependencies> - <dependency> - <groupId>org.apache.bval</groupId> - <artifactId>bval-core</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.bval</groupId> - <artifactId>bval-jsr</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.geronimo.specs</groupId> - <artifactId>geronimo-atinject_1.0_spec</artifactId> - <version>1.0</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.geronimo.specs</groupId> - <artifactId>geronimo-jcdi_1.0_spec</artifactId> - <version>1.0</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.geronimo.specs</groupId> - <artifactId>geronimo-interceptor_1.1_spec</artifactId> - <version>1.0</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.geronimo.specs</groupId> - <artifactId>geronimo-ejb_3.1_spec</artifactId> - <version>1.0</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.tomcat</groupId> - <artifactId>tomcat-el-api</artifactId> - </dependency> - <dependency> - <groupId>org.testng</groupId> - <artifactId>testng</artifactId> - <classifier>jdk15</classifier> - <version>5.8</version> - </dependency> - </dependencies> - - <properties> - <jboss.home>/opt/jboss-5.1.0.GA</jboss.home> - <validation.provider>org.apache.bval.jsr.ApacheValidationProvider</validation.provider> - <remote.debug /> - </properties> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-deploy-plugin</artifactId> - <configuration> - <!-- Don't publish these artifacts to central --> - <skip>true</skip> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> - </plugins> - <pluginManagement> - <plugins> - <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> - <plugin> - <groupId>org.eclipse.m2e</groupId> - <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> - <configuration> - <lifecycleMappingMetadata> - <pluginExecutions> - <pluginExecution> - <pluginExecutionFilter> - <groupId> - org.apache.maven.plugins - </groupId> - <artifactId> - maven-dependency-plugin - </artifactId> - <versionRange> - [2.1,) - </versionRange> - <goals> - <goal>copy</goal> - </goals> - </pluginExecutionFilter> - <action> - <ignore /> - </action> - </pluginExecution> - </pluginExecutions> - </lifecycleMappingMetadata> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - - <profiles> - <profile> - <id>tck</id> - <activation> - <property> - <name>tck</name> - </property> - </activation> - <dependencies> - <dependency> - <groupId>org.apache.geronimo.specs</groupId> - <artifactId>geronimo-validation_1.1_spec</artifactId> - </dependency> - <dependency> - <groupId>org.hibernate.jsr303.tck</groupId> - <artifactId>jsr303-tck</artifactId> - <version>1.0.6.GA</version> - </dependency> - <dependency> - <groupId>org.jboss.test-harness</groupId> - <artifactId>jboss-test-harness-jboss-as-51</artifactId> - <version>1.0.0</version> - </dependency> - </dependencies> - <repositories> - <repository> - <!-- override outdated URLs for jboss repo ids --> - <id>repository.jboss.org</id> - <name>JBoss Public Maven Repository Group</name> - <url>https://repository.jboss.org/nexus/content/groups/public/</url> - <layout>default</layout> - <releases> - <enabled>true</enabled> - <updatePolicy>never</updatePolicy> - <checksumPolicy>fail</checksumPolicy> - </releases> - <snapshots> - <enabled>false</enabled> - <updatePolicy>never</updatePolicy> - <checksumPolicy>warn</checksumPolicy> - </snapshots> - </repository> - <repository> - <id>jboss</id> - <name>JBoss Public Maven Repository Group (again)</name> - <url>https://repository.jboss.org/nexus/content/groups/public/</url> - <layout>default</layout> - <releases> - <enabled>true</enabled> - <updatePolicy>never</updatePolicy> - <checksumPolicy>fail</checksumPolicy> - </releases> - <snapshots> - <enabled>false</enabled> - <updatePolicy>never</updatePolicy> - <checksumPolicy>warn</checksumPolicy> - </snapshots> - </repository> - <repository> - <id>snapshots.jboss.org</id> - <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - </repository> - <repository> - <id>jboss-snapshots</id> - <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - </repository> - </repositories> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <id>copy</id> - <phase>generate-test-sources</phase> - <goals> - <goal>copy</goal> - </goals> - <configuration> - <stripVersion>true</stripVersion> - <artifactItems> - <artifactItem> - <groupId>org.hibernate.jsr303.tck</groupId> - <artifactId>jsr303-tck</artifactId> - <type>xml</type> - <classifier>suite</classifier> - <overWrite>false</overWrite> - </artifactItem> - <artifactItem> - <groupId>org.apache.geronimo.specs</groupId> - <artifactId>geronimo-validation_1.1_spec</artifactId> - <overWrite>true</overWrite> - <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory> - </artifactItem> - <artifactItem> - <groupId>org.apache.bval</groupId> - <artifactId>bval-core</artifactId> - <version>${project.version}</version> - <overWrite>true</overWrite> - <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory> - </artifactItem> - <artifactItem> - <groupId>org.apache.bval</groupId> - <artifactId>bval-jsr</artifactId> - <version>${project.version}</version> - <overWrite>true</overWrite> - <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory> - </artifactItem> - <artifactItem> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - <overWrite>true</overWrite> - <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory> - </artifactItem> - <artifactItem> - <groupId>commons-beanutils</groupId> - <artifactId>commons-beanutils-core</artifactId> - <overWrite>true</overWrite> - <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory> - </artifactItem> - <artifactItem> - <groupId>com.thoughtworks.xstream</groupId> - <artifactId>xstream</artifactId> - <overWrite>true</overWrite> - <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory> - </artifactItem> - </artifactItems> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <suiteXmlFiles> - <suiteXmlFile>${project.basedir}/src/test/resources/custom-jsr303-tck-suite.xml</suiteXmlFile> - </suiteXmlFiles> - <argLine>-Xmx512m</argLine> - <forkMode>once</forkMode> - <systemProperties> - <property> - <name>validation.provider</name> - <value>${validation.provider}</value> - </property> - </systemProperties> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-report-plugin</artifactId> - <executions> - <execution> - <id>generate-test-report</id> - <phase>test</phase> - <goals> - <goal>report-only</goal> - </goals> - </execution> - </executions> - <configuration> - <outputDirectory>${project.build.directory}/surefire-reports</outputDirectory> - <outputName>test-report</outputName> - </configuration> - </plugin> - </plugins> - </build> - </profile> - - <profile> - <id>incontainer-debug</id> - <activation> - <property> - <name>debug</name> - </property> - </activation> - <properties> - <remote.debug>-Xnoagent -Djava.compiler=NONE -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 - </remote.debug> - </properties> - </profile> - - <profile> - <id>incontainer</id> - <activation> - <property> - <name>incontainer</name> - </property> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <suiteXmlFiles> - <suiteXmlFile>${project.basedir}/src/test/resources/custom-jsr303-tck-suite.xml</suiteXmlFile> - </suiteXmlFiles> - <systemProperties> - <property> - <name>validation.provider</name> - <value>${validation.provider}</value> - </property> - <property> - <name>org.jboss.testharness.standalone</name> - <value>false</value> - </property> - <property> - <name>jboss.home</name> - <value>${jboss.home}</value> - </property> - <property> - <name>org.jboss.testharness.container.javaOpts</name> - <value>-Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true - -Dvalidation.provider=${validation.provider} ${remote.debug} - </value> - </property> - <property> - <name>org.jboss.testharness.container.forceRestart</name> - <value>true</value> - </property> - <property> - <name>org.jboss.testharness.runIntegrationTests</name> - <value>true</value> - </property> - <property> - <name>org.jboss.testharness.libraryDirectory</name> - <value>target/dependency/lib</value> - </property> - <property> - <name>org.jboss.testharness.outputDirectory</name> - <value>target</value> - </property> - </systemProperties> - </configuration> - </plugin> - </plugins> - </build> - </profile> - - <profile> - <id>write-artifacts-to-disk</id> - <activation> - <property> - <name>dumpArtifacts</name> - </property> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <executions> - <execution> - <id>generate-jsr-303-artifacts</id> - <phase>test-compile</phase> - <goals> - <goal>java</goal> - </goals> - </execution> - </executions> - <configuration> - <classpathScope>test</classpathScope> - <mainClass>org.jboss.testharness.api.TCK</mainClass> - <systemProperties> - <systemProperty> - <key>dumpArtifacts</key> - <value>true</value> - </systemProperty> - <systemProperty> - <key>org.jboss.testharness.outputDirectory</key> - <value>target/jsr303-artifacts</value> - </systemProperty> - <systemProperty> - <key>org.jboss.testharness.libraryDirectory</key> - <value>target/jsr303-artifacts/dependencies</value> - </systemProperty> - </systemProperties> - </configuration> - </plugin> - </plugins> - </build> - </profile> - </profiles> - -</project> - http://git-wip-us.apache.org/repos/asf/bval/blob/fc8b020c/bval-tck/src/main/resources/META-INF/jboss-test-harness.properties ---------------------------------------------------------------------- diff --git a/bval-tck/src/main/resources/META-INF/jboss-test-harness.properties b/bval-tck/src/main/resources/META-INF/jboss-test-harness.properties deleted file mode 100644 index 895a5db..0000000 --- a/bval-tck/src/main/resources/META-INF/jboss-test-harness.properties +++ /dev/null @@ -1,19 +0,0 @@ -# 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. -org.jboss.testharness.spi.StandaloneContainers=org.hibernate.jsr303.tck.util.StandaloneContainersImpl -org.jboss.testharness.api.TestLauncher=org.jboss.testharness.impl.runner.servlet.ServletTestLauncher -org.jboss.testharness.testPackage=org.hibernate.jsr303.tck.tests \ No newline at end of file http://git-wip-us.apache.org/repos/asf/bval/blob/fc8b020c/bval-tck/src/test/resources/custom-jsr303-tck-suite.xml ---------------------------------------------------------------------- diff --git a/bval-tck/src/test/resources/custom-jsr303-tck-suite.xml b/bval-tck/src/test/resources/custom-jsr303-tck-suite.xml deleted file mode 100644 index a35f20a..0000000 --- a/bval-tck/src/test/resources/custom-jsr303-tck-suite.xml +++ /dev/null @@ -1,45 +0,0 @@ -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > -<!-- - 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. ---> -<suite name="JSR-303-TCK" verbose="1"> - <test name="JSR-303-TCK"> - <method-selectors> - <method-selector> - <selector-class name="org.jboss.testharness.impl.testng.DisableIntegrationTestsMethodSelector"/> - </method-selector> - <method-selector> - <selector-class name="org.jboss.testharness.impl.testng.ExcludeIncontainerUnderInvestigationMethodSelector"/> - </method-selector> - <method-selector> <!-- spec changed, we can't pass tck 1.0 and tck 1.1 so excluding the 1.0 since we target 1.1 --> - <script language="beanshell"><![CDATA[ - !method.name.equals("testClassLevelConstraints") - || !method.declaringClass.name.equals("org.hibernate.jsr303.tck.tests.constraints.application.ValidationRequirementTest") - ]]></script> - </method-selector> - </method-selectors> - <groups> - <run> - <exclude name="underInvestigation"/> - <exclude name="ri-broken"/> - <exclude name="jboss-as-broken"/> - <exclude name="broken"/> - </run> - </groups> - <packages> - <package name="org.hibernate.jsr303.tck.tests" /> - </packages> - </test> -</suite> http://git-wip-us.apache.org/repos/asf/bval/blob/fc8b020c/bval-tck/src/test/resources/jndi.properties ---------------------------------------------------------------------- diff --git a/bval-tck/src/test/resources/jndi.properties b/bval-tck/src/test/resources/jndi.properties deleted file mode 100644 index 433246b..0000000 --- a/bval-tck/src/test/resources/jndi.properties +++ /dev/null @@ -1,20 +0,0 @@ -# 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. -#jboss JNDI properties -java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory -java.naming.provider.url=jnp://localhost:1099 -java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces \ No newline at end of file http://git-wip-us.apache.org/repos/asf/bval/blob/fc8b020c/bval-tck/src/test/resources/log4j.xml ---------------------------------------------------------------------- diff --git a/bval-tck/src/test/resources/log4j.xml b/bval-tck/src/test/resources/log4j.xml deleted file mode 100644 index 0ce01ab..0000000 --- a/bval-tck/src/test/resources/log4j.xml +++ /dev/null @@ -1,57 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> -<!-- - 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. ---> -<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> - - <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> - <param name="Target" value="System.out"/> - <layout class="org.apache.log4j.PatternLayout"> - <!-- The default pattern: Date Priority [Category] Message\n --> - <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{2}] %m%n"/> - </layout> - <filter class="org.apache.log4j.varia.StringMatchFilter"> - <param name="AcceptOnMatch" value="false"/> - <param name="StringToMatch" value="Failure while notifying an observer of event [a]"/> - </filter> - <filter class="org.apache.log4j.varia.StringMatchFilter"> - <param name="AcceptOnMatch" value="false"/> - <param name="StringToMatch" - value="Error destroying Request scoped unnamed simple bean org.jboss.jsr299.tck.tests.implementation.simple.lifecycle.Cod"/> - </filter> - </appender> - - <!-- ############### Categories ################# --> - <category name="org.apache"> - <priority value="INFO"/> - </category> - - <category name="org.hibernate"> - <priority value="INFO"/> - </category> - - <category name="org.jboss.testharness"> - <priority value="INFO"/> - </category> - - <root> - <priority value="INFO"/> - <appender-ref ref="CONSOLE"/> - </root> - -</log4j:configuration> http://git-wip-us.apache.org/repos/asf/bval/blob/fc8b020c/bval-tck/work-tests-suite.xml ---------------------------------------------------------------------- diff --git a/bval-tck/work-tests-suite.xml b/bval-tck/work-tests-suite.xml deleted file mode 100644 index 537470a..0000000 --- a/bval-tck/work-tests-suite.xml +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > -<!-- - 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. ---> -<!-- -JUST HERE TO BE ABLE TO RUN TCK ONE BY ONE WHEN DEVELOPING -think to add -Dvalidation.provider=org.apache.bval.jsr303.ApacheValidationProvider to your runner config ---> -<suite name="tmp" verbose="1"> - <test name="tmp"> - <classes> - <class name="org.hibernate.jsr303.tck.tests.constraints.application.ValidationRequirementTest" /> - </classes> - </test> -</suite>
