Thanks for the quick reply. I have tried this plugin earlier thats not what i wanted. This plugin reads the metadata information of the plugin at compile time. I need something that can read the configuration of from the pom for maven-war-plugin (if no configuration specified, take defaults), and provide them to my custom plugin. To give an example, below is the current configuration we have in our web application.
<pom.xml> ... ... <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <warSourceDirectory>src/webapp</warSourceDirectory> <webappDirectory>${jboss.expldoed}</webappDirectory> <filters> <filter>src/main/filters/${filter}.properties</filter> </filters> <webResources> <resource> <directory>src/webapp/WEB-INF</directory> <filtering>true</filtering> <includes> <include>tabconfig.xml</include> </includes> </resource> </webResources> </configuration> </plugin> ... ... </pom> When i use my custom goal webapp:refresh - i would like to refresh the webapp directory alone using the above configuration. I would really not like to redefined this configuration again for my custom plugin of the pom. Sven Preßler wrote: > > You might want to take a look at the maven-inherit-plugin: > http://www.ops4j.org/projects/pax/construct/maven-inherit-plugin/ > > -Sven > > -- View this message in context: http://www.nabble.com/Can-we-write-a-custom-webapp-plugin-that-uses-the-war-plugin-and-its-configruation--tp25140948p25142714.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