You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ni...@arsoe-trelaze.com on 2003/12/12 17:17:29 UTC

ear:install doesn't include war

I define in my ear module the next dependencies : 

    <dependency>
      <artifactId>protoCoopgen</artifactId>
      <groupId>coopgen</groupId>
      <version>SNAPSHOT</version>
      <type>war</type>
      <properties>
        <ear.bundle>true</ear.bundle>
        <ear.appxml.war.context-root>protoCoopgen</ear.appxml.war.context-root>
      </properties>
    </dependency>
 
    <dependency> 
      <artifactId>protoCoopgen-ejb</artifactId>
      <groupId>coopgen</groupId>
      <version>SNAPSHOT</version>
      <type>ejb</type>
      <properties>
        <ear.bundle>true</ear.bundle>
      </properties>
    </dependency>

I launch ear:install. The log write :

ear:generate-ear-descriptor:
    [echo] Generating appxml 
file:"c:\projet-maven\protocoopgen\applications\protoCoopgenEAR/target/application/META-INF/application.xml 
versio
n 1.3"

    [echo] Building EAR protoCoopgen-1.0-b1 with appxml 
"c:\projet-maven\protocoopgen\applications\protoCoopgenEAR/target/application/META-INF/
application.xml"
    [echo] Bundling: war - coopgen:protoCoopgen
    [echo] Bundling: ejb - coopgen:protoCoopgen-ejb
    [echo] Bundling: jar - arsoe-socle:socle-dao
    [echo] Bundling: jar - arsoe-socle:socle-integration
    [echo] Bundling: jar - arsoe-socle:socle-util
    [echo] Bundling: jar - struts:struts
    [echo] Bundling: jar - log4j:log4j
    [echo] Bundling: jar - commons-logging:commons-logging
    [echo] Bundling: jar - commons-lang:commons-lang
    [echo] Bundling: jar - commons-configuration:commons-configuration
    [echo] Bundling: jar - commons-beanutils:commons-beanutils
    [echo] Bundling: jar - commons-digester:commons-digester
    [echo] Bundling: jar - commons-collections:commons-collections
    [echo] Bundling: jar - commons-pool:commons-pool
    [echo] Bundling: jar - commons-dbcp:commons-dbcp
    [echo] Bundling: jar - jtopen:jtopen
    [echo] Bundling: jar - mm.mysql:mm.mysql
    [echo] Bundling: jar - ojb:ojb
    [ear] Building ear: 
C:\projet-maven\protocoopgen\applications\protoCoopgenEAR\target\protoCoopgen-1.0-b1.ear
Copying: from 
'c:\projet-maven\protocoopgen\applications\protoCoopgenEAR\target\protoCoopgen-1.0-b1.ear' 
to: 'C:\Documents and Settings\chalume
au\.maven\repository\coopgen\ears\protoCoopgen-1.0-b1.ear'
Copying: from 
'c:\projet-maven\protocoopgen\applications\protoCoopgenEAR\project.xml' 
to: 'C:\Documents and Settings\chalumeau\.maven\repositor
y\coopgen\poms\protoCoopgen-1.0-b1.pom'
BUILD SUCCESSFUL

Build is successful and the generate application.xml include all the 
modules (the .war too) but when I unzip the ear to see want is generate : 
I don't find the protoCoopgen-SNAPSHOT.

Did I ommit to define something ?

I hope you have all necessary information.

Nicolas,

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org