bug fixes for the complex app.

The default one didn't build.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115081 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier
2004-04-28 23:26:03 +00:00
parent 366ffc2733
commit 2b547963ce
5 changed files with 40 additions and 21 deletions

View File

@@ -6,12 +6,12 @@
<id>ear</id>
<name>Enterprise Application</name>
<currentVersion>1.0</currentVersion>
<package>example.ear</package>
<package>@PACKAGE@.ear</package>
<description>An enterprise application</description>
<dependencies>
<dependency>
<groupId>trajano</groupId>
<groupId>@ID@</groupId>
<artifactId>ejb</artifactId>
<type>ejb</type>
<version>1.0</version>
@@ -21,7 +21,7 @@
</dependency>
<dependency>
<groupId>trajano</groupId>
<groupId>@ID@</groupId>
<artifactId>web</artifactId>
<type>war</type>
<version>1.0</version>

View File

@@ -6,17 +6,20 @@
<id>ejb</id>
<name>EJB</name>
<currentVersion>1.0</currentVersion>
<package>example.ejb</package>
<package>@PACKAGE@.ejb</package>
<description>An EJB</description>
<dependencies>
<dependency>
<id>junit</id>
<version>3.8.1</version>
</dependency>
<!-- NOT AVAILABLE IN BIBLIO REPOSITORY -->
<!--
<dependency>
<id>ejb</id>
<version>2.1</version>
</dependency>
-->
<dependency>
<id>xdoclet</id>
<version>1.2</version>
@@ -51,7 +54,14 @@
<version>1.2</version>
<url>http://xdoclet.sf.net/</url>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>maven-xdoclet-plugin</artifactId>
<version>1.2</version>
<type>plugin</type>
<url>http://xdoclet.sf.net/</url>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-j2ee</artifactId>

View File

@@ -5,13 +5,14 @@
<pomVersion>3</pomVersion>
<id>web</id>
<name>Web Application</name>
<package>example.web</package>
<package>@PACKAGE@.web</package>
<description>This is the web application.</description>
<dependencies>
<dependency>
<groupId>trajano</groupId>
<artifactId>ejb-client</artifactId>
<groupId>@ID@</groupId>
<artifactId>ejb</artifactId>
<version>1.0</version>
<type>ejb</type>
<properties>
<war.bundle>true</war.bundle>
</properties>
@@ -92,6 +93,14 @@
<url>http://xdoclet.sf.net/</url>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>maven-xdoclet-plugin</artifactId>
<version>1.2</version>
<type>plugin</type>
<url>http://xdoclet.sf.net/</url>
</dependency>
<!-- HttpUnit dependencies -->
<dependency>
<groupId>httpunit</groupId>

View File

@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:maven="jelly:maven" default="multiproject">
<goal name="multiproject:build">
<attainGoal name="multiproject:war-install" />
<attainGoal name="multiproject:ejb-install" />
<attainGoal name="multiproject:ear" />
<project xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:maven="jelly:maven" default="complex:build">
<goal name="complex:build">
<attainGoal name="complex:ejb-install" />
<attainGoal name="complex:war-install" />
<attainGoal name="complex:ear" />
</goal>
<goal name="multiproject:war">
<goal name="complex:war">
<maven:reactor
basedir="."
banner="Creating WAR files"
@@ -16,7 +16,7 @@
ignoreFailures="${maven.multiproject.ignoreFailures}"
/>
</goal>
<goal name="multiproject:ear">
<goal name="complex:ear">
<maven:reactor
basedir="."
banner="Creating EAR files"
@@ -27,7 +27,7 @@
ignoreFailures="${maven.multiproject.ignoreFailures}"
/>
</goal>
<goal name="multiproject:ejb">
<goal name="complex:ejb">
<maven:reactor
basedir="."
banner="Creating EJB files"
@@ -38,7 +38,7 @@
ignoreFailures="${maven.multiproject.ignoreFailures}"
/>
</goal>
<goal name="multiproject:war-install">
<goal name="complex:war-install">
<maven:reactor
basedir="."
banner="Installing WAR files"
@@ -49,7 +49,7 @@
ignoreFailures="${maven.multiproject.ignoreFailures}"
/>
</goal>
<goal name="multiproject:ejb-install">
<goal name="complex:ejb-install">
<maven:reactor
basedir="."
banner="Installing EJB files"
@@ -60,8 +60,8 @@
ignoreFailures="${maven.multiproject.ignoreFailures}"
/>
</goal>
<goal name="multiproject:cactus">
<!-- <attainGoal name="multiproject:build" />-->
<goal name="complex:cactus">
<!-- <attainGoal name="complex:build" />-->
<!-- <maven:maven descriptor="components/ears/ear/project.xml" goals="cactus:test-ear" />-->
<maven:reactor
basedir="."

View File

@@ -15,6 +15,6 @@
# -------------------------------------------------------------------
maven.genapp.repackage=
maven.genapp.filter=project.xml
maven.genapp.filter=**/project.xml
maven.genapp.default.package=example.app