[jboss-cvs] JBossAS SVN: r82988 - in projects/ejb3/trunk/docs/tutorial/enterprise_app_ejb_injection: ear and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Jan 16 10:34:08 EST 2009
Author: jaikiran
Date: 2009-01-16 10:34:08 -0500 (Fri, 16 Jan 2009)
New Revision: 82988
Modified:
projects/ejb3/trunk/docs/tutorial/enterprise_app_ejb_injection/build.xml
projects/ejb3/trunk/docs/tutorial/enterprise_app_ejb_injection/ear/pom.xml
Log:
Minor changes to the pom and build script
Modified: projects/ejb3/trunk/docs/tutorial/enterprise_app_ejb_injection/build.xml
===================================================================
--- projects/ejb3/trunk/docs/tutorial/enterprise_app_ejb_injection/build.xml 2009-01-16 15:32:41 UTC (rev 82987)
+++ projects/ejb3/trunk/docs/tutorial/enterprise_app_ejb_injection/build.xml 2009-01-16 15:34:08 UTC (rev 82988)
@@ -4,7 +4,7 @@
<!-- JBoss build file -->
<!-- ======================================================================= -->
-<project name="JBoss" default="ejbjar" basedir=".">
+<project name="JBoss" default="ear" basedir=".">
<property environment="env"/>
<property name="ejbapp.home" value="${basedir}/ejbapp"/>
@@ -72,7 +72,7 @@
</target>
- <target name="ejbjar" depends="compile">
+ <target name="ear" depends="compile">
<!-- The EJB jar -->
<jar jarfile="${ejbapp.build.dir}/${build.jar.artifact}">
<fileset dir="${ejbapp.build.classes.dir}">
Modified: projects/ejb3/trunk/docs/tutorial/enterprise_app_ejb_injection/ear/pom.xml
===================================================================
--- projects/ejb3/trunk/docs/tutorial/enterprise_app_ejb_injection/ear/pom.xml 2009-01-16 15:32:41 UTC (rev 82987)
+++ projects/ejb3/trunk/docs/tutorial/enterprise_app_ejb_injection/ear/pom.xml 2009-01-16 15:34:08 UTC (rev 82988)
@@ -5,7 +5,9 @@
<properties>
-
+ <!-- We do not want to run any standalone client, so let's skip it. Let's just do a deploy/undeploy for testing
+ that the tutorial deploys without any errors -->
+ <jboss.ejb3.tutorial.client.skip>true</jboss.ejb3.tutorial.client.skip>
<!-- Versions -->
<version.org.jboss.ejb3_jboss-ejb3-tutorial-enterprise_webapp>0.1.0-SNAPSHOT</version.org.jboss.ejb3_jboss-ejb3-tutorial-enterprise_webapp>
<version.org.jboss.ejb3_jboss-ejb3-tutorial-enterprise_ejb3app>0.1.0-SNAPSHOT</version.org.jboss.ejb3_jboss-ejb3-tutorial-enterprise_ejb3app>
@@ -16,12 +18,13 @@
<!-- Model Version -->
<modelVersion>4.0.0</modelVersion>
-
+ <!-- We need the deploy/undeploy support provided by the jboss-ejb3-tutorial-common, so that's our
+ parent -->
<parent>
<groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-tutorial-enterprise_app_ejb_injection</artifactId>
+ <artifactId>jboss-ejb3-tutorial-common</artifactId>
<version>0.1.0-SNAPSHOT</version>
- <relativePath>../</relativePath>
+ <relativePath>../../common</relativePath>
</parent>
@@ -56,6 +59,14 @@
<version>${version.org.jboss.ejb3_jboss-ejb3-tutorial-enterprise_ejb3app}</version>
<type>ejb</type>
</dependency>
+
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-client</artifactId>
+ <version>${version.org.jboss.jbossas_jboss-as-client}</version>
+ <type>pom</type>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
More information about the jboss-cvs-commits
mailing list