I'd like to add the following XML snippet to my settings.xml.  Is it
possible?  'mvn clean install' is successful (i.e. no errors) but the EAR is
not copied as it was when the XML snippet was in the parent POM.

<build>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>org.codehaus.mojo</groupId>
                            <artifactId>jboss-maven-plugin</artifactId>
                            <configuration>                                
                                <serverName>all</serverName>                    
            
                               
<fileName>${project.build.directory}/${project.build.finalName}.ear</fileName>
                            </configuration>
                            <executions>
                                <execution>
                                    <id>deploy-container</id>
                                    <phase>install</phase>
                                    <goals>
                                        <goal>harddeploy</goal>
                                    </goals>
                                </execution>
                            </executions>
                        </plugin>                        
                    </plugins>
                </pluginManagement>
            </build>

-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Adding-plugin-to-settings-xml-tp512724p512724.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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

Reply via email to