Skip to content

Instantly share code, notes, and snippets.

@lotabout
Created April 21, 2015 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lotabout/f3bed792bd1b4282a995 to your computer and use it in GitHub Desktop.
Save lotabout/f3bed792bd1b4282a995 to your computer and use it in GitHub Desktop.
.m2/settings.xml for maven glassfish plugin.
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>glassfish-context</id>
<properties>
<local.glassfish.home>C:\\glassfish3\\glassfish</local.glassfish.home>
<local.glassfish.user>admin</local.glassfish.user>
<local.glassfish.domain>domain1</local.glassfish.domain>
<local.glassfish.adminPassword>admin</local.glassfish.adminPassword>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>glassfish-context</activeProfile>
</activeProfiles>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment