winstone:embed

Full name:

net.sf.alchim:winstone-maven-plugin:1.1:embed

Description:

Embed your warfile into the winstone JAR itself. This allows an all-in-one container plus web-application JAR file to be downloaded, and then unpacked at execution time.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: package.

Required Parameters

Name Type Since Description
filename String - filename of standalone jar.
outputDirectory File - Location of the file.
project MavenProject - (no description)
warFile File - The War file to embed.

Optional Parameters

Name Type Since Description
cmdLineOptions Properties - Properties to embed, If you need to add any default command-line arguments (eg ports or prefixes).

Parameter Details

cmdLineOptions :

Properties to embed, If you need to add any default command-line arguments (eg ports or prefixes).

  • Type: java.util.Properties
  • Required: No

filename :

filename of standalone jar.

  • Type: java.lang.String
  • Required: Yes
  • Expression: ${project.build.finalName}-standalone.jar

outputDirectory :

Location of the file.

  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.directory}

project :

(no description)

  • Type: org.apache.maven.project.MavenProject
  • Required: Yes
  • Expression: ${project}

warFile :

The War file to embed.

  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.directory}/${project.build.finalName}.war