It was my mistake. I wanted to exclude a web module by using a profile and it
did not work. But I could fix it using combine.children="append". So I
basically I added an extra web module in my profile using:

<plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-ear-plugin</artifactId>
                    <version>2.9</version>
                    <configuration>
                    <modules combine.children="append">
                        <webModule>
                                                        
<groupId>fuseim</groupId>
                                                        
<artifactId>xstreamline3-webservice</artifactId>
                                                        
<contextRoot>/data</contextRoot>
                                                        <bundleDir>/</bundleDir>
                                                </webModule>
                    </modules>
                    </configuration>
                </plugin>
            </plugins>

Thank you for your help



--
View this message in context: 
http://maven.40175.n5.nabble.com/contextRoot-is-set-by-default-when-specified-in-profile-tp5788934p5788947.html
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