Skip to content
andrzejsliwa edited this page Sep 13, 2010 · 11 revisions

Welcome to the glassfish-maven-plugin wiki!

glassfish-maven-plugin
Is a maven plugin to automate deployment on Glassfish server from maven

Bug reports and patches

Example usage in configuration (maven pom):


<plugin>
    <groupId>pl.sliwa.maven.plugin</groupId>
    <artifactId>glassfish-maven-plugin</artifactId>
    <configuration>
        <glassfishHome>/home/franz/java/servers/sun-app-serv91</glassfishHome>
        <user>admin</user>
        <passwordfile>/home/franz/java/servers/password.txt</passwordfile>
        <port>4848</port>
        <host>localhost</host>
    </configuration>
</plugin>

Example commands:

mvn glassfish:start starting glassfish server
mvn glassfish:stop stopping
mvn glassfish:deploy deploy application on server
mvn glassfish:undeploy remove application from server
mvn glassfish:start-database start embedded derby database
mvn glassfish:stop-database stop embedded database

andrzejsliwa.com

Clone this wiki locally