Users guide
Architecture
Demo applications
Plugins
Porting Guide
Development Roles
Introduction
Administrator
Deployer
Assembler
Block Developer
Project Info
License
Mailing lists
IRC
Source repositories
Issue tracking
Blog entries
Team
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
Users guideArchitecture Development RolesIntroduction Project InfoLicense |
Maven Loom usage
IntroductionThe maven-loom plug-in provides the ability to generate a Loom application packaged as a Sar file, install it and deploy it. Plug-in Goals
Plug-in Settings
Including jars in the sarTo include a dependency in the sar you need to set the sar.bundle property to true: <dependency> <id>jarid</id> <version>jarversion</version> <properties> <sar.bundle>true</sar.bundle> </properties> </dependency> Including resources in the appTo include a resource in the app you need to set the corresponding targetPath to SAR-INF. Example: <build> <resources> <resource> <directory>${basedir}/src/conf</directory> <targetPath>SAR-INF</targetPath> <includes> <include>**/somedescriptor.xml</include> </includes> <excludes> <exclude>**/*.java</exclude> </excludes> </resource> </resources> </build> TipsFiltering XML filesIf you need to copy the [assembly|config|environment].xml files in order to replace some filter tokens or simply perform some custom modification to it, simply write a pre-goal to the loom:sar goal in which you perform the manipulation. Then set the maven.loom.[assembly|config|environment] property to point to your modified [assembly|config|environment].xml. |
|||||||||||||||||||||||||||||||||||||||||||||||
|
Copyright 2003-2006 - The Codehaus. All rights reserved unless otherwise noted.
Powered by Atlassian Confluence
|
||||||||||||||||||||||||||||||||||||||||||||||||