Optional
 
 
You can optionally point your build properties in a configuration file:
 
<project>
    ...
    <build>
        ...
        <plugins>
            <plugin>
                <groupId>net.sourceforge.clownfish.mojo.glassfish</groupId>
                <artifactId>clownfish-maven-plugin</artifactId>                
                <version>0.1.1-SNAPSHOT</version>
                <configuration>
                    <configurationFile>/path/clownfish.properties</configurationFile>
                </configuration>
                <dependencies>
                    ....
                </dependencies>
            </plugin>
        </plugins>
    </build>
   ...
</project>
 
 
where /path/clownfish.properties contains customised properties:
 
clownfish.deploy.dfmclassname=com.sun.enterprise.deployapi.SunDeploymentFactory
clownfish.deploy.uri=deployer:Sun:AppServer::localhost:4848
clownfish.username=admin
clownfish.password=adminadmin
clownfish.targets=server
clownfish.artifactTypes=ear, war, ejb, rar, car
clownfish.autostart=true
clownfish.verbose=false
 
 
 
Copyright ©  2008 LYeung All Rights Reserved