Hibernate SVN: r17141 - beanvalidation/trunk/validation-tck.
by hibernate-commits@lists.jboss.org
Author: hardy.ferentschik
Date: 2009-07-17 17:35:19 -0400 (Fri, 17 Jul 2009)
New Revision: 17141
Modified:
beanvalidation/trunk/validation-tck/pom.xml
Log:
back to SNAPSHOT
Modified: beanvalidation/trunk/validation-tck/pom.xml
===================================================================
--- beanvalidation/trunk/validation-tck/pom.xml 2009-07-17 21:30:52 UTC (rev 17140)
+++ beanvalidation/trunk/validation-tck/pom.xml 2009-07-17 21:35:19 UTC (rev 17141)
@@ -4,7 +4,7 @@
<groupId>org.hibernate.jsr303.tck</groupId>
<artifactId>jsr303-tck</artifactId>
<packaging>jar</packaging>
- <version>1.0.0.Alpha4</version>
+ <version>1.0.0.Alpha4-SNAPSHOT</version>
<name>JSR-303 TCK</name>
<url>http://validator.hibernate.org</url>
15 years, 4 months
Hibernate SVN: r17139 - beanvalidation/trunk/validation-tck.
by hibernate-commits@lists.jboss.org
Author: hardy.ferentschik
Date: 2009-07-17 17:26:18 -0400 (Fri, 17 Jul 2009)
New Revision: 17139
Modified:
beanvalidation/trunk/validation-tck/pom.xml
Log:
rolled back to CR3 of validation api
Modified: beanvalidation/trunk/validation-tck/pom.xml
===================================================================
--- beanvalidation/trunk/validation-tck/pom.xml 2009-07-17 21:11:42 UTC (rev 17138)
+++ beanvalidation/trunk/validation-tck/pom.xml 2009-07-17 21:26:18 UTC (rev 17139)
@@ -44,7 +44,7 @@
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
- <version>1.0.CR4</version>
+ <version>1.0.CR3</version>
</dependency>
<dependency>
<groupId>org.jboss.test-audit</groupId>
15 years, 4 months
Hibernate SVN: r17138 - validator/trunk.
by hibernate-commits@lists.jboss.org
Author: hardy.ferentschik
Date: 2009-07-17 17:11:42 -0400 (Fri, 17 Jul 2009)
New Revision: 17138
Modified:
validator/trunk/pom.xml
Log:
depend on CR3 validation-api
Modified: validator/trunk/pom.xml
===================================================================
--- validator/trunk/pom.xml 2009-07-17 19:56:59 UTC (rev 17137)
+++ validator/trunk/pom.xml 2009-07-17 21:11:42 UTC (rev 17138)
@@ -49,7 +49,7 @@
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
- <version>1.0.CR4</version>
+ <version>1.0.CR3</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
15 years, 4 months
Hibernate SVN: r17137 - beanvalidation/trunk/validation-api/src/main/java/javax/validation/spi and 1 other directories.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2009-07-17 15:56:59 -0400 (Fri, 17 Jul 2009)
New Revision: 17137
Modified:
beanvalidation/trunk/validation-api/src/main/java/javax/validation/metadata/ElementDescriptor.java
beanvalidation/trunk/validation-api/src/main/java/javax/validation/spi/ConfigurationState.java
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/metadata/ElementDescriptorImpl.java
Log:
cleaner JavaDoc
BVAL-174 better message for assertTrue / False BVAL-173 getUnorderdConstraintDescriptorsMatchingGroups => getUnorderedConstraintDescriptorsMatchingGroups
Modified: beanvalidation/trunk/validation-api/src/main/java/javax/validation/metadata/ElementDescriptor.java
===================================================================
--- beanvalidation/trunk/validation-api/src/main/java/javax/validation/metadata/ElementDescriptor.java 2009-07-17 19:30:48 UTC (rev 17136)
+++ beanvalidation/trunk/validation-api/src/main/java/javax/validation/metadata/ElementDescriptor.java 2009-07-17 19:56:59 UTC (rev 17137)
@@ -57,5 +57,5 @@
* @param groups groups targeted
* @return list of matching ConstraintDescriptors
*/
- Set<ConstraintDescriptor<?>> getUnorderdConstraintDescriptorsMatchingGroups(Class<?>... groups);
+ Set<ConstraintDescriptor<?>> getUnorderedConstraintDescriptorsMatchingGroups(Class<?>... groups);
}
Modified: beanvalidation/trunk/validation-api/src/main/java/javax/validation/spi/ConfigurationState.java
===================================================================
--- beanvalidation/trunk/validation-api/src/main/java/javax/validation/spi/ConfigurationState.java 2009-07-17 19:30:48 UTC (rev 17136)
+++ beanvalidation/trunk/validation-api/src/main/java/javax/validation/spi/ConfigurationState.java 2009-07-17 19:56:59 UTC (rev 17137)
@@ -48,7 +48,7 @@
* Message interpolator is defined in the following decreasing priority:
* <ul>
* <li>set via the Configuration programmatic API</li>
- * <li>defined in META-INF/validation.xml provided that ignoredXmlConfiguration
+ * <li>defined in META-INF/validation.xml provided that ignoreXmlConfiguration
* is false. In this case the instance is created via its no-arg constructor.</li>
* <li>{@code null} if undefined.</li>
* </ul>
Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/metadata/ElementDescriptorImpl.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/metadata/ElementDescriptorImpl.java 2009-07-17 19:30:48 UTC (rev 17136)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/metadata/ElementDescriptorImpl.java 2009-07-17 19:56:59 UTC (rev 17137)
@@ -59,7 +59,12 @@
return Collections.unmodifiableSet( constraintDescriptors );
}
+ //FIXME remove when HV depends on BV post CR3 (typo in the method name)
public Set<ConstraintDescriptor<?>> getUnorderdConstraintDescriptorsMatchingGroups(Class<?>... groups) {
+ return getUnorderedConstraintDescriptorsMatchingGroups( groups );
+ }
+
+ public Set<ConstraintDescriptor<?>> getUnorderedConstraintDescriptorsMatchingGroups(Class<?>... groups) {
Set<ConstraintDescriptor<?>> matchingDescriptors = new HashSet<ConstraintDescriptor<?>>();
GroupChain groupChain = new GroupChainGenerator().getGroupChainFor( Arrays.asList( groups ) );
Iterator<Group> groupIterator = groupChain.getGroupIterator();
15 years, 4 months
Hibernate SVN: r17136 - in validator/trunk: hibernate-validator-tck-runner and 1 other directories.
by hibernate-commits@lists.jboss.org
Author: hardy.ferentschik
Date: 2009-07-17 15:30:48 -0400 (Fri, 17 Jul 2009)
New Revision: 17136
Modified:
validator/trunk/hibernate-validator-tck-runner/pom.xml
validator/trunk/hibernate-validator-tck-runner/src/jboss-as/build.properties
validator/trunk/pom.xml
Log:
updated versions for tck runner
Modified: validator/trunk/hibernate-validator-tck-runner/pom.xml
===================================================================
--- validator/trunk/hibernate-validator-tck-runner/pom.xml 2009-07-17 16:54:42 UTC (rev 17135)
+++ validator/trunk/hibernate-validator-tck-runner/pom.xml 2009-07-17 19:30:48 UTC (rev 17136)
@@ -32,12 +32,12 @@
<dependency>
<groupId>org.hibernate.jsr303.tck</groupId>
<artifactId>jsr303-tck</artifactId>
- <version>1.0.0.Alpha2-SNAPSHOT</version>
+ <version>1.0.0.Alpha3</version>
</dependency>
<dependency>
<groupId>org.jboss.test-harness</groupId>
<artifactId>jboss-test-harness-jboss-as-50</artifactId>
- <version>1.0.0.BETA3-SNAPSHOT</version>
+ <version>1.0.0.BETA3</version>
</dependency>
</dependencies>
Modified: validator/trunk/hibernate-validator-tck-runner/src/jboss-as/build.properties
===================================================================
--- validator/trunk/hibernate-validator-tck-runner/src/jboss-as/build.properties 2009-07-17 16:54:42 UTC (rev 17135)
+++ validator/trunk/hibernate-validator-tck-runner/src/jboss-as/build.properties 2009-07-17 19:30:48 UTC (rev 17136)
@@ -8,6 +8,6 @@
# maximum number of TCK tests to deploy before restarting JBoss AS
# jboss.deployments.restart = 25
webbeans-ri-int.version=5.2.0.Beta2
-webbeans.version=1.0.0.PREVIEW1
+webbeans.version=1.0.0.PREVIEW2
jboss-ejb3.version=1.0.0
Modified: validator/trunk/pom.xml
===================================================================
--- validator/trunk/pom.xml 2009-07-17 16:54:42 UTC (rev 17135)
+++ validator/trunk/pom.xml 2009-07-17 19:30:48 UTC (rev 17136)
@@ -49,7 +49,7 @@
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
- <version>1.0.CR4-SNAPSHOT</version>
+ <version>1.0.CR4</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
15 years, 4 months
Hibernate SVN: r17135 - jpa-api/trunk/src/main/java/javax/persistence/criteria.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-07-17 12:54:42 -0400 (Fri, 17 Jul 2009)
New Revision: 17135
Modified:
jpa-api/trunk/src/main/java/javax/persistence/criteria/CompoundSelection.java
Log:
getSelectionItems() supposedly going away
Modified: jpa-api/trunk/src/main/java/javax/persistence/criteria/CompoundSelection.java
===================================================================
--- jpa-api/trunk/src/main/java/javax/persistence/criteria/CompoundSelection.java 2009-07-17 16:52:02 UTC (rev 17134)
+++ jpa-api/trunk/src/main/java/javax/persistence/criteria/CompoundSelection.java 2009-07-17 16:54:42 UTC (rev 17135)
@@ -2,19 +2,10 @@
// EJB3 Specification Copyright 2004-2009 Sun Microsystems, Inc.
package javax.persistence.criteria;
-import java.util.List;
-
/**
* The CompoundSelection interface defines compound selection item
* (tuple, array, or result of constructor).
* @param <X> the type of the selection item
*/
public interface CompoundSelection<X> extends Selection<X> {
-
- /**
- * Return a selection items that were composed to form
- * the compound selection.
- * @return list of selection items
- */
- List<Selection<?>> getSelectionItems();
}
\ No newline at end of file
15 years, 4 months
Hibernate SVN: r17134 - jpa-api/trunk.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2009-07-17 12:52:02 -0400 (Fri, 17 Jul 2009)
New Revision: 17134
Modified:
jpa-api/trunk/pom.xml
Log:
apply sources installation properly
Modified: jpa-api/trunk/pom.xml
===================================================================
--- jpa-api/trunk/pom.xml 2009-07-17 15:53:29 UTC (rev 17133)
+++ jpa-api/trunk/pom.xml 2009-07-17 16:52:02 UTC (rev 17134)
@@ -58,6 +58,22 @@
<version>1.0-beta-2</version>
</extension>
</extensions>
+
+ <plugins>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+
<pluginManagement>
<plugins>
<plugin>
@@ -71,14 +87,7 @@
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
+ <version>2.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
15 years, 4 months
Hibernate SVN: r17133 - beanvalidation/trunk/validation-api/src/main/java/javax/validation.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2009-07-17 11:53:29 -0400 (Fri, 17 Jul 2009)
New Revision: 17133
Modified:
beanvalidation/trunk/validation-api/src/main/java/javax/validation/Configuration.java
beanvalidation/trunk/validation-api/src/main/java/javax/validation/ValidatorContext.java
Log:
cleaner JavaDoc
Modified: beanvalidation/trunk/validation-api/src/main/java/javax/validation/Configuration.java
===================================================================
--- beanvalidation/trunk/validation-api/src/main/java/javax/validation/Configuration.java 2009-07-17 14:45:29 UTC (rev 17132)
+++ beanvalidation/trunk/validation-api/src/main/java/javax/validation/Configuration.java 2009-07-17 15:53:29 UTC (rev 17133)
@@ -39,7 +39,7 @@
* <p/>
* The {@link ValidationProviderResolver} is specified at configuration time
* (see {@link javax.validation.spi.ValidationProvider}).
- * If none is explicitely requested, the default <code>ValidationProviderResolver</code> is used.
+ * If none is explicitly requested, the default <code>ValidationProviderResolver</code> is used.
* <p/>
* The provider is selected in the following way:
* <ul>
Modified: beanvalidation/trunk/validation-api/src/main/java/javax/validation/ValidatorContext.java
===================================================================
--- beanvalidation/trunk/validation-api/src/main/java/javax/validation/ValidatorContext.java 2009-07-17 14:45:29 UTC (rev 17132)
+++ beanvalidation/trunk/validation-api/src/main/java/javax/validation/ValidatorContext.java 2009-07-17 15:53:29 UTC (rev 17133)
@@ -1,7 +1,13 @@
package javax.validation;
/**
- * Return a Validator corresponding to the initialized state.
+ * Represents the context that is used to create <code>Validator</code>
+ * instances.
+ *
+ * A client may use methods of the ValidatorContext returned through
+ * <code>usingContext</code> of <code>ValidatorFactory</code> to customize
+ * the context (for instance establish different message interpolators or
+ * traversable resolvers) used to create <code>Validator</code> instances.
*
* @author Emmanuel Bernard
*/
15 years, 4 months