From 200a40b332420f94992eb39a6d0ea1cf1490ffc4 Mon Sep 17 00:00:00 2001 From: coreyg Date: Fri, 21 Nov 2014 09:30:19 +0000 Subject: Adding tuscany's website to their svn repo for svnpubsub git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1640879 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany-war-plugin/tuscany-war-mojo.html | 253 +++++++++++++++++++++ 1 file changed, 253 insertions(+) create mode 100644 site/trunk/site-publish/plugins/tuscany-war-plugin/tuscany-war-mojo.html (limited to 'site/trunk/site-publish/plugins/tuscany-war-plugin/tuscany-war-mojo.html') diff --git a/site/trunk/site-publish/plugins/tuscany-war-plugin/tuscany-war-mojo.html b/site/trunk/site-publish/plugins/tuscany-war-plugin/tuscany-war-mojo.html new file mode 100644 index 0000000000..8b94f92ecd --- /dev/null +++ b/site/trunk/site-publish/plugins/tuscany-war-plugin/tuscany-war-mojo.html @@ -0,0 +1,253 @@ + + + + + + + + + + + + + + Apache Tuscany War Plugin - + tuscany-war-plugin - tuscany-war:tuscany-war + + + + + + + +
+ +
+
+
+ + + +

tuscany-war:tuscany-war

+

Build the tuscany war file by adding the tuscany dependencies. + +Performs the following tasks. + +

    +
  • Adds the boot dependencies transitively to WEB-INF/tuscany/boot
  • +
  • By default boot libraries are transitively resolved from webapp-host
  • +
  • The version of boot libraries can be specified using configuration/runTimeVersion element
  • +
  • Boot libraries can be overridden using the configuration/bootLibs element in the plugin
  • +
  • Adds the extension artifacts specified using configuration/extensions to WEB-INF/tuscany/extensions
  • +
  • If configuration/loadExtensionsDependency is set to true extension dependencies are transitivel loaded
  • +
  • Extension dependencies are loaded into WEB-INF/tuscany/repository directory in a Maven repo format
  • +
  • Extension dependency metadata is written to WEB-INF/tuscany/repository/dependency.metadata file
  • +

+

Mojo Attributes:

    +
  • Requires a Maven 2.0 project to execute.
  • +
  • Automatically executes within the lifecycle phase: package
  • +
+

+

Required Parameters

+ + + + + + + + + + + + + + + + +
NameTypeDescription
outputDirectoryStringThe directory for the generated WAR.
warNameStringThe name of the generated WAR.
+
+

Optional Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
bootLibsDependency[]The directory for the generated WAR.
dependenciesDependency[]The directory for the generated WAR.
extensionsDependency[]The directory for the generated WAR.
loadExtensionDependenciesbooleanA flag to indicate whether extension dependencies should be resolved transitively.
metadataSourceArtifactMetadataSourceArtifact metadata source.
runTimeVersionStringThe default version of boot dependany jar files
+
+

Parameter Details

+

bootLibs

+

The directory for the generated WAR.

+
    +
  • Type: org.apache.tuscany.plugin.war.Dependency[]
  • +
  • Required: No
  • +

dependencies

+

The directory for the generated WAR.

+
    +
  • Type: org.apache.tuscany.plugin.war.Dependency[]
  • +
  • Required: No
  • +

extensions

+

The directory for the generated WAR.

+
    +
  • Type: org.apache.tuscany.plugin.war.Dependency[]
  • +
  • Required: No
  • +

loadExtensionDependencies

+

A flag to indicate whether extension dependencies should be resolved transitively.

+
    +
  • Type: boolean
  • +
  • Required: No
  • +

metadataSource

+

Artifact metadata source.

+
    +
  • Type: org.apache.maven.artifact.metadata.ArtifactMetadataSource
  • +
  • Required: No
  • +

outputDirectory

+

The directory for the generated WAR.

+
    +
  • Type: java.lang.String
  • +
  • Required: Yes
  • +
  • Expression: ${project.build.directory}
  • +

runTimeVersion

+

The default version of boot dependany jar files

+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +

warName

+

The name of the generated WAR.

+
    +
  • Type: java.lang.String
  • +
  • Required: Yes
  • +
  • Expression: ${project.build.finalName}
  • +
+
+
+ + +
+
+
+
+
+ + + -- cgit v1.2.3