diff --git a/struts/xdocs/build-file.xml b/struts/xdocs/build-file.xml deleted file mode 100644 index 916c5f0a..00000000 --- a/struts/xdocs/build-file.xml +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - dIon Gillard - Maven Plug-in Build File Documentation - - - -
-

- Maven utilizes Ant - to provide users with an easy-to-use and familiar interface to - manage projects that have been described with a valid Maven project descriptor. - The build files that Maven - installs are stored in ${maven.home} directory. -

-

- This document describes the Ant build file and targets - that are available when using the Struts Plug-in with Maven. -

-

- The current recommended approach to using Maven is to add - delegators to these Maven-provided targets in your project's - main build file. This will enable you to use your existing - build file with the additional Maven functionality. In - addition, it is also recommended that you load a standard set of - property files. The property files will setup your environment, - ${lib.repo} and ${maven.home}, and - allow you to override Maven defaults properties. Please refer - to the Integration document for - more information on how to integrate these build targets into - your project. -

-

- The following table contains a brief overview of the - build file that is installed as part of the Maven Struts Plug-in in the - ${maven.home}/plugin/struts directory. In addition, - the various Ant targets in this file is discussed. -

- - - - - - -
Build FileDescription
build.xml - Contains a target validate Struts WAR files. -
-

- The build file utilizes various properties for default and - user-configurable settings. All Struts Plug-in properties are described - in the Properties document. - - The rest of this document assumes your project follows the standard - Directory Layout; however, it is - possible to override many of these defaults. -

-
-
- - - - - - -
TargetDescription
maven:validate-struts-warValidate a Struts WAR file.
-

- -

- The maven:validate-struts-war target validates the struts - war file. -

-

- The validator checks the folowing: -

    -
  1. It's a valid war file as per the - J2EE War Validator
  2. -
  3. The war file has a struts configuration, usually - WEB-INF/struts-config.xml
  4. -
  5. Form Beans defined by a <form-bean> tag - have a type that is loadable from the war file - and not the classpath. If the form bean has - a className, that class too must be loaded from - the war
  6. -
  7. Actions defined by a <action< tag have - several validations: -
      -
    1. the className attribute must be a - class loadable from the war
    2. -
    3. the name attribute, must match a - <form-bean> name attribute.
    4. -
    5. the path attribute must start with a - forward slash, i.e. '/'
    6. -
    7. the scope attribute must be one of - request or sesssion
    8. -
    9. the type attribute must be a class - loadable from the war
    10. -
    11. the unknown and validate - attributes must be either true or - false
    12. -
    -
  8. -
-

- -
- -
diff --git a/struts/xdocs/dirlayout.xml b/struts/xdocs/dirlayout.xml deleted file mode 100644 index f00cf161..00000000 --- a/struts/xdocs/dirlayout.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - dIon Gillard - Maven Struts Plug-in Directory Layout - - - - -
-

- Having a common directory layout would allow for users familiar - with one Maven project to immediately feel at home in another - Maven project. The advantages are analogous to adopting a - site-wide look-and-feel. Common Maven procedures strengthen the - Maven brand. -

-

- The next two sections document the directory layout expected by - Maven and the directory layout created by Maven. Please try to - conform to this structure as much as possible; however, if you - must these settings can be overridden via properties as - documented in the Integration document. -

-
-
- - - - - - - - - - - -
Directory nameContentComment
target/Contains compiled WARs. - This directory is used by the Struts Plug-in as the source of the - war to be validated. -
-
- -