[jboss-cvs] JBossAS SVN: r95778 - in projects/metadata/web/trunk: src/test/java/org/jboss/test/metadata/annotation/web and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 29 13:52:30 EDT 2009
Author: remy.maucherat at jboss.com
Date: 2009-10-29 13:52:30 -0400 (Thu, 29 Oct 2009)
New Revision: 95778
Modified:
projects/metadata/web/trunk/pom.xml
projects/metadata/web/trunk/src/test/java/org/jboss/test/metadata/annotation/web/AnnotationWebUnitTestCase.java
Log:
- Add the two new annotation processors to the list.
Modified: projects/metadata/web/trunk/pom.xml
===================================================================
--- projects/metadata/web/trunk/pom.xml 2009-10-29 17:51:57 UTC (rev 95777)
+++ projects/metadata/web/trunk/pom.xml 2009-10-29 17:52:30 UTC (rev 95778)
@@ -94,13 +94,13 @@
<dependency>
<groupId>org.jboss.metadata</groupId>
<artifactId>jboss-metadata-common</artifactId>
- <version>2.0.0.Alpha4</version>
+ <version>2.0.0-Alpha7</version>
</dependency>
<dependency>
<groupId>org.jboss.metadata</groupId>
<artifactId>jboss-metadata-common</artifactId>
- <version>2.0.0.Alpha4</version>
+ <version>2.0.0-Alpha7</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
Modified: projects/metadata/web/trunk/src/test/java/org/jboss/test/metadata/annotation/web/AnnotationWebUnitTestCase.java
===================================================================
--- projects/metadata/web/trunk/src/test/java/org/jboss/test/metadata/annotation/web/AnnotationWebUnitTestCase.java 2009-10-29 17:51:57 UTC (rev 95777)
+++ projects/metadata/web/trunk/src/test/java/org/jboss/test/metadata/annotation/web/AnnotationWebUnitTestCase.java 2009-10-29 17:52:30 UTC (rev 95778)
@@ -35,6 +35,8 @@
import javax.annotation.Resources;
import javax.annotation.security.DeclareRoles;
import javax.annotation.security.RunAs;
+import javax.annotation.sql.DataSourceDefinition;
+import javax.annotation.sql.DataSourceDefinitions;
import javax.ejb.EJB;
import javax.ejb.EJBs;
import javax.persistence.PersistenceContext;
@@ -479,6 +481,8 @@
typeAnnotations.add(WebListener.class);
typeAnnotations.add(MultipartConfig.class);
typeAnnotations.add(ServletSecurity.class);
+ typeAnnotations.add(DataSourceDefinition.class);
+ typeAnnotations.add(DataSourceDefinitions.class);
// Assert Type annotations
assertAnnotations(typeAnnotations, context.getTypeAnnotations());
More information about the jboss-cvs-commits
mailing list