maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karim33 <h_karim2...@yahoo.fr>
Subject execute project from ear
Date Thu, 01 Jun 2006 14:56:29 GMT

hi all;

is it possible to execute modules (ejb,war,...) from my ear pom:

-project
        -pom.xml
        -ejb
        -common 
        -webapp

i want launch the differente subproject ant create my ear in the pom.xml
<packaging>ear</packaging>

i used the plugin below but i've the error:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to configure plugin parameters for:
org.apache.maven.plugins:maven-ear-plugin:2.2



Cause: Class 'org.apache.maven.plugin.ear.EarModule' cannot be instantiated
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 46 seconds
[INFO] Finished at: Thu Jun 01 16:55:34 CEST 2006
[INFO] Final Memory: 3M/6M
[INFO]
------------------------------------------------------------------------




<plugin>
   <groupId>org.apache.maven.plugins</groupId> 
     <artifactId>maven-ear-plugin</artifactId> 
         <configuration> 
         	<modules>
               	 <javaModule>
          	  <groupId>hgpp_src</groupId>
  	              <artifactId>commonhgpp</artifactId>
         	 </javaModule>      

          	 <ejbModule>
          	  <groupId>ejb_jar</groupId>
    	              <artifactId>ejb_jar</artifactId>
          	 </ejbModule>      
	<warModule>
                      <groupId>${produit}_war</groupId>
	      <artifactId>portlets${produit}</artifactId>
	</warModule>
	          	
        </modules>
       </configuration> 
 </plugin> 
	

can u help me pls?			
--
View this message in context: http://www.nabble.com/execute+project+from+ear-t1717263.html#a4663648
Sent from the Maven - Dev forum at Nabble.com.


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


Mime
View raw message