Thanks a lot, I can able to call the sub level pom using "pom" as packaging
in parent pom.xml. But I could not create ear, this is my sample code in
parent pom.xml  for ear.

<build>
        <defaultGoal>package</defaultGoal>
    <plugins>
                <plugin>
          <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-ear-plugin</artifactId>
        <version>2.0</version>
        <configuration>
                  
<outputDirectory>C:\develop\OnePortal\CEApp\CEPortalEAR</outputDirectory>
                   <finalName>CEAPP</finalName>
    <modules>
          <module>SamplePortlet</module>
           <module>ClaimsPortlet</module>       
   </modules>

                </configuration>

Thanks a lot for the great help.

RAM.


vojjala wrote:
> 
> Hi Maven Users, I am wondering how can I call the sub level pom.xml from
> the top level directory
> My folder structure like this"
> c:\test\testapp\pom.xml
> c:\test\test1app\pom.xml
> c:\test\test2app\pom.xml
> What I want is, in single execution of top level
> pom(c:\test\testapp\pom.xml) should able to run rest of the poms. I have
> tried running all them independently it worked fine but this is very
> troublesome to run individually.
> thanks a lot for the help.
> 
> RAM.
> 

-- 
View this message in context: 
http://www.nabble.com/calling-pom-from-another-pom-tf3064828s177.html#a8524575
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to