[jboss-cvs] JBossAS SVN: r82538 - in projects/ejb3/trunk/docs/tutorial: common and 5 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Dec 24 02:51:23 EST 2008
Author: jaikiran
Date: 2008-12-24 02:51:23 -0500 (Wed, 24 Dec 2008)
New Revision: 82538
Modified:
projects/ejb3/trunk/docs/tutorial/blob/pom.xml
projects/ejb3/trunk/docs/tutorial/common/pom.xml
projects/ejb3/trunk/docs/tutorial/composite/pom.xml
projects/ejb3/trunk/docs/tutorial/jndibinding/pom.xml
projects/ejb3/trunk/docs/tutorial/relationships/pom.xml
projects/ejb3/trunk/docs/tutorial/secondary/pom.xml
projects/ejb3/trunk/docs/tutorial/singleinheritance/pom.xml
Log:
A better way to manage dependencies - include jboss-as-client as a pom dependency and let it download any other necessary dependencies. No need to individually specify each of the dependencies like Hibernate, EJB3 ext API etc...
Modified: projects/ejb3/trunk/docs/tutorial/blob/pom.xml
===================================================================
--- projects/ejb3/trunk/docs/tutorial/blob/pom.xml 2008-12-24 03:37:00 UTC (rev 82537)
+++ projects/ejb3/trunk/docs/tutorial/blob/pom.xml 2008-12-24 07:51:23 UTC (rev 82538)
@@ -31,11 +31,5 @@
Tutorial about Blob and Clob in EJB3
</description>
- <dependencies>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <version>[3.3.0.GA,)</version>
- </dependency>
- </dependencies>
+
</project>
Modified: projects/ejb3/trunk/docs/tutorial/common/pom.xml
===================================================================
--- projects/ejb3/trunk/docs/tutorial/common/pom.xml 2008-12-24 03:37:00 UTC (rev 82537)
+++ projects/ejb3/trunk/docs/tutorial/common/pom.xml 2008-12-24 07:51:23 UTC (rev 82538)
@@ -9,6 +9,7 @@
<properties>
<!-- Versions -->
<version.maven-jboss-as-control-plugin>0.1.0</version.maven-jboss-as-control-plugin>
+ <version.org.jboss.jbossas_jboss-as-client>5.0.0.GA</version.org.jboss.jbossas_jboss-as-client>
</properties>
<!-- Parent - The jboss-ejb3-tutorial-parent (Aggregator) will act as a parent
@@ -22,6 +23,7 @@
<relativePath>../</relativePath>
</parent>
+
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.ejb3</groupId>
@@ -187,19 +189,14 @@
<!-- Dependencies -->
<dependencies>
- <dependency>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-ejb-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-persistence-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.javaee</groupId>
- <artifactId>jboss-jms-api</artifactId>
- </dependency>
+
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-client</artifactId>
+ <version>${version.org.jboss.jbossas_jboss-as-client}</version>
+ <type>pom</type>
+ </dependency>
</dependencies>
Modified: projects/ejb3/trunk/docs/tutorial/composite/pom.xml
===================================================================
--- projects/ejb3/trunk/docs/tutorial/composite/pom.xml 2008-12-24 03:37:00 UTC (rev 82537)
+++ projects/ejb3/trunk/docs/tutorial/composite/pom.xml 2008-12-24 07:51:23 UTC (rev 82538)
@@ -19,8 +19,7 @@
<properties>
<ejb3.tutorial.client>org.jboss.tutorial.composite.client.Client</ejb3.tutorial.client>
- <!-- Versions -->
- <version.org.hibernate_hibernate-core>[3.3.0.GA,)</version.org.hibernate_hibernate-core>
+
</properties>
@@ -33,13 +32,6 @@
Tutorial about composite IDs for entities in EJB3
</description>
- <dependencies>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <version>${version.org.hibernate_hibernate-core}</version>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
+
</project>
Modified: projects/ejb3/trunk/docs/tutorial/jndibinding/pom.xml
===================================================================
--- projects/ejb3/trunk/docs/tutorial/jndibinding/pom.xml 2008-12-24 03:37:00 UTC (rev 82537)
+++ projects/ejb3/trunk/docs/tutorial/jndibinding/pom.xml 2008-12-24 07:51:23 UTC (rev 82538)
@@ -19,8 +19,7 @@
<properties>
<ejb3.tutorial.client>org.jboss.tutorial.jndibinding.client.Client</ejb3.tutorial.client>
- <!-- Versions -->
- <version.jboss-ejb3-ext-api>0.4</version.jboss-ejb3-ext-api>
+
</properties>
@@ -33,17 +32,5 @@
Tutorial for binding EJB to a specific JNDI name
</description>
-
-
- <dependencies>
- <dependency>
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-ext-api</artifactId>
- <version>${version.jboss-ejb3-ext-api}</version>
- </dependency>
-
-
- </dependencies>
-
-
+
</project>
Modified: projects/ejb3/trunk/docs/tutorial/relationships/pom.xml
===================================================================
--- projects/ejb3/trunk/docs/tutorial/relationships/pom.xml 2008-12-24 03:37:00 UTC (rev 82537)
+++ projects/ejb3/trunk/docs/tutorial/relationships/pom.xml 2008-12-24 07:51:23 UTC (rev 82538)
@@ -31,16 +31,6 @@
Tutorial demonstrating relationship between Entities in EJB3
</description>
- <dependencies>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <version>[3.3.0.GA,)</version>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
-
-
+
-
</project>
Modified: projects/ejb3/trunk/docs/tutorial/secondary/pom.xml
===================================================================
--- projects/ejb3/trunk/docs/tutorial/secondary/pom.xml 2008-12-24 03:37:00 UTC (rev 82537)
+++ projects/ejb3/trunk/docs/tutorial/secondary/pom.xml 2008-12-24 07:51:23 UTC (rev 82538)
@@ -19,8 +19,7 @@
<properties>
<ejb3.tutorial.client>org.jboss.tutorial.secondary.client.Client</ejb3.tutorial.client>
- <!-- Versions -->
- <version.org.hibernate_hibernate-core>[3.3.0.GA,)</version.org.hibernate_hibernate-core>
+
</properties>
@@ -33,14 +32,5 @@
Tutorial demonstrating the use of SecondaryTable in EJB3 Entities
</description>
- <dependencies>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <version>${version.org.hibernate_hibernate-core}</version>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
-
</project>
Modified: projects/ejb3/trunk/docs/tutorial/singleinheritance/pom.xml
===================================================================
--- projects/ejb3/trunk/docs/tutorial/singleinheritance/pom.xml 2008-12-24 03:37:00 UTC (rev 82537)
+++ projects/ejb3/trunk/docs/tutorial/singleinheritance/pom.xml 2008-12-24 07:51:23 UTC (rev 82538)
@@ -19,8 +19,6 @@
<properties>
<ejb3.tutorial.client>org.jboss.tutorial.singleinheritance.client.Client</ejb3.tutorial.client>
- <!-- Versions -->
- <version.org.hibernate_hibernate-core>[3.3.0.GA,)</version.org.hibernate_hibernate-core>
</properties>
@@ -33,17 +31,5 @@
Tutorial demonstrating SingleInheritance in EJB3 Entities
</description>
- <dependencies>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <version>${version.org.hibernate_hibernate-core}</version>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
-
-
-
-
</project>
More information about the jboss-cvs-commits
mailing list