You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Janos Mucsi <mu...@yahoo.com> on 2004/11/06 00:58:35 UTC

context root is missing from application.xml

Hi

in project.xml I have this:

<dependency>
        <groupId>everest</groupId>
        <artifactId>everest-module-csrweb</artifactId>
        <version>${pom.currentVersion}</version>
        <type>war</type>
        <properties>
            <ear.bundle>true</ear.bundle>
           
<ear.appxml.ear.context-root>/foobar-online</ear.appxml.ear.context-root>
        </properties>

However, after running "maven ear" application.xml
looks like this:

<module>
    <web>
      <web-uri>everest-module-csrweb-1.0.war</web-uri>
      <context-root>
      </context-root>
    </web>
  </module>


Any ideas? (I am using Maven 1.0 not 1.0.1)
Thanks.

Janos


		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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


RE: context root is missing from application.xml

Posted by Charles Daniels <cj...@yahoo.com>.
The correct property name is <ear.appxml.war.context-root>

> -----Original Message-----
> From: Janos Mucsi [mailto:mucsij@yahoo.com] 
> Sent: Friday, November 05, 2004 4:59 PM
> To: Maven Users List
> Subject: context root is missing from application.xml
> 
> Hi
> 
> in project.xml I have this:
> 
> <dependency>
>         <groupId>everest</groupId>
>         <artifactId>everest-module-csrweb</artifactId>
>         <version>${pom.currentVersion}</version>
>         <type>war</type>
>         <properties>
>             <ear.bundle>true</ear.bundle>
>            
> <ear.appxml.ear.context-root>/foobar-online</ear.appxml.ear.co
> ntext-root>
>         </properties>
> 
> However, after running "maven ear" application.xml
> looks like this:
> 
> <module>
>     <web>
>       <web-uri>everest-module-csrweb-1.0.war</web-uri>
>       <context-root>
>       </context-root>
>     </web>
>   </module>
> 
> 
> Any ideas? (I am using Maven 1.0 not 1.0.1)
> Thanks.
> 
> Janos
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Check out the new Yahoo! Front Page. 
> www.yahoo.com 
>  
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


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