Created
June 27, 2011 12:37
-
-
Save behrangsa/1048776 to your computer and use it in GitHub Desktop.
maven-glassfish-plugin configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.glassfish.maven.plugin</groupId> | |
<artifactId>maven-glassfish-plugin</artifactId> | |
<version>2.1</version> | |
<configuration> | |
<glassfishDirectory>${glassfish.home}</glassfishDirectory> | |
<user>${domain.username}</user> | |
<passwordFile>${glassfish.home}/domains/${project.build.finalName}/master-password</passwordFile> | |
<autoCreate>true</autoCreate> | |
<debug>true</debug> | |
<echo>false</echo> | |
<terse>true</terse> | |
<components> | |
<component> | |
<name>${project.artifactId}</name> | |
<artifact>${project.build.directory}/${project.build.finalName}.war</artifact> | |
</component> | |
</components> | |
<domain> | |
<name>${project.build.finalName}</name> | |
<adminPort>4848</adminPort> | |
<httpPort>8080</httpPort> | |
<httpsPort>8443</httpsPort> | |
</domain> | |
</configuration> | |
</plugin> |
I'm afraid I've not used Glassfish (and Windows) for years. Try asking on the Maven and Glassfish forums.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to deploying war file into glassfish server using maven script, getting error like :
CreateProcess error=193, %1 is not a valid Win32 application.
GitHub link : https://github.com/dileepnaduvinamani/Glassfish-Mvn-Plugin.git