The worked. Thanks

--------------------------------------------------------------------------------
Thanks
Mick Knutson

http://www.BASELogic.com
http://www.MickKnutson.com

MSN Messenger: [EMAIL PROTECTED]

--------------------------------------------------------------------------------

----- Original Message ----- From: "Rinku" <[EMAIL PROTECTED]>
To: "Maven Users List" <[email protected]>
Sent: Saturday, January 14, 2006 11:41 AM
Subject: Re: [m2] Error setting contextRoot in my ear


Hi,
I am wondering if the <webmodule> is supposed to be written as <webModule>
Can you try that.

Cheers, Rahul
----- Original Message ----- From: "Mick Knutson" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, January 15, 2006 4:31 AM
Subject: [m2] Error setting contextRoot in my ear


I want my application contextRoot to be / so there is no additional directory for my app.
But I add this into my ear plugin cfg:

           <plugin>
               <artifactId>maven-ear-plugin</artifactId>
               <configuration>
                   <archive>
                       <manifest>
                           <addClasspath>true</addClasspath>
                       </manifest>
                   </archive>
                   <modules>
                       <webmodule>
                           <groupId>com.yoursos.servlets</groupId>
                           <artifactId>yoursos</artifactId>
                           <contextRoot>/</contextRoot>
                       </webmodule>
                   </modules>
               </configuration>
           </plugin>


and here is the error I get:

[INFO] Building YourSOS Enterprise Application Resource (EAR) Assembly
[INFO]    task-segment: [package]
[INFO] 
----------------------------------------------------------------------------
[INFO] 
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-ear-plugin:2.1



Cause: Class 'org.apache.maven.plugin.ear.EarModule' cannot be instantiated









---
Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

Washington Mutual (WAMU) (Emeryville, California)
---



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to