You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2009/10/20 05:13:11 UTC

svn commit: r826938 - in /myfaces/trinidad/branches/trinidad-2.0.x: pom.xml trinidad-api/pom.xml

Author: matzew
Date: Tue Oct 20 03:13:08 2009
New Revision: 826938

URL: http://svn.apache.org/viewvc?rev=826938&view=rev
Log:
added bean validation API and JBoss repo (to resolve the dependency)
=> the artifact is licensed under ASL 2.0, so we are totally fine here....

Modified:
    myfaces/trinidad/branches/trinidad-2.0.x/pom.xml
    myfaces/trinidad/branches/trinidad-2.0.x/trinidad-api/pom.xml

Modified: myfaces/trinidad/branches/trinidad-2.0.x/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-2.0.x/pom.xml?rev=826938&r1=826937&r2=826938&view=diff
==============================================================================
--- myfaces/trinidad/branches/trinidad-2.0.x/pom.xml (original)
+++ myfaces/trinidad/branches/trinidad-2.0.x/pom.xml Tue Oct 20 03:13:08 2009
@@ -41,6 +41,7 @@
     <jdk.version>1.6</jdk.version>    
     <servlet.version>2.5</servlet.version>
     <portlet.version>2.0</portlet.version>
+    <validation.version>1.0.0.GA</validation.version>
     <jsp.version>2.1</jsp.version>
     <jstl.version>1.2</jstl.version>
     <jsf-spec.version>1.2</jsf-spec.version>
@@ -153,6 +154,13 @@
       <name>Apache Snapshot Repository</name>
       <url>http://people.apache.org/repo/m2-snapshot-repository</url>
     </repository>
+    <!-- needed for Bean Validation API -->
+    <repository>
+      <id>jboss releases</id>
+      <name>JBoss Releases</name>
+      <url>http://repository.jboss.org/maven2/</url>
+      <layout>default</layout>
+    </repository>
   </repositories>
 
   <pluginRepositories>
@@ -221,6 +229,14 @@
         <scope>provided</scope>
       </dependency>
 
+      <dependency>
+        <groupId>javax.validation</groupId>
+        <artifactId>validation-api</artifactId>
+        <version>${validation.version}</version>
+        <scope>compile</scope>
+      </dependency>
+
+<!-- for now we just use the RI, b/c nothing around for MyFaces 2.0 -->
       <!--dependency>
         <groupId>org.apache.myfaces.core</groupId>
         <artifactId>myfaces-api</artifactId>

Modified: myfaces/trinidad/branches/trinidad-2.0.x/trinidad-api/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-2.0.x/trinidad-api/pom.xml?rev=826938&r1=826937&r2=826938&view=diff
==============================================================================
--- myfaces/trinidad/branches/trinidad-2.0.x/trinidad-api/pom.xml (original)
+++ myfaces/trinidad/branches/trinidad-2.0.x/trinidad-api/pom.xml Tue Oct 20 03:13:08 2009
@@ -56,6 +56,12 @@
     </dependency>
 
     <dependency>
+      <groupId>javax.validation</groupId>
+      <artifactId>validation-api</artifactId>
+    </dependency>
+
+
+    <dependency>
       <groupId>org.apache.myfaces.portlet-bridge</groupId>
       <artifactId>portlet-bridge-api</artifactId>
     </dependency>