Full name:
net.sf.opk:embedded-glassfish-web-plugin:2.1:run
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
classesDirectory | File | - | The directory where classes are compiled to. User property is: project.build.outputDirectory. |
testClassesDirectory | File | - | The directory where classes test are compiled to. User property is: project.build.testOutputDirectory. |
webAppSourceDirectory | File | - | The directory that contains the resources of the web application. Default value is: ${project.basedir}/src/main/webapp. |
Name | Type | Since | Description |
---|---|---|---|
contextRoot | String | - | The context root to deploy the application at. Defaults to the
artifact. Default value is: /${project.artifactId}. |
extraCommands | Command[] | - | Commands to asadmin to execute prior to deploying the
application. The commands required for the properties
glassFishResources and fileRealms will
already be executed. |
fileRealms | FileRealm[] | - | The file realms to create prior to deploying the application. The
predefined realms "file" and "admin-realm" are recognized and not
created anew, though the users you define are added. The predefined
realm "certificate" is also recognized, but will generate an error
(it is not a file realm). |
glassFishResources | File | - | A resource file that defines the external resources required by the
web application. Similar to
${webAppSourceDirectory}/WEB-INF/glassfish-resources.xml,
but some environments require database passwords etc. to be kept
outside your application. This simulates that by loading the
resources before the application is deployed. |
httpPort | int | - | The HTTP port GlassFish should listen on. Defaults to 8080. Default value is: 8080. |
httpsPort | int | - | The HTTPS port GlassFish should listen on. Defaults to 8443, 0
means "none". Default value is: 8443. |
loggingProperties | File | - | A file to configure java.util.logging, which is the
logging system used by GlassFish. |
useTestClasspath | boolean | - | If true, the <testClassesDirectory> will be put on the
runtime classpath before <classesDirectory> and the
dependencies of <scope>test<scope> will be put on the
runtime classpath as well. Default value is: false. |