Hi Olivier,
On 2008-01-08 00:36, Olivier Dehon wrote: > On Mon, 2008-01-07 at 16:21 +0100, Zsolt KOZAK wrote: > >> Hi, >> >> I have the following problem. >> >> We use a custom packaging called "warstub". We uses modules and if a >> module depends on other modules, its war will contain ALL the >> dependecies (jars, html, images, etc). A warstub would contain only the >> current module web-stuff (jar, html, etc.), so it's a kind of war but >> contains less stuff. We created our own plugin which creates "warstub". >> >> > > If I understand correctly what you are trying to achieve, you might want > to use the overlay capability of the war plugin, by adding a dependency > of type "war". > > http://maven.apache.org/plugins/maven-war-plugin/overlays.html > Not exactly... This problem was solved with an own plugin. The problem is to fine tune this plugin by passing configure parameters to the maven-war-plugin in a plexus components.xml. (I just tried to explain why I needed to configure the war-plugin). So I have the following snipplet from a components.xml and I'd like to pass some config parameters to the maven-war-plugin for the package phase. Is it possible in a plexus components.xml? ..... <component> <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role> <role-hint>warstub</role-hint> <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation> <configuration> <lifecycles> <lifecycle> <id>default</id> <phases> <process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources> <compile>org.apache.maven.plugins:maven-compiler-plugin:compile</compile> <process-test-resources>org.apache.maven.plugins:maven-resources-plugin:testResources</process-test-resources> <test-compile>org.apache.maven.plugins:maven-compiler-plugin:testCompile</test-compile> <test>org.apache.maven.plugins:maven-surefire-plugin:test</test> <package>org.apache.maven.plugins:maven-war-plugin:war</package> <install>org.apache.maven.plugins:maven-install-plugin:install</install> <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy> </phases> </lifecycle> </lifecycles> </configuration> </component> ..... thank you, Zsolt -- Zsolt KOZAK [EMAIL PROTECTED] personal web: http://zso.lt Road To Avonlea: http://avonlea.hu --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
