diff --git a/appserver/plugin.jelly b/appserver/plugin.jelly deleted file mode 100644 index 928e4466..00000000 --- a/appserver/plugin.jelly +++ /dev/null @@ -1,652 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------------------------------------------------------- - | Plugin Configuration Error | - -------------------------------------------------------------------------- - - A required property is missing a value. - - Property name: ${propname} - - Errors must be corrected before using this plugin. - - -------------------------------------------------------------------------- - - - - - -------------------------------------------------------------------------- - | Plugin Configuration Error | - -------------------------------------------------------------------------- - - A required property is pointing to an invalid directory. - - Property name: ${propname} - Invalid value: ${propvalue} - - Errors must be corrected before using this plugin. - - -------------------------------------------------------------------------- - - - - - -------------------------------------------------------------------------- - | Plugin Configuration Error | - -------------------------------------------------------------------------- - - The specified appserver name is currently not supported. - - Property name: ${propname} - Property value: ${propvalue} - - For supported ${propname} values, please see the help docs. - - -------------------------------------------------------------------------- - - - - - -------------------------------------------------------------------------- - | Plugin Configuration Error | - -------------------------------------------------------------------------- - - The specified version for the ${appserver} appserver is currently - not supported. - - Property name: ${propname} - Property value: ${propvalue} - - For supported ${propname} values, please see the help docs. - - -------------------------------------------------------------------------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - installed - not installed - - - - - - started - not started - - - - - -Maven has determined your appserver instance is in directory [ ] and on - - - - - -Maven has determined your appserver instance is in directory [ ] and using socket on host . - - - - - - - - - - - - - -: Deleting appserver instance ... - - - - - - - - - - -: Installing appserver instance ... - - - - - - - - - -: Re-installing appserver instance ... - - - - - - - - - - -: Starting appserver instance ... - - - - - - - - - -: Re-starting appserver instance ... - - - - - - - - - -: Stopping appserver instance ... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------------------------------------------------------- - | Plugin Runtime Error | - -------------------------------------------------------------------------- - - Maven could not determine the current status for your - instance. This was an unexpected runtime error that should be reported. - - -------------------------------------------------------------------------- - - - - - - - - - - - - - - - - - - - - - - - -Appserver could not be installed because it is already installed. Trying to -reinstall the appserver instead ... - - - - - - - - - - - - - - - - - - - - -Appserver could not be reinstalled because it is not yet installed. Trying to -install the appserver instead ... - - - - - - - - - - - - - - - - - - - - -------------------------------------------------------------------------- - | Plugin Warning | - -------------------------------------------------------------------------- - - Appserver not yet installed - - You may try - o appserver:install appserver:start - o appserver:cycle - - -------------------------------------------------------------------------- - - - - -Appserver could not be started because it is already started. Trying to restart -the appserver instead ... - - - - - - - - - - - - - - - - - - - - - - - - -Appserver could not be restarted because it is not yet started. Trying to start -the appserver ... - - - - - - - - - - - - - - - - - - -Appserver already stopped! - - - - - - - - - - - - - - - - - - - - - - - - - - - -Appserver already cleaned! - - - - - - - diff --git a/appserver/plugin.properties b/appserver/plugin.properties deleted file mode 100644 index 2e3ff8e6..00000000 --- a/appserver/plugin.properties +++ /dev/null @@ -1,122 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -############################################################################ -# W E B S E R V E R -#--------------------------------------------------------------------------- - -#-------------------------------------------------------# -# OPTIONAL PROPERTIES TO BE SET BY PLUGIN CONSUMER # -#-------------------------------------------------------# - -# -# ports to access and configure this server instance -# -maven.appserver.port.http=80 -maven.appserver.port.https=443 - -# -# optional ports for other work -# -# maven.appserver.port.A= -# maven.appserver.port.B= -# maven.appserver.port.C= - -# -# The host name, used when configuring, defaults to localhost -# -maven.appserver.host=localhost - -# -#RMI port, Admin Username, and Admin Password used for orion support -# -maven.appserver.rmi.port= -maven.appserver.adminusername=admin -maven.appserver.adminpassword=admin - -#-------------------------------------------------------# - - -#-------------------------------------------------------# -# REQUIRED PROPERTIES THAT MAY/MUST BE SET BY USER # -#-------------------------------------------------------# - -# -# a supported name of an application server instance to install -# -# maven.appserver.name=tomcat - -# -# version number of the application server -# -# maven.appserver.version=4.x - -# -# The place where the binary machine install of the web server resides -# -# maven.appserver.home=/apps/apache2 - -# -# The directory to install the local instance of the server -# -maven.appserver.dir=${basedir}/server - -# -# The default port to test for a TCP/IP connection listener for determining if -# the appserver instance is started. Default is the same as the http port -# -maven.appserver.test.socket=${maven.appserver.port.http} - -# -# The URL used to test the current running status of the appserver -# Default is left as null, so that only the socket is used to test if the server -# is started -# -# maven.appserver.test.url=http://${maven.appserver.host}:${maven.appserver.port.http}/index.html - -# -# The root directory out of which you will server will serve your documents -# The default is under webapps, to allow this appserver to play friendly -# with a Tomcat application container by default -# -maven.appserver.root=${maven.appserver.dir}/webapps/ROOT - -#-------------------------------------------------------# - - -#-------------------------------------------------------# -# REQUIRED PROPERTIES NOT NORMALLY MODIFIED BY USERS # -#-------------------------------------------------------# - -# needed for dir searches and messages, should NOT be changed by user -maven.appserver.fullname=${maven.appserver.name}-${maven.appserver.version} - -# -# where to look for the instance specific config files for this appserver -# -maven.appserver.conf.dir=${maven.conf.dir}/appserver/${maven.appserver.fullname} - -#-------------------------------------------------------# -# DEBUG REQUIRED PROPERTIES # -#-------------------------------------------------------# -maven.appserver.debug=false -maven.appserver.debug.transport=dt_socket -maven.appserver.debug.address=8000 -maven.appserver.debug.server=y -maven.appserver.debug.suspend=n - - - diff --git a/appserver/project.properties b/appserver/project.properties deleted file mode 100644 index d66f96c3..00000000 --- a/appserver/project.properties +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- diff --git a/appserver/project.xml b/appserver/project.xml deleted file mode 100644 index a6e00bcc..00000000 --- a/appserver/project.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - - ../plugin-parent/project.xml - 3 - maven-appserver-plugin - Maven Appserver Plugin - 2.1-SNAPSHOT - - A Maven plugin that can be used to install and control a J2EE application server instance. - http://maven.apache.org/reference/plugins/appserver/ - /www/maven.apache.org/reference/plugins/appserver/ - http://jira.codehaus.org/browse/MPAPPSERVER - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/appserver/ - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/appserver/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/appserver/ - - - - 2.0 - 2.0 - MAVEN_APPSERVER_2_0 - - - - - Peter Lynch - plynch - plynch at apache dot org - - - Architect - Java Developer - - - - Stéphane Mor - smor - stephanemor@yahoo.fr - Hasgard Systèmes et Réseaux - - Java Developer - - - - Jason van Zyl - jvanzyl - jason@zenplex.com - Zenplex - - Release Manager - - - - - - ant - ant - 1.5.3-1 - - - commons-jelly - commons-jelly-tags-log - 1.0 - - - diff --git a/appserver/src/legacy/build-enhydra-31.xml b/appserver/src/legacy/build-enhydra-31.xml deleted file mode 100644 index 78198e8f..00000000 --- a/appserver/src/legacy/build-enhydra-31.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/src/legacy/build-j2ee-12.xml b/appserver/src/legacy/build-j2ee-12.xml deleted file mode 100644 index b7f24190..00000000 --- a/appserver/src/legacy/build-j2ee-12.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - -]> - - - - &build-j2ee-share; - - &build-tomcat-40; - - diff --git a/appserver/src/legacy/build-j2ee-13.xml b/appserver/src/legacy/build-j2ee-13.xml deleted file mode 100644 index 9c3224c7..00000000 --- a/appserver/src/legacy/build-j2ee-13.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - -]> - - - - - &build-j2ee-share; - - &build-tomcat-40; - - diff --git a/appserver/src/legacy/build-j2ee-share.xml b/appserver/src/legacy/build-j2ee-share.xml deleted file mode 100644 index fb497f67..00000000 --- a/appserver/src/legacy/build-j2ee-share.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/src/legacy/build-orion-14.xml b/appserver/src/legacy/build-orion-14.xml deleted file mode 100644 index e27af68c..00000000 --- a/appserver/src/legacy/build-orion-14.xml +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/src/legacy/build-orion-15.xml b/appserver/src/legacy/build-orion-15.xml deleted file mode 100644 index ea2c744b..00000000 --- a/appserver/src/legacy/build-orion-15.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/src/legacy/build-resin-12.xml b/appserver/src/legacy/build-resin-12.xml deleted file mode 100644 index a8f280ed..00000000 --- a/appserver/src/legacy/build-resin-12.xml +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/src/legacy/build-resin-13.xml b/appserver/src/legacy/build-resin-13.xml deleted file mode 100644 index ee64e796..00000000 --- a/appserver/src/legacy/build-resin-13.xml +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/src/legacy/build-resin-20.xml b/appserver/src/legacy/build-resin-20.xml deleted file mode 100644 index 221188a5..00000000 --- a/appserver/src/legacy/build-resin-20.xml +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/src/legacy/build-tomcat-32.xml b/appserver/src/legacy/build-tomcat-32.xml deleted file mode 100644 index 112b9f05..00000000 --- a/appserver/src/legacy/build-tomcat-32.xml +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/src/legacy/build-tomcat-33.xml b/appserver/src/legacy/build-tomcat-33.xml deleted file mode 100644 index 2b2bfb6d..00000000 --- a/appserver/src/legacy/build-tomcat-33.xml +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/src/legacy/build-weblogic-51.xml b/appserver/src/legacy/build-weblogic-51.xml deleted file mode 100644 index 6a3d8e39..00000000 --- a/appserver/src/legacy/build-weblogic-51.xml +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/src/legacy/build-weblogic-61.xml b/appserver/src/legacy/build-weblogic-61.xml deleted file mode 100644 index 504ba66e..00000000 --- a/appserver/src/legacy/build-weblogic-61.xml +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/src/plugin-resources/orion-2.0.x.jelly b/appserver/src/plugin-resources/orion-2.0.x.jelly deleted file mode 100644 index 1b353470..00000000 --- a/appserver/src/plugin-resources/orion-2.0.x.jelly +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - - - - - -To use this appserver, you must have a project specific -configuration file at the following location: - -${maven.appserver.conf.dir}/config/server.xml - - - - - -To use this appserver, you must have a project specific -configuration file at the following location: - -${maven.appserver.conf.dir}/config/application.xml - - - - - -To use this appserver, you must have a project specific -configuration file at the following location: - -${maven.appserver.conf.dir}/config/data-sources.xml - - - - - -To use this appserver, you must have a project specific -configuration file at the following location: - -${maven.appserver.conf.dir}/config/global-web-application.xml - - - - - -To use this appserver, you must have a project specific -configuration file at the following location: - -${maven.appserver.conf.dir}/config/jms.xml - - - - - -To use this appserver, you must have a project specific -configuration file at the following location: - -${maven.appserver.conf.dir}/config/mime.types - - - - - -To use this appserver, you must have a project specific -configuration file at the following location: - -${maven.appserver.conf.dir}/config/principals.xml - - - - - -To use this appserver, you must have a project specific -configuration file at the following location: - -${maven.appserver.conf.dir}/config/rmi.xml - - - - - -To use this appserver, you must have a project specific -library file at the following location: - -${maven.appserver.conf.dir}/lib/hsqldb.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/src/plugin-resources/tomcat-4.0.x.jelly b/appserver/src/plugin-resources/tomcat-4.0.x.jelly deleted file mode 100755 index 6655986f..00000000 --- a/appserver/src/plugin-resources/tomcat-4.0.x.jelly +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - -To use this appserver, you must have a project specific -configuration file at the following location: - -${maven.appserver.conf.dir}/conf/server.xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/src/plugin-resources/tomcat-4.1.x.jelly b/appserver/src/plugin-resources/tomcat-4.1.x.jelly deleted file mode 100755 index 2ea62f69..00000000 --- a/appserver/src/plugin-resources/tomcat-4.1.x.jelly +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - - - - - -To use this appserver, you must have a project specific -configuration file at the following location: - -${maven.appserver.conf.dir}/conf/server.xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/xdocs/appserver.xml b/appserver/xdocs/appserver.xml deleted file mode 100644 index d0bc2685..00000000 --- a/appserver/xdocs/appserver.xml +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - Peter Lynch - Maven J2EE Plug-in: Appserver Notes - - - -
-

- This page offers some general information about the appserver control - features of the J2EE plug-in. Specific details about - related targets and - their properties can be found elsewhere. -

-
-
-

- When developing a web application (or website for that matter), each developer - working on the project needs to have an environment to run and test their - application. Rather than store a complete application server install in source - control, it is much more feasible to have a centralized install of that - application server. Then, using only the minimum configuration files the - developer can control a separate isolated instance of the application server - on their machine. -

-

- The Maven J2EE plug-in appserver features use this technique to install and control - application server instances for your project needs. The appserver - features are not for - deploying webapps or war files into application servers. -

-
- -
-

- The following table shows the various appserver versions that are - supported by the appserver control features of the Maven J2EE plug-in - and what propety values are required to be set in order for the - maven:appserver-* targets to work with those versions. -

- - - - - - - - - - - - - - - - - - -
Server${maven.appserver.name}${maven.appserver.version}${maven.j2ee.version}
Tomcat 4.xtomcat4012 or 13
Orion 2.0.xorion2.0.x
- -

The following application servers are expected to be supported soon:

- -
- -
-

- To make life even easier when using the appserver targets, the Maven J2EE - plug-in includes a proxy build file. This means a file similar to the one - below is copied to the directory specified by - ${maven.appserver.dir}. -

-
${maven.appserver.dir}/build.xml
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ]]> - -

Using this build file, you can run the appserver related targets quickly - from within your ${maven.appserver.dir} directory. Typing simply

- -

can stop, re-install, and re-start a started server instance.

-
- -
diff --git a/appserver/xdocs/changes.xml b/appserver/xdocs/changes.xml deleted file mode 100644 index aec26c97..00000000 --- a/appserver/xdocs/changes.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - Changes - dIon Gillard - - - - Add Orion 2.0.x support - Add server debugging support to Tomcat 4.1.x - Make runtime appserver properties play nice with console after - multiple goal invocations - - - - Updated docs so that they referred to the current release and not b5 - Fix for jars not being included in an EAR file - Added the new - changes report. - - - - diff --git a/appserver/xdocs/dirlayout.xml b/appserver/xdocs/dirlayout.xml deleted file mode 100644 index 12ec7662..00000000 --- a/appserver/xdocs/dirlayout.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - dIon Gillard - Maven J2EE 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 or file nameContentComment
src/webappThe base directory under which web applications can be found. - This directory contains the web application to - be built. The web application name is passed to maven as the - property ${maven.j2ee.war.name} -
-
-
- - - - - - - - - - - -
Directory nameContentComment
target/Contains compiled WARs and EARs. - This directory is used by the J2EE Plug-in as the destination of the - built war and ear files -
-
- -
diff --git a/appserver/xdocs/futures.xml b/appserver/xdocs/futures.xml deleted file mode 100644 index b2b62a1b..00000000 --- a/appserver/xdocs/futures.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - dIon Gillard - Peter Lynch - Futures for the J2EE Plug-in - - - -
-

- The following is a list of things that are being contemplated - for the Maven appserver Plug-in. -

-
    -
  1. - We need to have Class-Path entries in generated J2EE EJB jars and - such. Quite tricky as it doesn't work the same for all application - servers (and across versions of them !). -
  2. -
  3. - Allow integration with a 'webserver' plugin so that application server - requests can seamlessly be hooked into the webserver. -
  4. -
  5. - Document how other Maven plugins that need an application server - instance to do their work can use this plugin. -
  6. -
-
- -
diff --git a/appserver/xdocs/goals.xml b/appserver/xdocs/goals.xml deleted file mode 100644 index 0dc8fbd2..00000000 --- a/appserver/xdocs/goals.xml +++ /dev/null @@ -1,401 +0,0 @@ - - - - - - - dIon Gillard - Kevin O'Neill - Peter Lynch - Maven J2EE Plug-in Goals - - - -
-

- This document describes the supplied goals - that are available when using the J2EE Plug-in with Maven. -

-

- Please refer to the - Integration document for - more information on how to integrate these goals into - your project. -

-

- The build file utilizes various properties for default and - user-configurable settings. All J2EE 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. -

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GoalDescription
j2ee:validate-warValidate a WAR file.
j2ee:ejbCreates an EJBjar file.
j2ee:earCreates an EAR file.
j2ee:appserver-installInstalls an Application Server instance
j2ee:appserver-startStarts an Application Server instance
j2ee:appserver-stopStops an Application Server instance
j2ee:appserver-cleanSafely deletes the Application Server instance installation directory - specified by the ${maven.appserver.dir} - property.
-

- -

- The j2ee:validate-war target validates the newly - produced war file. -

-

- The validator checks the folowing: -

    -
  1. The war file exists
  2. -
  3. It is readable
  4. -
  5. The war file has a web.xml (it's only a warning if it - doesn't exist)
  6. -
  7. Servlets defined by a <servlet> tag are loadable - from the war file and not the classpath
  8. -
  9. JSPs defined by a <servlet> tag exist in the war -
  10. -
  11. Taglibs defined by a <taglib> have a - <taglib-location> that exists in the war
  12. -
  13. Error pages specified by a <location> nested - within an <error-page> element must exist in the - war file
  14. -
  15. Login and error pages specified in the <form-login-config - > element must exist in the war file
  16. -
-

- - -

- The j2ee:ejb target generates the ejb jar file - for the project. Optionally it can also create jars containing the local - and remote interfaces. The files are produced in the - ${maven.build.dir}/ejb - directory and have a name based on the - ${maven.j2ee.ejb.name} - property. -

-

The files generated are: -

    -
  • ${maven.j2ee.ejb.name}.jar
  • -
  • ${maven.j2ee.ejb.name}-remote.jar (optional)
  • -
  • ${maven.j2ee.ejb.name}-local.jar (optional)
  • -
-

-

- Maven also includes the license file, LICENSE.txt, if it exists, in - the META-INF directory. -

-

- The contents of the ejb file include: -

- - - - - - - - - - - - - - -
ItemDescription
ejb-jar.xml - A J2EE enterprise bean deployment descriptor, which - is placed in the root of the resulting ear file. - The - ${maven.j2ee.ejb.conf.dir} and associated includes and - excludes properties defines the location of this file. -
Classes - The files in the ${maven.build.dest} - directory to be included is specified using the - ${maven.j2ee.ejb.includes} - and ${maven.j2ee.ejb.excludes} - properties. -
Meta-Inf - Files to be included the META-INF directory of the ejb - jar file may be specified using the - - ${maven.j2ee.ejb.conf.dir}, - - ${maven.j2ee.ejb.conf.includes} and - - ${maven.j2ee.ejb.conf.excludes} properties. -
-
- -

- The j2ee:ear target generates an ear file for the - project. The ear file is produced in the - ${maven.build.dir} - directory and has a name defined by the - ${maven.j2ee.ear.name} - property. -

-

- Maven also includes the license file, LICENSE.txt, if it exists, under - the directory META-INF. -

-

- The contents of the ear file include: -

- - - - - - - - - - -
ItemDescription
application.xml - A J2EE enterprise application deployment descriptor, which - is placed in the META-INF of the resulting ear file. - The ${maven.j2ee.ear.appxml} - property defines the location of this file. It defaults to - src/application.xml -
Other Content - Any dependencies specified in your project.xml - may be included by adding the ear.bundle.jar property to the - properties, e.g. - - CustomerEjb - 2.4 - - true - - - ]]> -
-
- - - - -

- The j2ee:appserver-install target installs the minimum - directory and file structure necessary for an individual application - server instance. Once the structure is created inside the - directory specified by ${maven.appserver.dir} - , configuration files are installed using the copy task and the filter - mechanism built into Ant. - The exact work done by this target is specific to the - name and version of the application server you specify using - ${maven.appserver.name} - and ${maven.appserver.version} - properties. -

-

- Optionally, you can invoke the install target of the - Ant build.xml file copied to ${maven.appserver.dir} instead. See the - appserver proxy build file for more - information. -

-

- During the configuration process, all - maven.appserver.* properties - are used as filter tokens while files in - ${maven.conf.dir}/${maven.appserver.name}${maven.appserver.version} are - copied to ${maven.appserver.dir}. By default, certain files are - excluded from copying to ${maven.appserver.dir}. Files excluded are: -

-
    -
  • **/web.xml/**
  • -
-

- This allows you to keep you webapp specific conf files in the same - directory and not have them installed with this target needlessly. -

-

- Your configuration files may require additional processing ( using additional - filter tokens for example). In that case you can use the - maven-post-appserver-install - callback target to re-configure files. -

-

- This target has different behavior - depending on the current status of the application server. The - behavior is defined by the following rules: -

- - - - - - - - - - - - - - -
Server StatusBehavior
Not Installed - Install and configure the application server. -
Installed and stopped - Re-install/re-configure the application server. -
Installed and started - Stop, re-install/re-configure, re-start the application server. -
-

Note: In all situations, the j2ee:appserver-install - target will overwrite existing appserver configuration files already - installed. Maven does this because it cannot know if the you have changed - your maven.appserver.* related properties, - so it always re-configures the configuration files. Since this - operation has low overhead, it is considered a feature that allows dynamic - updates to your appserver related property values.

-
- - -

- The j2ee:appserver-start target - attempts to start the application server instance you have specified - via properties. -

-

Optionally, you can invoke the start target of the - Ant build.xml file copied to ${maven.appserver.dir} instead. See the - appserver proxy build file for more - information. -

-

- This target will cause two processes to run. One process will - represent the running of the Ant build file for the Maven target. - The other will be the forked JVM that actually starts the application - server instance. -

-

- If you don't want the processes to block your current terminal, - you can execute the call to this target in the background using the - traditional '&' directive on unix-like systems. -

-

For example, to run the server in the background, go to your - ${maven.appserver.dir} directory and type:

- -

- This target has different behavior - depending on the current status of the application server. The - behavior is defined by the following rules: -

- - - - - - - - - - - - - - -
Server StatusBehavior
Not Installed - Install/configure, then start the application server. -
Installed and stopped - Start the application server. -
Installed and started - Stop and then re-start the application server. This is useful for - application servers that are not set to auto-reload resources. -
-
- - -

- The j2ee:appserver-stop target - attempts to stop the application server instance you have specified - via the maven.appserver.* properties. -

-

Optionally, you can invoke the stop target of the - Ant build.xml file copied to ${maven.appserver.dir} instead. See the - appserver proxy build file for more - information. -

-

- This target only has relevance if the application server instance - is actually started. All other situations do nothing. -

-
- - - -

- The j2ee:appserver-clean target - attempts to safely delete the directory specified by - ${maven.appserver.dir}. -

-

- This target has different behavior - depending on the current status of the application server. The - behavior is defined by the following rules: -

- - - - - - - - - - -
Server StatusBehavior
Installed and stopped - Deletes the directory specified by ${maven.appserver.dir}. -
Installed and started - Stop the application server instance and then delete the directory - specified by ${maven.appserver.dir}. -
-
-
- -
diff --git a/appserver/xdocs/index.xml b/appserver/xdocs/index.xml deleted file mode 100644 index 9bef399f..00000000 --- a/appserver/xdocs/index.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - Maen J2EE Plug-in - dIon Gillard - Peter Lynch - - - -
-

- This document provides an overview of the reference section - for the Maven J2EE Plug-in. - The documents presented here are references, if you are looking - for more verbose usage material, please refer to the Getting Started section. -

- - - - - - - - - - - - - - - - - - - -
DocumentDescription
Goals - This document provides detailed information on the various - goals that are available as part of the Maven J2EE Plug-in. -
Properties - The behavior of the Maven J2EE Plug-in can be altered via numerous - properties. This document describes each property - available as the default used. -
Directory Layout - The preferred directory layout structure is documented - here. This is a useful document if you are trying to - determine what a particular component of your directory - hierarchy is used for. -
Appserver Notes -

- This page contains additional reference material regarding the application server ( - appserver ) control features of the Maven J2EE plugin. -

-

- For additional help in understanding what the appserver features of the - Maven J2EE plugin are, look at the - J2EE plug-in properties - and J2EE build file - documents. -

-
Futures - These are the current thoughts on additional items - that could or should be added to the plug-in. - They may or may not make it to an actual task list of a - developer. -
-
-
- -
diff --git a/appserver/xdocs/navigation.xml b/appserver/xdocs/navigation.xml deleted file mode 100644 index a2c7a790..00000000 --- a/appserver/xdocs/navigation.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - Maven - - - - - - - - - - - - - - diff --git a/appserver/xdocs/properties.xml b/appserver/xdocs/properties.xml deleted file mode 100644 index 62b9ba8b..00000000 --- a/appserver/xdocs/properties.xml +++ /dev/null @@ -1,510 +0,0 @@ - - - - - - - dIon Gillard - Kevin O'Neill - Peter Lynch - Maven J2EE Plug-in Properties Documentation - - - -
-

- The following is an overview of the various properties (and - default values) used by the Maven J2EE Plug-in goals. These properties - control various aspects of the J2EE build. Most of these - properties are optional and have defaults; however, there are - mandatory properties that must be set as described in this document. -

-

- These properties can be overridden to change the default behavior of - the Maven J2EE Plug-in. If you need to override any of these properties, - please refer to the - Integration - document for the preferred method of setting properties in your project. -

- - - - - - - - - - - - - - - - - - - - - - -
SectionDescription
General Settings - These properties specify various settings that may be used in any - J2EE Plug-in target. -
War - These properties specify various settings that control the build - of a war file by the J2EE Plug-in. -
EJB - These properties specify various settings that control the build - of a ejb jar by the J2EE Plug-in. -
Ear - These properties specify various settings that control the build - of an ear file by the J2EE Plug-in. -
Appserver - These properties detail what application server instance you would - like to install and control for your project and how to configure - it. -
-
- - -
- - - - - - - -
PropertyOptional?Description
maven.j2ee.version - No for the "appserver:install" goal. - Otherwise, Yes. - - Specifies the version of J2EE you are trying to use. Valid values are: -
    -
  • 12
  • -
  • 13
  • -
- The above values represent version 1.2 and 1.3 respectively. - The value of this property is especially important for the - supported servers - used with the appserver control features of this plugin. -
-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyOptional?Description
maven.j2ee.war.nameNo - Specifies the name of the web application to be built. -
maven.j2ee.war.srcYes - Specifies the directory in the local file system that is - used as the base directory for finding web applications. It defaults - to ${maven.src.dir}/webapps -
maven.j2ee.war.contentYes - Specifies the directory in the local file system that holds - web content to be placed in the war file. It defaults - to ${maven.j2ee.war.src}/${maven.j2ee.war.name} -
maven.j2ee.war.classes.includesYes - Specifies the pattern of files in the directory specified by - ${maven.build.dest} - to be included in the /WEB-INF/classes of the resulting - war file. It defaults to **, that is, all files. -
maven.j2ee.war.classes.excludesYes - Specifies the pattern of files in the directory specified by - ${maven.build.dest} - that are not to be included in the - /WEB-INF/classes of the resulting war file. - It defaults to **/package.html. -
maven.j2ee.war.lib.includesYes -

WARNING: This property is temporarily unused.

- Specifies the pattern of files in the - project dependencies - to be included in the /WEB-INF/lib of the resulting - war file. It defaults to *.jar, that is, all dependencies. -
maven.j2ee.war.lib.excludesYes -

WARNING: This property is temporarily unused.

- Specifies the pattern of files in the - project dependencies - not to be included in the /WEB-INF/lib of the resulting - war file. It defaults to blank, that is, no dependencies are excluded. -
maven.j2ee.war.webxmlYes - Specifies the deployment descriptor to be used when building the war - file. It will be placed in /WEB-INF/web.xml of the resulting - war file. It defaults to ${maven.conf.dir}/${maven.j2ee.war.name}-web.xml -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyOptional?Description
maven.j2ee.ejb.nameNo - Specifies the name of the ejb jar to be built. -
maven.j2ee.ejb.conf.dirNo - Specifies the directory to be used to find the deployment descriptor - and other files to be placed in META-INF directory of - the resulting ejb jar. It defaults to - ${maven.conf.dir}/${maven.j2ee.ejb.name} -
- maven.j2ee.ejb.conf.includes - - Yes - Specifies the a pattern of files to be included in the - META-INF directory of the resulting ejb jar, relative - to the ${maven.j2ee.ejb.conf.dir}. It defaults to - ejb-jar.xml. -
- maven.j2ee.ejb.conf.excludes - - Yes - Specifies the a pattern of files to be excluded from the - META-INF directory of the resulting ejb jar, relative - to the ${maven.j2ee.ejb.conf.dir}. It defaults to - blank. -
maven.j2ee.ejb.includesYes - Specifies the pattern of files in the - ${maven.build.dest} - directory to be included in the generated ejb jar. Defaults to **/*. -
maven.j2ee.ejb.excludesYes - Specifies the pattern of compiled class files to be excluded - from the generated ejb jar. Defaults to **/package.html. -
maven.j2ee.ejb.local.includesYes - If this property exists then a jar file with the name - ${maven.j2ee.ejb.name}-local.jar - containing the matching files will be generated in - ${maven.build.dir}/ejb. -
maven.j2ee.ejb.local.excludesYes - Files to be excluded from the - ${maven.j2ee.ejb.name}-local.jar -
maven.j2ee.ejb.remote.includesYes - If this property exists then a jar file with the name - ${maven.j2ee.ejb.name}-remote.jar - containing the matching files will be generated in - ${maven.build.dir}/ejb. -
maven.j2ee.ejb.remote.excludesYes - Files to be excluded from the - ${maven.j2ee.ejb.name}-remote.jar -
-
- - -
- - - - - - - - - - - - - - - - - - - - - - - -
PropertyOptional?Description
maven.j2ee.ear.nameNo - Specifies the name of the enterprise application to be built. -
maven.j2ee.ear.includesYes - Specifies the pattern of files in the - ${maven.build.dir} - directory to be included in the resulting ear file. It defaults to - *.jar, *.war, that is, all jar and war files. -
maven.j2ee.ear.excludesYes - Specifies the pattern of files in the - ${maven.build.dir} - directory that are not to be included in the resulting ear file. - It defaults to blank, that is, nothing is excluded. -
maven.j2ee.ear.appxmlYes - Specifies the deployment descriptor to be used when building the ear - file. It will be placed in /application.xml of the resulting - ear file. It defaults to ${maven.conf.dir}/${maven.j2ee.ear.name}-application.xml -
-
- - - -
-

Although application server ( appserver ) instance control is part - of the J2EE plugin, all appserver related properties begin with - the "maven.appserver" prefix. This is indicative of the large scope of - functionality within the appserver targets. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyOptional?Description
maven.appserver.nameNo - Specifies the name of the application server to install and control - for your project. -

- Please refer to the supported servers - table for a current list of supported appservers and the ${maven.appserver.name} - value they use use. -

maven.appserver.versionNo - Specifies the version of the appserver to install and control - for your project. Please refer to the - supported servers - table for a current list of supported appservers and the - ${maven.appserver.version} value they use. -
maven.appserver.homeNo - Specifies the directory where the shared installation of the appserver - resides. This should be the home of the appserver specified by - ${maven.appserver.name} - and ${maven.appserver.version}. -
maven.appserver.dirNo - Specifies the directory where the appserver instance is installed - during the "appserver:install" goal. - Defaults to be ${basedir}/server . -
maven.appserver.hostNo - Specifies the default host to use to access the started server - instance. Defaults to 'localhost'. -
maven.appserver.port.httpNo - Specifies the HTTP port number to use to access the started server - instance. Defaults to 8080. -
maven.appserver.urlNo - The URL that is used to test if your appserver instance is running. - This URL must point to a target that will return a response code < 400 - when your appserver instance is started. Default value is - http://${maven.appserver.host}:${maven.appserver.port.http}/index.html -
maven.appserver.port.httpsYes - Specifies the HTTPS port number to use to access the started server - instance using SSL. Defaults to 444. -
maven.appserver.port.oneYes - Optional additional port you can specify when configuring appserver files during - install. -
maven.appserver.port.twoYes - Optional additional port you can specify when configuring appserver files during - install. -
maven.appserver.port.threeYes - Optional additional port you can specify when configuring appserver files during - install. -
maven.appserver.classpathYes - A path-like - value that can specify resources to make available as - part of the classpath of the JVM used when controlling your appserver instance. - For example, you may have several webapps running in the same container - that require a JDBC driver be available. Adding a reference to that - jar here will put it in the classpath of the JVM used to start - your appserver. -

- An example of a valid value might be: -

- /jars/database.jar;/jars/foobar.jar -

- Path seperators are automatically converted to their system correct values. - By default, there are no additional paths. Jars required to control an appserver - are automatically built-in and do not need to be added here. -

maven.appserver.rmi.portYes - RMI port you can specify. - Example: used to start/stop/restart orion appserver. -
maven.appserver.adminusernameYes - Admin username to use when communicating with appserver. - Example: used to start/stop/restart orion appserver. -
maven.appserver.adminpasswordYes - Admin password to use when communicating with appserver. - Example: used to start/stop/restart orion appserver. -
-
- -
diff --git a/ashkelon/plugin.jelly b/ashkelon/plugin.jelly deleted file mode 100644 index a3fbecf3..00000000 --- a/ashkelon/plugin.jelly +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${packages} - ${basedir}/${pom.artifactId}-ashkelon.xml - - - ${pom.name} - ${pom.shortDescription} - ${pom.description} - ${pom.organization.name} - ${pom.url} - 2000-01-01T00:00:00.000 - ${pom.currentVersion} - - ${package} - - - - - - - - diff --git a/ashkelon/project.properties b/ashkelon/project.properties deleted file mode 100644 index d66f96c3..00000000 --- a/ashkelon/project.properties +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- diff --git a/ashkelon/project.xml b/ashkelon/project.xml deleted file mode 100644 index c53563bb..00000000 --- a/ashkelon/project.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - ../plugin-parent/project.xml - 3 - maven-ashkelon-plugin - Maven Ashkelon Plugin - 1.2.1-SNAPSHOT - - Publish javadoc to Ashkelon - http://maven.apache.org/reference/plugins/ashkelon/ - org.apache.maven.ashkelon - http://jira.codehaus.org/browse/MPASHKELON - /www/maven.apache.org/reference/plugins/ashkelon/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/ashkelon/ - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/ashkelon/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/ashkelon/ - - - - 1.1 - 1.1 - MAVEN_ASHKELON_1_1 - - - 1.2 - 1.2 - MAVEN_ASHKELON_1_2 - - - - - - ashkelon - ashkelon - 20030312.120000 - - - castor - castor - 0.9.4.3 - - - commons-dbcp - commons-dbcp - 1.0-dev - - - j2h-1.2.jar - java2html - java2html - 1.2 - - - mm.mysql - mm.mysql - 2.0.13-bin - - - servletapi - servletapi - 2.3 - - - oro - oro - 2.0.7 - - - diff --git a/ashkelon/src/main/org/apache/maven/ashkelon/PackageTool.java b/ashkelon/src/main/org/apache/maven/ashkelon/PackageTool.java deleted file mode 100644 index 6e228d64..00000000 --- a/ashkelon/src/main/org/apache/maven/ashkelon/PackageTool.java +++ /dev/null @@ -1,121 +0,0 @@ -package org.apache.maven.ashkelon; - -/* ==================================================================== - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ==================================================================== - */ - -import java.io.File; -import java.io.FileFilter; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -/** - * @author Ben Walding - * @version $Id$ - */ -public class PackageTool -{ - - /** - * Count the number of java files in a directory - * @param dir - * @return - */ - public static int countJavaFiles(File dir) - { - FileFilter ff = new FileFilter() - { - public boolean accept(File pathname) - { - String path = pathname.getName().toLowerCase(); - if (path.endsWith(".java")) - { - return true; - } - - return false; - } - }; - - File[] f = dir.listFiles(ff); - - return f.length; - - } - /** - * - * @param startDir - * @return a List of String object representing the packages - */ - public List findPackages(File startDir) - { - List results = internalFindPackages(new ArrayList(), startDir); - // Now post process them - List packages = new ArrayList(results.size()); - - Iterator resultsIter = results.iterator(); - while (resultsIter.hasNext()) - { - File f = (File) resultsIter.next(); - String n = f.getAbsolutePath(); - - if (n.equals(startDir.getAbsolutePath())) - { - //Default package - packages.add(""); - } - else - { - - n = n.substring(startDir.getAbsolutePath().length() + 1); - n = n.replace('/', '.'); - n = n.replace('\\', '.'); - packages.add(n); - } - } - return packages; - } - - public File[] getSubDir(File dir) - { - - FileFilter ff = new FileFilter() - { - public boolean accept(File pathname) - { - return pathname.isDirectory(); - } - }; - return dir.listFiles(ff); - } - - protected List internalFindPackages(List results, File startDir) - { - if (countJavaFiles(startDir) != 0) - { - - results.add(startDir); - } - File subdirs[] = getSubDir(startDir); - for (int i = 0; i < subdirs.length; i++) - { - internalFindPackages(results, subdirs[i]); - } - - return results; - } -} diff --git a/ashkelon/xdocs/changes.xml b/ashkelon/xdocs/changes.xml deleted file mode 100644 index e5e33dcb..00000000 --- a/ashkelon/xdocs/changes.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - Changes - Jason van Zyl - - - - - - update to use maven.docs.*/maven.gen.docs - - - diff --git a/ashkelon/xdocs/index.xml b/ashkelon/xdocs/index.xml deleted file mode 100644 index f07c5f0c..00000000 --- a/ashkelon/xdocs/index.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - Ashkelon Plugin - Ben Walding - - -
-

- Ashkelon - is "an online reference tool for java api documentation. Ashkelon - is javadoc taken the next step of being able to reference multiple API's - (>100,000 methods) in a single, fully cross-referenced and searchable - database repository." -

-

- Maven's Ashkelon Plugin provides a set of goals - to integrate your project's javadocs to Ashkelon. -

-
- -
diff --git a/aspectwerkz/plugin.jelly b/aspectwerkz/plugin.jelly deleted file mode 100644 index 3d2b41d0..00000000 --- a/aspectwerkz/plugin.jelly +++ /dev/null @@ -1,365 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - Valid values for [maven.aspectwerkz.mode] are [xmldef] and [attribdef] only. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WARNING: aspectwerkz:attributec is not currently working very well... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${compileSrcSetString} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Parsing [${javaSrc}] using [${classSrc}] ... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/aspectwerkz/plugin.properties b/aspectwerkz/plugin.properties deleted file mode 100644 index a9f70675..00000000 --- a/aspectwerkz/plugin.properties +++ /dev/null @@ -1,82 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -#============================================================================ -# Properties for the AspectWerkz plugin for Maven -# =========================================================================== - -# AW supports 2 types of Aspects/Advice/Pointcuts definition: -# - xmldef : Advice are defined as extending *Advice classes (BeforeAdvice, -# AroundAdvice, etc). Custom javadoc attributes can be used to -# link code to weave with advices. -# - attribdef: Advices and pcds are defined purely using custom javadoc -# attributes (@Execute, @Aspect, etc). -# You need to tell the plugin how you have defined your AW -# Aspects/Advices/Pointcuts. The 2 valid values are "xmldef" and "attribdef". -maven.aspectwerkz.mode = attribdef - -# Location where weaved classes will be generated. -maven.aspectwerkz.weave.build.dir = ${maven.build.dest} - -# Decide whether definition validation is turned on or off. -maven.aspectwerkz.definition.validate = false - -# Verbose mode -maven.aspectwerkz.verbose = false - -# Classloader to use for class files weaving -maven.aspectwerkz.classloader.preprocessor = org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor - -# The AW plugin looks for source files in ${pom.sourceDirectory}. -# It also supports all source directories added to the ${maven.compile.src.set} -# Ant path variable. Moreover, if you wish to keep non-production aspects in a -# specific directory, you can define the property below. -maven.aspectwerkz.src.dir = ${basedir}/src/aspectwerkz - -# Location where non-production aspect classes will be compiled to. -# There are the classes defined by ${maven.aspectwerkz.src.dir}. -maven.aspectwerkz.build.dest = ${maven.build.dir}/aspectwerkz/classes - -#---------------------------------------------------------------------------- -# attribdef mode properties -# --------------------------------------------------------------------------- - -# Location of the XML definition file. -maven.aspectwerkz.definition.file.src = ${basedir}/conf/aspectwerkz.xml - -# Location where aspectc results will be generated. -maven.aspectwerkz.aspectc.build.dir = ${maven.build.dir}/aspectwerkz/aspectc - -#---------------------------------------------------------------------------- -# xmldef mode properties -# --------------------------------------------------------------------------- - -# Location of the AW XML definition file that will be created by the -# attribute compilation (when calling ). This is only -# used in "xmldef" mode. -maven.aspectwerkz.definition.file.build = ${maven.build.dir}/aspectwerkz.xml - -# If set to "no", prevents org.codehaus.aspectwerkz and related classes -# (jexl, trove, dom4j...) from being instrumented. -maven.aspectwerkz.transform.filter = no - -# (optional). Definition file to be merged with the main definition file. -# Used by the goal. Only for "xmldef" mode. -# maven.aspectwerkz.definition.file.merge = - -# (optional). UUID to use. If not specified a default one will be automatically -# generated. Used by the goal. Only for "xmldef" mode. -# maven.aspectwerkz.uuid = diff --git a/aspectwerkz/project.properties b/aspectwerkz/project.properties deleted file mode 100644 index d66f96c3..00000000 --- a/aspectwerkz/project.properties +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- diff --git a/aspectwerkz/project.xml b/aspectwerkz/project.xml deleted file mode 100644 index 0d4b2074..00000000 --- a/aspectwerkz/project.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - ../plugin-parent/project.xml - 3 - maven-aspectwerkz-plugin - Maven AspectWerkz Plugin - 1.2 - Plugin for AspectWerkz - AspectWerkz plugin - http://maven.apache.org/reference/plugins/aspectwerkz/ - http://jira.codehaus.org/browse/MPASPECTWERKZ - /www/maven.apache.org/reference/plugins/aspectwerkz/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/aspectwerkz/ - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/aspectwerkz/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/aspectwerkz/ - - - - 1.0 - 1.0 - MAVEN_ASPECTWERKZ_1_0 - - - 1.1 - 1.1 - MAVEN_ASPECTWERKZ_1_1 - - - 1.2 - 1.2 - MAVEN_ASPECTWERKZ_1_2 - - - - - Vincent Massol - vmassol - vmassol@pivolis.com - Pivolis - - Creator - Java Developer - Release Manager - - - - - - aspectwerkz - aspectwerkz-core - 0.9 - - - aspectwerkz - aspectwerkz - 0.9 - - - qdox - qdox - 1.3 - - - jrexx - jrexx - 1.1.1 - - - ant - ant - 1.5.2 - - - bcel - bcel - 5.1 - - - dom4j - dom4j - 1.4 - - - trove - trove - 1.0.2 - - - commons-jexl - commons-jexl - 1.0-beta-2 - - - xml-apis - xml-apis - 1.0.b2 - - - xerces - xerces - 2.4.0 - - - diff --git a/aspectwerkz/src/plugin-test/child/conf/aspectwerkz.xml b/aspectwerkz/src/plugin-test/child/conf/aspectwerkz.xml deleted file mode 100644 index a0a15f05..00000000 --- a/aspectwerkz/src/plugin-test/child/conf/aspectwerkz.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - diff --git a/aspectwerkz/src/plugin-test/child/maven.xml b/aspectwerkz/src/plugin-test/child/maven.xml deleted file mode 100644 index 036cb2da..00000000 --- a/aspectwerkz/src/plugin-test/child/maven.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/aspectwerkz/src/plugin-test/child/project.properties b/aspectwerkz/src/plugin-test/child/project.properties deleted file mode 100644 index 433e46c9..00000000 --- a/aspectwerkz/src/plugin-test/child/project.properties +++ /dev/null @@ -1,22 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- - -maven.aspectwerkz.verbose = true -maven.aspectwerkz.weave.build.dir = ${maven.build.dir}/aspectwerkz/weaved diff --git a/aspectwerkz/src/plugin-test/child/project.xml b/aspectwerkz/src/plugin-test/child/project.xml deleted file mode 100644 index 9dbe4629..00000000 --- a/aspectwerkz/src/plugin-test/child/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - ${basedir}/../project.xml - test-maven-aspectwerkz-plugin-child - Maven Aspectwerkz plugin test - Child - - - maven - test-maven-aspectwerkz-plugin-parent - 1.0 - - true - - - - dom4j - dom4j - 1.4 - - - trove - trove - 1.0.2 - - - bcel - bcel - 5.1 - - - jrexx - jrexx - 1.1.1 - - - diff --git a/aspectwerkz/src/plugin-test/child/src/aspectwerkz/org/apache/maven/aspectwerkz/SampleNonProductionAspect.java b/aspectwerkz/src/plugin-test/child/src/aspectwerkz/org/apache/maven/aspectwerkz/SampleNonProductionAspect.java deleted file mode 100644 index 479fd124..00000000 --- a/aspectwerkz/src/plugin-test/child/src/aspectwerkz/org/apache/maven/aspectwerkz/SampleNonProductionAspect.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.apache.maven.aspectwerkz; - -import org.codehaus.aspectwerkz.attribdef.Pointcut; -import org.codehaus.aspectwerkz.attribdef.aspect.Aspect; -import org.codehaus.aspectwerkz.joinpoint.JoinPoint; - -/** - * @Aspect perJVM - * - * @author Vincent Massol - */ -public class SampleNonProductionAspect extends Aspect -{ - /** - * @Execution * *..Target.someMethod2(..) - */ - Pointcut sampleNonProductionPointcut; - - /** - * @Around sampleNonProductionPointcut - */ - public Object sampleNonProductionAdvice(final JoinPoint joinPoint) - throws Throwable - { - System.out.println("sampleNonProductionPointcut"); - return joinPoint.proceed(); - } -} diff --git a/aspectwerkz/src/plugin-test/child/src/main/org/apache/maven/aspectwerkz/SampleAspect.java b/aspectwerkz/src/plugin-test/child/src/main/org/apache/maven/aspectwerkz/SampleAspect.java deleted file mode 100644 index 865965b8..00000000 --- a/aspectwerkz/src/plugin-test/child/src/main/org/apache/maven/aspectwerkz/SampleAspect.java +++ /dev/null @@ -1,27 +0,0 @@ -package org.apache.maven.aspectwerkz; - -import org.codehaus.aspectwerkz.attribdef.Pointcut; -import org.codehaus.aspectwerkz.attribdef.aspect.Aspect; -import org.codehaus.aspectwerkz.joinpoint.JoinPoint; - -/** - * @Aspect perJVM - * - * @author Vincent Massol - */ -public class SampleAspect extends Aspect -{ - /** - * @Execution * *..Target.someMethod1(..) - */ - Pointcut samplePointcut; - - /** - * @Around samplePointcut - */ - public Object sampleAdvice(final JoinPoint joinPoint) throws Throwable - { - System.out.println("samplePointcut"); - return joinPoint.proceed(); - } -} diff --git a/aspectwerkz/src/plugin-test/child/src/main/org/apache/maven/aspectwerkz/Target.java b/aspectwerkz/src/plugin-test/child/src/main/org/apache/maven/aspectwerkz/Target.java deleted file mode 100644 index 360b6fc2..00000000 --- a/aspectwerkz/src/plugin-test/child/src/main/org/apache/maven/aspectwerkz/Target.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.apache.maven.aspectwerkz; - -/** - * @author Vincent Massol - */ -public class Target -{ - public static void someMethod1() - { - System.out.println("someMethod1"); - } - - public static void someMethod2() - { - System.out.println("someMethod2"); - } - - public static void main(String[] args) - { - Target.someMethod1(); - Target.someMethod2(); - } -} diff --git a/aspectwerkz/src/plugin-test/maven.xml b/aspectwerkz/src/plugin-test/maven.xml deleted file mode 100644 index b1db833a..00000000 --- a/aspectwerkz/src/plugin-test/maven.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/aspectwerkz/src/plugin-test/parent/maven.xml b/aspectwerkz/src/plugin-test/parent/maven.xml deleted file mode 100644 index 50940d29..00000000 --- a/aspectwerkz/src/plugin-test/parent/maven.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/aspectwerkz/src/plugin-test/parent/project.properties b/aspectwerkz/src/plugin-test/parent/project.properties deleted file mode 100644 index 99253214..00000000 --- a/aspectwerkz/src/plugin-test/parent/project.properties +++ /dev/null @@ -1,22 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- - -maven.aspectwerkz.verbose = true -maven.aspectwerkz.aspectc.build.dir = ${maven.build.dest} diff --git a/aspectwerkz/src/plugin-test/parent/project.xml b/aspectwerkz/src/plugin-test/parent/project.xml deleted file mode 100644 index 7c12ef8d..00000000 --- a/aspectwerkz/src/plugin-test/parent/project.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - ${basedir}/../project.xml - test-maven-aspectwerkz-plugin-parent - Maven Aspectwerkz plugin test - Parent - diff --git a/aspectwerkz/src/plugin-test/parent/src/main/org/apache/maven/aspectwerkz/ReusableAspect.java b/aspectwerkz/src/plugin-test/parent/src/main/org/apache/maven/aspectwerkz/ReusableAspect.java deleted file mode 100644 index 2e017b7f..00000000 --- a/aspectwerkz/src/plugin-test/parent/src/main/org/apache/maven/aspectwerkz/ReusableAspect.java +++ /dev/null @@ -1,27 +0,0 @@ -package org.apache.maven.aspectwerkz; - -import org.codehaus.aspectwerkz.attribdef.Pointcut; -import org.codehaus.aspectwerkz.attribdef.aspect.Aspect; -import org.codehaus.aspectwerkz.joinpoint.JoinPoint; - -/** - * @Aspect perJVM - * - * @author Vincent Massol - */ -public class ReusableAspect extends Aspect -{ - /** - * @Execution * *..Target.someMethod*(..) - */ - Pointcut reusablePointcut; - - /** - * @Around reusablePointcut - */ - public Object reusableAdvice(final JoinPoint joinPoint) throws Throwable - { - System.out.println("reusablePointcut"); - return joinPoint.proceed(); - } -} diff --git a/aspectwerkz/src/plugin-test/project.properties b/aspectwerkz/src/plugin-test/project.properties deleted file mode 100644 index 1e100a2e..00000000 --- a/aspectwerkz/src/plugin-test/project.properties +++ /dev/null @@ -1,22 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - - -# MUST specify these, even though they are the defaults, so we can run inside reactor where they were already set -maven.multiproject.basedir=${basedir} -maven.multiproject.includes=*/project.xml -maven.multiproject.excludes= - diff --git a/aspectwerkz/src/plugin-test/project.xml b/aspectwerkz/src/plugin-test/project.xml deleted file mode 100644 index 50ffe427..00000000 --- a/aspectwerkz/src/plugin-test/project.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - 3 - test-maven-aspectwerkz-plugin - Test project for Maven AspectWerkz - maven - 1.0 - - Apache Software Foundation - http://www.apache.org/ - http://maven.apache.org/images/jakarta-logo-blue.gif - - 2003 - org.apache.maven - http://maven.apache.org/images/maven.jpg - Test for Maven AspectWerkz plugin - Test for Maven AspectWerkz plugin - http://maven.apache.org/reference/plugins/aspectwerkz/ - /www/maven.apache.org/reference/plugins/aspectwerkz/ - - scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/aspectwerkz/ - http://cvs.apache.org/viewcvs/maven/src/plugins-build/aspectwerkz/ - - - - Vincent Massol - vmassol - vmassol@pivolis.com - Pivolis - - Developer - - - - - - aspectwerkz - aspectwerkz - 0.9 - - - - src/main - - diff --git a/aspectwerkz/xdocs/changes.xml b/aspectwerkz/xdocs/changes.xml deleted file mode 100644 index b378e826..00000000 --- a/aspectwerkz/xdocs/changes.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - Changes - Vincent Massol - - - - - Fixes for JDK 1.3 in relation to XML parsers. - - - Plugin creation. - - - diff --git a/aspectwerkz/xdocs/goals.xml b/aspectwerkz/xdocs/goals.xml deleted file mode 100644 index e900f5b6..00000000 --- a/aspectwerkz/xdocs/goals.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - Maven AspectWerkz plugin goals - Vincent Massol - - - - - aspectwerkz:attributec - - Compile AspectWerkz javadoc attributes for xml-defined aspects - (i.e. maven.aspectwerkz.mode = xmldef). - - - - aspectwerkz:aspectc - - Parse files for custom javadoc tags (attribef mode only) and weave - them in the bytecode of the aspects themselves. - - - - aspectwerkz:compile - - Compile both main runtime sources and any non-production source - aspects. - - - - aspectwerkz:weave - - Weave aspects at build time (offline mode). Works for both "xmldef" - (maven.aspectwerkz.mode = xmldef) and "attribdef" - (maven.aspectwerkz.mode = attribdef) modes. - - - - - \ No newline at end of file diff --git a/aspectwerkz/xdocs/index.xml b/aspectwerkz/xdocs/index.xml deleted file mode 100644 index b0359cd7..00000000 --- a/aspectwerkz/xdocs/index.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - Maven AspectWerkz plugin - Vincent Massol - - - -
-

- Offers goals to manipulate - AspectWerkz - sources: attribute compilation, offline weaving of aspects, - execution of weaved application, etc. -

-
- -
diff --git a/aspectwerkz/xdocs/navigation.xml b/aspectwerkz/xdocs/navigation.xml deleted file mode 100644 index ddaf667b..00000000 --- a/aspectwerkz/xdocs/navigation.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - Maven AspectWerkz plugin - - - - - - - - - - - - diff --git a/aspectwerkz/xdocs/properties.xml b/aspectwerkz/xdocs/properties.xml deleted file mode 100644 index 71ff2a67..00000000 --- a/aspectwerkz/xdocs/properties.xml +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - - AspectWerkz properties - Vincent Massol - - - -
-

- It is possible to specify aspect libraries that will be weaved to the - main source code. For example: -

- - groupId - artifactId - version - jar|zip - - true - - -]]> -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyOptional?Description
maven.aspectwerkz.modeYes - AW supports 2 types of Aspects/Advice/Pointcuts definition: -
    -
  • - xmldef: Advice are defined as extending - *Advice classes (BeforeAdvice, AroundAdvice, etc). Custom - javadoc attributes can be used to link code to weave with - advices. -
  • -
  • - attribdef: Advices and pcds are defined - purely using custom javadoc attributes (@Execute, @Aspect, - etc). -
  • -
- You need to tell the plugin how you have defined your AW - Aspects/Advices/Pointcuts. The 2 valid values are - xmldef and attribdef. - The default value is attribdef. -
maven.aspectwerkz.weave.build.dirYes - Location where weaved classes will be generated. Default to - ${maven.build.dest}. -
maven.aspectwerkz.definition.validateYes - Decide whether definition validation is turned on or off. - Defaults to false. -
maven.aspectwerkz.verboseYes - Decide whether to use verbose output or not during execution of - this plugin's goals. Defaults to false. -
maven.aspectwerkz.src.dirYes - Location of non-production aspect source files. - The AW plugin looks for source files in - ${pom.sourceDirectory}. It also supports all source - directories added to the ${maven.compile.src.set} - Ant path variable. Moreover, if you wish to keep non-production - aspects in a specific directory, you can define the - maven.aspectwerkz.src.dir property. Defaults to - maven.aspectwerkz.src.dir = ${basedir}/src/aspectwerkz. -
maven.aspectwerkz.build.destYes - Location where non-production aspect classes will be compiled to. - These are the classes defined by - ${maven.aspectwerkz.src.dir}. Defaults to - maven.aspectwerkz.build.dest = ${maven.build.dir}/aspectwerkz/classes. -
maven.aspectwerkz.classloader.preprocessorYes - Classloader to use for class files weaving. Defaults to - org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor. -
-
- -
- - - - - - - - - - - - - - - - -
PropertyOptional?Description
maven.aspectwerkz.definition.file.srcYes - Location of the XML definition file. Default to - ${basedir}/conf/aspectwerkz.xml. -
maven.aspectwerkz.aspectc.build.dirYes - Location where aspectc results will be generated. Defaults to - ${maven.build.dir}/aspectwerkz/aspectc. -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyOptional?Description
maven.aspectwerkz.definition.file.buildYes - Location of the AW XML definition file that will be created by the - attribute compilation (when calling the - aspectwerkz:attributec goal). This is only used in - xmldef mode. Defaults to - ${maven.build.dir}/aspectwerkz.xml. -
maven.aspectwerkz.definition.file.mergeYes - Definition file to be merged with the main definition file. - This property is not defined by default. -
maven.aspectwerkz.uuidYes - UUID to use. If not specified a default one will be - automatically generated. This property is not defined by default. -
maven.aspectwerkz.transform.filterYes - If set to "no", prevents org.codehaus.aspectwerkz and - related classes (jexl, trove, dom4j...) from being instrumented. - Defaults to no. -
-
- -
\ No newline at end of file diff --git a/caller/plugin.jelly b/caller/plugin.jelly deleted file mode 100644 index 7f11ae8f..00000000 --- a/caller/plugin.jelly +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/caller/plugin.properties b/caller/plugin.properties deleted file mode 100644 index 58ac8694..00000000 --- a/caller/plugin.properties +++ /dev/null @@ -1,23 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# List of Well-Known Goal Interface (WKGI). -# -# compile-java : compile the source code in ${maven.compile.src.set} (i.e. the -# sources in ${pom.build.sourceDirectory}). - -# Default implementation goals for the WKGIs -maven.caller.call.compile-java = java:compile diff --git a/caller/project.properties b/caller/project.properties deleted file mode 100644 index d66f96c3..00000000 --- a/caller/project.properties +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- diff --git a/caller/project.xml b/caller/project.xml deleted file mode 100644 index 48514d65..00000000 --- a/caller/project.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - ../plugin-parent/project.xml - 3 - maven-caller-plugin - Maven Caller Plugin - 1.1 - Interface to isolate calls between plugins - Maven Caller plugin - http://maven.apache.org/reference/plugins/caller/ - http://jira.codehaus.org/browse/MPCALLER - /www/maven.apache.org/reference/plugins/caller/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/caller/ - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/caller/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/caller/ - - - - 1.0 - 1.0 - MAVEN_CALLER_1_0 - - - 1.1 - 1.1 - MAVEN_CALLER_1_1 - - - - - Vincent Massol - vmassol - vmassol@pivolis.com - Pivolis - - Creator - Developer - Release Manager - - - - - diff --git a/caller/xdocs/changes.xml b/caller/xdocs/changes.xml deleted file mode 100644 index 5e91d500..00000000 --- a/caller/xdocs/changes.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - Caller Plugin - Vincent Massol - - - - - Initial creation of plugin. - - - diff --git a/caller/xdocs/goals.xml b/caller/xdocs/goals.xml deleted file mode 100644 index 38658cee..00000000 --- a/caller/xdocs/goals.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - Maven Caller plugin goals - Vincent Massol - - - -
- - - - - - - - - - -
GoalDescription
call - Call a Well-Known Goal Interface (WKGI). For example - <caller:call goalInterface="compile-java"/>. - The list of WKGIs are found on the - properties page. -
set - Rewire a WKGI implementation. For example - <caller:set goalInterface="compile-java" goal="aspectj:compile"/>. - You can also directly set the corresponding Maven property: - maven.caller.call.[WKGI name]. -
-
- -
diff --git a/caller/xdocs/index.xml b/caller/xdocs/index.xml deleted file mode 100644 index 2405f229..00000000 --- a/caller/xdocs/index.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - Maven Caller plugin - Vincent Massol - - - -
-

- The Caller plugin is an interface abstraction for goals. It defines - several Well-Known Goal Interfaces (WKGI). This allows a plugin - to call another plugin through this Caller plugin. The benefit is - that it is then possible to rewire the implementation of a WKGI. -

-

- Here's a typical scenario. Imagine you wish to implement an aspectj - plugin. This plugin will compile the Java sources using the Aspectj - compiler. However, the project you wish to use the aspectj plugin on - is a webapp and thus you will need call the war:war. - Alas, the war:war goal has a hard-wired call to - java:compile. What you would like is redirect this call - to your aspectj:compile goal. The solution: the Caller - plugin. -

-

- Here's what you would write. In the war plugin's - plugin.jelly, you would replace the call to -

- -]]> -

- by -

- -]]> -

- Then, in your Aspectj plugin, you would call -

- -]]> -

- Thus, when, as a user you will call the war:war - goal, your aspectj:compile goal will be called. -

-

- For more information on the functionality provided by this plugin, - please see the Goals document. -

-

- For more information on how to customise the functionality provided - by this plugin, please see the properties - document. -

-
- -
diff --git a/caller/xdocs/navigation.xml b/caller/xdocs/navigation.xml deleted file mode 100644 index c1c0fc1b..00000000 --- a/caller/xdocs/navigation.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - Maven Caller Plugin - Vincent Massol - - - - - - - - - - - - diff --git a/caller/xdocs/properties.xml b/caller/xdocs/properties.xml deleted file mode 100644 index cb5a3eac..00000000 --- a/caller/xdocs/properties.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - Maven Caller plugin properties - Vincent Massol - - - -
- - - - - - - - - - - -
Property nameOptional?Description
maven.caller.call.compile-javaYes - Defines the implementing goal for the "compile-java" WKGI. - The default value is java:compile. -
-
- -
diff --git a/docbook/plugin.jelly b/docbook/plugin.jelly deleted file mode 100644 index fb894083..00000000 --- a/docbook/plugin.jelly +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - ${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')} - - - - - - Using offline DocBook DTD ${maven.docbook.dtd} - - - - - - - - - diff --git a/docbook/plugin.properties b/docbook/plugin.properties deleted file mode 100644 index 53bfeb27..00000000 --- a/docbook/plugin.properties +++ /dev/null @@ -1,26 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P L U G I N P R O P E R I E S -# ------------------------------------------------------------------- -# DocBook plugin. -# ------------------------------------------------------------------- - -maven.docbook.src=${maven.src.dir}/docbook -#maven.docbook.dtd= - - diff --git a/docbook/project.properties b/docbook/project.properties deleted file mode 100644 index d66f96c3..00000000 --- a/docbook/project.properties +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- diff --git a/docbook/project.xml b/docbook/project.xml deleted file mode 100644 index 3e9d8633..00000000 --- a/docbook/project.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - ../plugin-parent/project.xml - 3 - maven-docbook-plugin - Maven DocBook Plugin - 1.2 - Convert docbook to xdoc - http://maven.apache.org/reference/plugins/docbook/ - http://jira.codehaus.org/browse/MPDOCBOOK - /www/maven.apache.org/reference/plugins/docbook/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/docbook/ - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/docbook/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/docbook/ - - - - 1.1 - 1.1 - MAVEN_DOCBOOK_1_1 - - - 1.2 - 1.2 - MAVEN_DOCBOOK_1_2 - - - - - Jason van Zyl - jvanzyl - jason@zenplex.com - Zenplex - - Architect - Release Manager - - - - - - xalan - xalan - 2.4.1 - http://xml.apache.org/xalan-j/ - - root - - - - diff --git a/docbook/src/plugin-resources/docbook2document.xsl b/docbook/src/plugin-resources/docbook2document.xsl deleted file mode 100644 index 2e70a073..00000000 --- a/docbook/src/plugin-resources/docbook2document.xsl +++ /dev/null @@ -1,347 +0,0 @@ - - - - - - - - - - - - This document generated by docbook2document.xsl - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="title"/> - <xsl:if test="../subtitle"> - (<xsl:value-of select="../subtitle"/>) - </xsl:if> - <!-- ignoring titleabbrev --> - - - - - - - . - - - - - - - - - - - - (Job title: - - - , Organisation: ) - - - - - Bio -
    - -
-
- - - - - -
- - - - - -

Revision - () -

-
    - -
-
-
-
- - -
  • - - - added - - - changed - - - deleted - - - off - - - changed - - - - () -
  • -
    - - - - - - - - - - - - - - - - -
    - -
    -
    - - - - - - - - -


    - -

    -
    -
    -
    - - - -

    -
    - - - - -

    -
    - - - - - pub. - - - - - Dedication - - - - - - -

    Copyright © by - .
    - All rights reserved. -

    -
    - - -

    Legal Notice

    - -
    - - - - - - -
    - -
  • - -
    - - () - - - -

    - -
    -
    -

    -
    - - - -

    -
    -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ) - - - -

    Figure:

    - -
    - - - {@srccredit} - -
    -
    -
    - -
    - - - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Note:

    -
    - - - - - - TM - - - - - - - -
    - diff --git a/docbook/src/test/xslt/developersguide.xml b/docbook/src/test/xslt/developersguide.xml deleted file mode 100644 index cd18cea1..00000000 --- a/docbook/src/test/xslt/developersguide.xml +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - - - -
    - - Geotools2 Developer Guide - - - Cameron - - Shorter - - - 22 May 2002 - - - Guide to aid geotools2 development. - - - -
    - Introduction - - This document aims to help new geotools developers get up to speed - and track practices of existing developers in order to keep the project - consistent. - - If you feel something is missing, feel free to contribute a new - section. -
    - -
    - Design -
    - Geotools Logo - - - - - Geotools Logo - -
    - - To do: ExplainKey design structure - (core interfaces, data sources, rendering, tools)Design - Drivers (Our design goals: modular, derives structure from netbeans, - support multiple version of java, ..)Directory - structure -
    - -
    - Development - -
    - Building - - To do:using antwhat - ant checksinsert the - "howto-build.html" doc into here -
    - -
    - Code Versioning (using CVS) - - To do:Point to sourceforge CVS howto - links.Also point to some HOWTOs for - windows users.What is acceptable to - commit to CVS, what is not. (Ie, code should compile)Talk - about version numbering convention, use of branches, etc (if we decide - to do this). - - To do: -
    - -
    - Coding Standards - - To do:Using Sun's coding - standard, need to note any exceptions to it.Note - the auto checking of coding standards.Javadocs -
    - -
    - Template File - - To do:Provide a template file.Link - it to sections explaining the different parts of the template.Include - headers, footers, example logging, example coding style, CVS key tags, - sample javadocs. -
    - -
    - Logging - - To do:Talk about log4j, links to -
    - -
    - Testing - - To do:Explain use of junit. Might be - a link to another web site. -
    - -
    - Documentation - - To do:Talk about docbook, why we - decided to use it (most commonly used format of LDP, converts to - multiple formats, tools coming which can support it. Need to mention - which version of docbook we are using.Mention - tools that can be used.Links to - docbook references.Process for - updating this document.How to use ant - tools to build doc. -
    -
    - -
    - Development Tools - -
    - Netbeans - - To do:Where to get it.Aim - is to make geotools a module within NetbeansHow - to setup getools to fit the multiple directory structureThe - extra Netbeans modules that are useful and should be downloaded. -
    -
    -
    - diff --git a/docbook/xdocs/changes.xml b/docbook/xdocs/changes.xml deleted file mode 100644 index deae9ff4..00000000 --- a/docbook/xdocs/changes.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - Changes - dIon Gillard - - - - - - update to use maven.docs.*/maven.gen.docs - update to xalan 2.4.1 - update to commons-lang 1.0.1 - Applied Maven-436 to allow docbook dtds offline - - - Original release for Maven 1.0-beta7 - - - diff --git a/docbook/xdocs/goals.xml b/docbook/xdocs/goals.xml deleted file mode 100644 index 3a6cc53d..00000000 --- a/docbook/xdocs/goals.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - Maven DocBook Plug-in Goals - dIon Gillard - - - - - - docbook:transform - - Transform any docbook-simple source into xdocs for later use - - - - - diff --git a/docbook/xdocs/index.xml b/docbook/xdocs/index.xml deleted file mode 100644 index ab42feae..00000000 --- a/docbook/xdocs/index.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - Maven Docbook Plug-in - Jason van Zyl - - - -
    -

    - This plugin allows you to write your project documentation in the - Docbook format. -

    -

    - Warning: This plugin has had limited testing -

    -
    - -
    diff --git a/docbook/xdocs/navigation.xml b/docbook/xdocs/navigation.xml deleted file mode 100644 index 5b6f6c5f..00000000 --- a/docbook/xdocs/navigation.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - Maven DocBook Plugin - - - - - - - - - - - - diff --git a/docbook/xdocs/properties.xml b/docbook/xdocs/properties.xml deleted file mode 100644 index 7e95f875..00000000 --- a/docbook/xdocs/properties.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - Maven DocBook Plugin Properties - dIon Gillard - - - -
    - - - - - - - - - - - - - - - - -
    Property nameOptional?Description
    maven.docbook.srcYes - Defaults to ${maven.src.dir}/sdocbook. This is the - source directory for the simple docbook xml files -
    maven.docbook.dtdYes - If set, it points to the offline DocBook DTD. - This allows offline transformation and DTD checking. - DocBook DTD is available for download at - http://www.oasis-open.org/docbook/xml/4.1.2/index.shtml. - Example value: "/home/msk/docbook-dtd/docbookx.dtd" -
    -
    - -
    diff --git a/jdee/plugin.jelly b/jdee/plugin.jelly deleted file mode 100644 index 88dfc5ee..00000000 --- a/jdee/plugin.jelly +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - Generating file ${projectFile} ... - - -;; generated by jdee plugin (see http://maven.apache.org/reference/plugins/jdee/) -(jde-project-file-version "1.0") -(jde-set-variables - (quote (jde-project-name "${pom.artifactId}")) - (quote (jde-project-file-name "${maven.jdee.project.file}")) - - - (quote (jde-sourcepath (quote ("./${srcDir}")))) - - - - - - (quote (jde-compile-option-directory "./${mavenBuildDest}")) - (quote (jde-javadoc-gen-destination-directory "./${mavenDocsDest}/apidocs")) - (quote (jde-project-file-name "${projectFile}")) - (quote (jde-javadoc-gen-window-title "${pom.name} - ${pom.organization} (${pom.inceptionYear})")) - (quote (jde-import-excluded-packages (quote ("${mavenBuildDir}.*")))) - - - - (quote (jde-run-application-class "${mainClass}")) - - -(quote (jde-global-classpath (quote ("./${mavenBuildDest}" - - -"./${srcDir}" - - - -"${lib.path}" - -))))) - - - Now reload the created project file (${projectFile}) in JDEE - - - diff --git a/jdee/plugin.properties b/jdee/plugin.properties deleted file mode 100644 index 9d278aa7..00000000 --- a/jdee/plugin.properties +++ /dev/null @@ -1,27 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P L U G I N P R O P E R I E S -# ------------------------------------------------------------------- -# JDEE plugin. -# ------------------------------------------------------------------- - -# -#maven.jdee.application.class = de.mydomain.mypackage.Main - -# the name of the generated project file -#maven.jdee.project.file = prj.el diff --git a/jdee/project.properties b/jdee/project.properties deleted file mode 100644 index d66f96c3..00000000 --- a/jdee/project.properties +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- diff --git a/jdee/project.xml b/jdee/project.xml deleted file mode 100644 index d5892ed5..00000000 --- a/jdee/project.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - ../plugin-parent/project.xml - 3 - maven-jdee-plugin - Maven JDEE Plug-in - 1.1 - A plugin to create a project file to be used within the - - - JDEE Plugin for Maven - http://maven.apache.org/reference/plugins/jdee/ - http://jira.codehaus.org/browse/MPJDEE - /www/maven.apache.org/reference/plugins/jdee/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/jdee/ - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/jdee/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/jdee/ - - - - 1.0 - 1.0 - MAVEN_JDEE_1_0 - - - 1.1 - 1.1 - MAVEN_JDEE_1_1 - - - - - Juergen Heidak - jh - Juergen@Heidak.de - CURSOR Software AG - - Java Developer - - - - diff --git a/jdee/xdocs/changes.xml b/jdee/xdocs/changes.xml deleted file mode 100644 index 9c54e242..00000000 --- a/jdee/xdocs/changes.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - Changes - Juergen Heidak - - - - Path changes. - - - Initial version. - - - diff --git a/jdee/xdocs/goals.xml b/jdee/xdocs/goals.xml deleted file mode 100644 index 353de244..00000000 --- a/jdee/xdocs/goals.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - JDEE Plugin Goals - Emmanuel Venisse - - - - - - jdee - - The default goal. This goal simply executes the -
    jdee:generate-project goal - - - - - jdee:generate-project - - Generate project file. - - - - - - diff --git a/jdee/xdocs/index.xml b/jdee/xdocs/index.xml deleted file mode 100644 index 1353e156..00000000 --- a/jdee/xdocs/index.xml +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - Maven JDEE Plugin - Juergen Heidak - - - -
    -

    - A plugin to create a project file to be used by - JDEE (Java Development - Enviroment for Emacs) to make it a little easier for - Emacs users to switch to maven. -

    -

    - The most important part is the initialization of - jde-global-classpath variable. The generated project file - has this variable set to contain all dependencies (normally jarfiles) - as listed in the project descriptor. -

    -

    - The following table can give you an overview about the mapping between - Maven properties and JDEE variables: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Maven property/ constant valueJDEE variable
    pom.artifactIdjde-project-name
    - maven.jdee.project.file (see - Properties for details) - jde-project-file-name
    pom.build.sourceDirectoryjde-sourcepath
    ./target/classesjde-compile-option-directory
    target.classes.* - jde-import-excluded-packages -

    - Prevent the generated class files from being included into the - list of possible imports. -

    -
    ./target/docs/apidocsjde-javadoc-gen-destination-directory
    - - ${pom.name} - ${pom.organization} (${pom.inceptionYear}) - - jde-javadoc-gen-window-title
    -

    -

    - For more information on the functionality provided by this plugin, - please see the Goals document. -

    -

    - This plugin is flexible by providing configurable properties see the - properties for details. -

    -
    - -
    diff --git a/jdee/xdocs/navigation.xml b/jdee/xdocs/navigation.xml deleted file mode 100644 index c2a91c85..00000000 --- a/jdee/xdocs/navigation.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - Maven JDEE Plugin - - - - - - - - - - - - - diff --git a/jdee/xdocs/properties.xml b/jdee/xdocs/properties.xml deleted file mode 100644 index 1b8812a0..00000000 --- a/jdee/xdocs/properties.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - JDEE Properties - Juergen Heidak - - - -
    - - - - - - - - - - - - -
    PropertyOptional?Description
    maven.jdee.project.fileYes - The name of the generated file default is to prj.el. -

    - The value of this property is used to determine the filename to - write the project information to. Furthermore the variable - jde-project-name is set (in the project file) to the - value of this property. -

    -
    maven.jdee.application.classYes - The name of the class that starts the application. If this property - is defined the variable (in the project file) - jde-run-application-class is set to its value if - undefined the variable is left undefined too. -
    -
    - -
    diff --git a/jdee/xdocs/tasks.xml b/jdee/xdocs/tasks.xml deleted file mode 100644 index 5f69e5be..00000000 --- a/jdee/xdocs/tasks.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - Maven JDEE Plugin - Juergen Heidak - - - -
    -

    - There are already plugins holding a lot of information we need when - writing the project file. Especially the - javadoc - and the - java - plugin contain several properties that we should reuse. -

    -

    - Some examples: -

      -
    • maven.compile.deprecation
    • -
    • maven.javadoc.private
    • -
    • maven.javadoc.doctitle
    • -
    • maven.javadoc.destdir
    • -
    - At the moment we're using the target directory to direct - the compilation and javadoc output produced by JDEE to. -

    -
    - -
    diff --git a/jdeveloper/plugin.jelly b/jdeveloper/plugin.jelly deleted file mode 100644 index 6476a4d1..00000000 --- a/jdeveloper/plugin.jelly +++ /dev/null @@ -1,426 +0,0 @@ - - - - - - - - - - - - - Creating ${basedir}/${pom.artifactId}.jpr... - - - - - - - ${pom.package} - - ${pom.package} - - - - ${maven.jdeveloper.workspace}-${maven.war.final.name} - ${maven.jdeveloper.workspace}-${ear.bundle.war.context-root} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - - - false - ${lib.dependency.artifactId} - - - - - - Development - - - oracle.bm.commonIde.data.project.ModelerProjectSettings - - - - - - - - - - oracle.jdeveloper.compiler.ant.AntConfiguration - - - - - - true - - - - - - Development - - - - oracle.jdeveloper.compiler.OjcConfiguration - - true - - .gif - .properties - .jpg - .jpeg - .xml - -apf.xml - - Cp1252 - true - - false - false - true - false - false - true - false - true - Default - false - false - - - - oracle.jdeveloper.javadoc.JProjectJavadoc - - false - true - true - true - true - true - false - 32 - - false - - -protected - - - - oracle.jdeveloper.runner.RunConfiguration - - client - false - false - false - true - - - true - true - true - true - - true - - - true - - - - - oracle.jdevimpl.config.JProjectLibraries - - j2sdk 1.4.1 - 1.4.1 - - - JDeveloper Runtime - - ;${dep.artifactId} - - - ${path} - - - - - oracle.jdevimpl.config.JProjectPaths - - - - - - - - - oracle.jdevimpl.idl.config.IdlConfiguration - - false - false - false - false - false - false - false - false - false - - - - - oracle.jdevimpl.runner.codecoach.CCConfiguration - - ALL - com;java;javax;sun;sunw;org;oracle - - 4 - - - - oracle.jdevimpl.runner.debug.DebugConfiguration - - -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=<port> - -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=<port> - -XXdebug,quiet,port<port> - workspace - false - - false - ojvm - running - java;javax;sun;sunw;com.sun;org.xml.sax - - - - - oracle.jdevimpl.runner.profile.ProfileConfiguration - - 20000 - 0 - - true - true - true - true - true - true - - G(All events;(G(VM Events;(E(0;GC;-16776961;1);E(10;Wait;-65485;0);E(11;Synch Blocks 0;-39322;0);E(12;Synch Blocks 1;-39322;0);E(13;Synch Blocks 2;-39322;0);E(20;Prepare Class;-16751002;0);E(21;Load Class;-16724992;0);E(22;Resolve Class;-16737997;0);));G(BC4J Events;(E(1000;JBO_MISCELLANEOUS;-4144960;1);E(1001;JDBC_SELECT;-256;1);E(1002;JDBC_CREATE_STATEMENT;-256;1);E(1003;JDBC_CONNECT;-256;1);E(1004;JDBC_CREATE_PREPARED_STATEMENT;-256;1);E(1005;JDBC_EXECUTE;-256;1);E(1006;METAOBJECT_LOAD;-65281;1);E(1007;EXECUTE_QUERY;-16776961;1);E(1008;BC4J_CREATE_COMPOBJ;-65281;0);E(1009;BC4J_CREATE_ROOTAM;-65281;1);E(1010;BC4J_CREATE_VIEWOBJECT;-65281;0);E(1011;BC4J_CREATE_AM;-65281;0);E(1012;BC4J_CREATE_VIEWLINK;-65281;0);E(1013;SQLB_DOENTITYDML;-16776961;1);E(1014;SQLB_DOENTITYSELECT;-16776961;1);E(1015;VIEWOBJECT_GETSTATEMENT;-16776961;1);E(1016;REMOTE_METHOD_CALL;-65536;1);));)); - java;javax;sun;sunw;com;oracle - - - - true - - true - true - true - true - true - true - true - true - true - true - - 10 - - false - 4000 - - true - true - true - true - true - true - true - - 5 - 20 - false - - - - oracle.jdevimpl.sqlj.config.SqljConfiguration - - false - oracle - - false - false - false - false - false - false - false - - - - WebappJspCompilerOptions - - false - - - - - - - - - - - - - - - - - - - - - - - useDynamicPaths - true - - - - - ${pom.organization.name} - ${pom.organization.name} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jdeveloper/plugin.properties b/jdeveloper/plugin.properties deleted file mode 100644 index eca2bd04..00000000 --- a/jdeveloper/plugin.properties +++ /dev/null @@ -1,31 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P L U G I N P R O P E R I E S -# ------------------------------------------------------------------- -# JDeveloper plugin. -# ------------------------------------------------------------------- - -# Define project properties -maven.jdeveloper.workspache=WPS -maven.jdeveloper.relative.path=../../.. -maven.jdeveloper.maven.home=contrib/maven-1.0-beta-7 - -# Enable J2EE stuff -maven.war.final.name=${pom.artifactId} -ear.bundle.war.context-root=${pom.artifactId} - diff --git a/jdeveloper/project.properties b/jdeveloper/project.properties deleted file mode 100644 index d66f96c3..00000000 --- a/jdeveloper/project.properties +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- diff --git a/jdeveloper/project.xml b/jdeveloper/project.xml deleted file mode 100644 index 9eadce63..00000000 --- a/jdeveloper/project.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - ../plugin-parent/project.xml - 3 - maven-jdeveloper-plugin - Maven JDeveloper Plug-in - 1.4 - 2002 - A plugin to generate various files for Oracle's JDeveloper IDE and ease the use of Maven within that environment - JDeveloper Plugin for Maven - http://maven.apache.org/reference/plugins/jdeveloper/ - http://jira.codehaus.org/browse/MPJDEVELOPER - /www/maven.apache.org/reference/plugins/jdeveloper/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/jdeveloper - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/jdeveloper/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/jdeveloper/ - - - - Tobias Rademacher - tradem - toby-wan-kenobi@web.de - GROB Werke - - Java Developer - - - - - - - - - jdepend - jdepend - 2.3 - - - - - 1.3 - 1.3 - MAVEN_JDEVELOPER_1_3 - - - 1.4 - 1.4 - MAVEN_JDEVELOPER_1_4 - - - diff --git a/jdeveloper/src/main/org/apache/maven/jdeveloper/JavaSourceTool.java b/jdeveloper/src/main/org/apache/maven/jdeveloper/JavaSourceTool.java deleted file mode 100644 index 08262345..00000000 --- a/jdeveloper/src/main/org/apache/maven/jdeveloper/JavaSourceTool.java +++ /dev/null @@ -1,70 +0,0 @@ -package org.apache.maven.jdeveloper; - -/* ==================================================================== - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ==================================================================== - */ - -import java.io.File; -import java.io.IOException; - -import jdepend.framework.JavaClass; -import jdepend.framework.JavaSourceFileParser; - -/** - * @author Ben Walding - * - */ -public class JavaSourceTool { - - - /** - * Extracts the package name from the java source file and returns it as - * a directory. For example if the file name is : - * "e:\tmp\src\main\org\apache\maven\Code.java", and Code.java - * is in the org.apache.maven package, this method will - * return "org\apache\maven\Code.java" (or "org/apache/maven/Code.java" on - * unix). - * - * @param absoluteFileName the absolute file name to transform - * @return the shortened file name matching the class package name. - * @throws IOException upon failure to read the java file - */ - public static final String getPackagePath(String absoluteFileName) throws IOException { - String shortenedPath; - - JavaSourceFileParser parser = new JavaSourceFileParser(); - JavaClass clazz = null; - - try { - clazz = parser.parse(absoluteFileName); - } catch (Exception e) { - System.out.println("\nError parsing " + absoluteFileName + ": " + e + "\n"); - return null; - } - - String packageName = clazz.getPackageName(); - - // Handle default packages for which JDepend returns "default" - if (packageName.equals("default")) { - shortenedPath = clazz.getName() + ".java"; - } else { - shortenedPath = - packageName.replace('.', File.separatorChar) + File.separatorChar + clazz.getName() + ".java"; - } - - return shortenedPath; - } -} diff --git a/jdeveloper/xdocs/changes.xml b/jdeveloper/xdocs/changes.xml deleted file mode 100644 index 7fd23425..00000000 --- a/jdeveloper/xdocs/changes.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - Changes - Tobias Radmeacher - - - - Fix JPR file generation. - - - - Align dependencies with plugin code - - - Created plugin - Added documenation - - - diff --git a/jdeveloper/xdocs/goals.xml b/jdeveloper/xdocs/goals.xml deleted file mode 100644 index 1ccd44ea..00000000 --- a/jdeveloper/xdocs/goals.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - Jdeveloper Plugin Goals - Tobias Rademacher - - - - - - jdeveloper - - The default goal. This goal simply executes the - jdeveloper:generate-project goal - - - - - jdeveloper:generate-project - - Generates a .jpr file for JDevelopr describing - the project and adding the dependencies. -
      -
    1. the build source directory
    2. -
    3. the build unit test source directory
    4. -
    5. each Maven project dependency
    6. -
    7. an output directory for compiled code: - target\jdeveloper-classes -
    8. -
    -
    -
    -
    - - -
    diff --git a/jdeveloper/xdocs/index.xml b/jdeveloper/xdocs/index.xml deleted file mode 100644 index 329489d8..00000000 --- a/jdeveloper/xdocs/index.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - Maven JDeveloper Plugin - Tobias Rademacher - - - -
    -

    - This plug-in provides the ability to generate JDeveloper project files - (.JPR). -

    -

    - For more information on the functionality provided by this plugin, - please see the Goals document. -

    -

    - For more information on how to customise the functionality provided - by this plugin, please see the properties - document. -

    -
    - -
    diff --git a/jdeveloper/xdocs/navigation.xml b/jdeveloper/xdocs/navigation.xml deleted file mode 100644 index d1f7cf7a..00000000 --- a/jdeveloper/xdocs/navigation.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - Maven JDeveloper Plugin - - - - - - - - - - - - diff --git a/jdeveloper/xdocs/properties.xml b/jdeveloper/xdocs/properties.xml deleted file mode 100644 index 18054e59..00000000 --- a/jdeveloper/xdocs/properties.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - JDeveloper Plugin Properties - Tobias Rademacher - - - -
    - - - - - - - - - - - - - - - - - - - - - - -
    PropertyOptional?Description
    maven.jdeveloper.workspacheYes -

    - The workspache to which your project belongs. This is used - to generate J2EE-Webapp names. -

    -
    maven.jdeveloper.relative.pathNo -

    - Stupidly JDeveloper access dependency JAR files with a realtive path. - This path points to your $MAVE_HOME directory relative from your - JDeveloper Installation directory. Normaly this look like ../../ - or similar depending where you have installed maven and the JDeveloper IDE. -

    -

    - The complete path of a depending JAR is generate with: -

    -
      -
    1. maven.jdeveloper.relative.path
    2. -
    3. maven.jdeveloper.maven.home
    4. -
    5. repository information
    6. -
    -
    maven.jdeveloper.maven.homeNo -

    - The name of your $MAVEN_HOME directory for instance maven-1.0-beta-7 -

    -

    - The complete path of a depending JAR is generate with: -

    -
      -
    1. maven.jdeveloper.relative.path
    2. -
    3. maven.jdeveloper.maven.home
    4. -
    5. repository information
    6. -
    -
    maven.war.final.nameYes -

    - The name of the Web Applicaion (if it is a web app). -

    -
    -

    - A good place to set this property is the build.propeties file in user.home directory. -

    -
    - -
    diff --git a/junitdoclet/plugin.jelly b/junitdoclet/plugin.jelly deleted file mode 100644 index e521f01a..00000000 --- a/junitdoclet/plugin.jelly +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - > - - - - - - - - - - - - - diff --git a/junitdoclet/plugin.properties b/junitdoclet/plugin.properties deleted file mode 100644 index c79b8e32..00000000 --- a/junitdoclet/plugin.properties +++ /dev/null @@ -1,24 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# Default Maven properties for the JUnitDoclet plugin. -# ------------------------------------------------------------------- -# These are the properties that we believe are immutable so we -# keep them apart from the project specific properties. -# ------------------------------------------------------------------- - -maven.junitdoclet.outputDirectory = ${maven.build.dir}/junitdoclet diff --git a/junitdoclet/project.properties b/junitdoclet/project.properties deleted file mode 100644 index d66f96c3..00000000 --- a/junitdoclet/project.properties +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- diff --git a/junitdoclet/project.xml b/junitdoclet/project.xml deleted file mode 100644 index 0aa760ed..00000000 --- a/junitdoclet/project.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - ../plugin-parent/project.xml - 3 - maven-junit-doclet-plugin - Maven JUnitDoclet Plug-in - 1.2 - A plugin to generate test cases use JUnitDoclet - JUnitDoclet test generator - http://maven.apache.org/reference/plugins/junitdoclet/ - http://jira.codehaus.org/browse/MPJUNITDOCLET - /www/maven.apache.org/reference/plugins/junitdoclet/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/junitdoclet/ - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/junitdoclet/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/junitdoclet/ - - - - 1.1 - 1.1 - MAVEN_JUNITDOCLET_1_1 - - - 1.2 - 1.2 - MAVEN_JUNITDOCLET_1_2 - - - - - Jason van Zyl - jvanzyl - jason@zenplex.com - Zenplex - - Architect - Release Manager - - - - - - junit-doclet - junit-doclet - 1.0.1 - - - diff --git a/junitdoclet/xdocs/changes.xml b/junitdoclet/xdocs/changes.xml deleted file mode 100644 index 967482bc..00000000 --- a/junitdoclet/xdocs/changes.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - Changes - Jason van Zyl - - - - - - Add documentation. - - - - - Original release for Maven 1.0-beta8 - - - - - diff --git a/junitdoclet/xdocs/goals.xml b/junitdoclet/xdocs/goals.xml deleted file mode 100644 index 88f21067..00000000 --- a/junitdoclet/xdocs/goals.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - Maven Plexus Plug-in Goals - Jason van Zyl - - - -
    - - - - - - -
    GoalDescription
    junitdoclet - For a given project generate a plexus runtime using the required - components. -
    -
    - -
    diff --git a/junitdoclet/xdocs/index.xml b/junitdoclet/xdocs/index.xml deleted file mode 100644 index 4aea8b61..00000000 --- a/junitdoclet/xdocs/index.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - Maven JUnitDoclet Plug-in - Jason van Zyl - - - -
    -

    -

    -
    - -
    diff --git a/junitdoclet/xdocs/navigation.xml b/junitdoclet/xdocs/navigation.xml deleted file mode 100644 index 1ca2181f..00000000 --- a/junitdoclet/xdocs/navigation.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - Maven JUnitDoclet Plugin - - - - - - - - - - - - diff --git a/junitdoclet/xdocs/properties.xml b/junitdoclet/xdocs/properties.xml deleted file mode 100644 index a6a9b772..00000000 --- a/junitdoclet/xdocs/properties.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - Maven JUnitDoclet Plugin Properties - dIon Gillard - - - -
    - - - - - - - - - - - -
    Property nameOptional?Description
    maven.junitdoclet.outputDirectoryYes - Specifies the location of the generated files. - The default value is ${maven.build.dir}/junitdoclet. -
    -
    - -
    diff --git a/latex/plugin.jelly b/latex/plugin.jelly deleted file mode 100644 index 2009bf24..00000000 --- a/latex/plugin.jelly +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - scanning: ${latexSrcDir} - - - - - - - - - - - - - - - - ${maven.latex.docs} - - - - Generating from ${file} - - - - - - - - - - - - - - - - - - - diff --git a/latex/plugin.properties b/latex/plugin.properties deleted file mode 100644 index de36c5e2..00000000 --- a/latex/plugin.properties +++ /dev/null @@ -1,17 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -maven.latex.src.dir=MAVEN_LATEX_SRC_DIR_NOT_SET diff --git a/latex/project.properties b/latex/project.properties deleted file mode 100644 index d66f96c3..00000000 --- a/latex/project.properties +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- diff --git a/latex/project.xml b/latex/project.xml deleted file mode 100644 index a1f35bc0..00000000 --- a/latex/project.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - ../plugin-parent/project.xml - 3 - maven-latex-plugin - Maven Latex Plug-in - 1.4.1 - - Produce HTML from latex - http://maven.apache.org/reference/plugins/latex/ - http://jira.codehaus.org/browse/MPLATEX - /www/maven.apache.org/reference/plugins/latex/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/latex/ - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/latex/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/latex/ - - - - 1.1 - 1.1 - MAVEN_LATEX_1_1 - - - 1.2 - 1.2 - MAVEN_LATEX_1_2 - - - 1.4.1 - 1.4.1 - MAVEN_LATEX_1_4_1 - - - - - Bob McWhirter - werken - bob@werken.com - The Werken Company - - Java Developer - - - - Jason van Zyl - jvanzyl - jason@zenplex.com - Zenplex - - Architect - Release Manager - - - - - - commons-lang - commons-lang - 2.0 - - - anttex - anttex - 1.0 - - - diff --git a/latex/xdocs/changes.xml b/latex/xdocs/changes.xml deleted file mode 100644 index f8330504..00000000 --- a/latex/xdocs/changes.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - Changes - dIon Gillard - - - - - - - update to commons-lang 2.0 - - - - - update to commons-lang 1.0.1 - - - Make plugin run when maven site is invoked - - - - - - diff --git a/latex/xdocs/goals.xml b/latex/xdocs/goals.xml deleted file mode 100644 index 2484fd17..00000000 --- a/latex/xdocs/goals.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - Maven latex Plug-in Goals - dIon Gillard - - - - - latex:generate - Generate documentation from latex source - - - latex:prepare-filesystem - Prepare the filesystem for latex processing - - - - \ No newline at end of file diff --git a/latex/xdocs/index.xml b/latex/xdocs/index.xml deleted file mode 100644 index 864c173f..00000000 --- a/latex/xdocs/index.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - Maven Latex Plug-in - Jason van Zyl - - - -
    -

    - This plug-in allows you to write your project documentation in Latex. -

    -
    - -
    diff --git a/latex/xdocs/navigation.xml b/latex/xdocs/navigation.xml deleted file mode 100644 index fbafdd1f..00000000 --- a/latex/xdocs/navigation.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - Maven latex Plugin - - - - - - - - - - - - - \ No newline at end of file diff --git a/latex/xdocs/properties.xml b/latex/xdocs/properties.xml deleted file mode 100644 index ea204d6f..00000000 --- a/latex/xdocs/properties.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - latex Properties - dIon Gillard - - -
    - - - - - - - - - - - -
    PropertyOptional?Description
    maven.latex.src.dirYes -

    Default value is - MAVEN_LATEX_SRC_DIR_NOT_SET.

    -
    -
    - -
    \ No newline at end of file diff --git a/latka/plugin.jelly b/latka/plugin.jelly deleted file mode 100644 index 37ba3556..00000000 --- a/latka/plugin.jelly +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - executing latka tests from: ${latkaSrcDir} - - ${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')} - - - Executing ${file} - - - - - - - No Latka source directory found - - - - - - - You must define the test case to run via -Dtestcase=classname - Example: maven -Dtestcase=MyTest latka:single - - - - - - - - - - - - Running test ${latkaSrcDir}/${testcase} - - ${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')} - - - - - - - - - - - - - - - - ${maven.build.dir}/latka/jmeter-suite.latka - Converting ${jmeterFile} to a latka test suite - - ${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')} - - - - - - - jelly:core - jelly:org.apache.commons.latka.jelly.LatkaTagLibrary - - - - Latka test suite '${outFileName}' created - - - - File ${jmeterFile} not found - - - - - diff --git a/latka/plugin.properties b/latka/plugin.properties deleted file mode 100644 index bda2f6d0..00000000 --- a/latka/plugin.properties +++ /dev/null @@ -1,17 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -maven.latka.src.dir=${basedir}/src/test/latka diff --git a/latka/project.properties b/latka/project.properties deleted file mode 100644 index d66f96c3..00000000 --- a/latka/project.properties +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- diff --git a/latka/project.xml b/latka/project.xml deleted file mode 100644 index 975294c2..00000000 --- a/latka/project.xml +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - ../plugin-parent/project.xml - 3 - maven-latka-plugin - Maven Latka Plug-in - 1.4.2-SNAPSHOT - - Run Latka scripts - http://maven.apache.org/reference/plugins/latka/ - http://jira.codehaus.org/browse/MPLATKA - /www/maven.apache.org/reference/plugins/latka/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/latka/ - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/latka/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/latka/ - - - - 1.3 - 1.3 - MAVEN_LATKA_1_3 - - - 1.4 - 1.4 - MAVEN_LATKA_1_4 - - - 1.4.1 - 1.4.1 - MAVEN_LATKA_1_4_1 - - - - - - commons-jelly - commons-jelly-tags-xml - 1.0 - http://jakarta.apache.org/commons/jelly/libs/xml/ - - - commons-latka - commons-latka - 1.0-dev.20030107.163533 - - - commons-httpclient - commons-httpclient - 2.0 - - - jaxen - jaxen - 1.0-FCS-full - - - jdom - jdom - 1.0b8 - - - junit - junit - 3.8.1 - - root - - - - regexp - regexp - 1.3 - http://jakarta.apache.org/regexp/ - - - xalan - xalan - 2.4.1 - http://xml.apache.org/xalan-j/ - - root - - - - - - - commons-jelly - commons-jelly-tags-html - 1.0 - http://jakarta.apache.org/commons/jelly/libs/html/ - - - nekohtml - nekohtml - 0.7.7 - - - diff --git a/latka/src/plugin-resources/jmeter2suite.jelly b/latka/src/plugin-resources/jmeter2suite.jelly deleted file mode 100644 index e4207c31..00000000 --- a/latka/src/plugin-resources/jmeter2suite.jelly +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/latka/src/plugin-test/file1.jmx b/latka/src/plugin-test/file1.jmx deleted file mode 100644 index 0c4d84f2..00000000 --- a/latka/src/plugin-test/file1.jmx +++ /dev/null @@ -1,1276 +0,0 @@ - - - -Thread Group -org.apache.jmeter.threads.ThreadGroup - -org.apache.jmeter.control.LoopController -Loop Controller -false --1 -org.apache.jmeter.control.gui.LoopControlPanel - -1 -1 -org.apache.jmeter.threads.gui.ThreadGroupGui - - - -/INL/login.do -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -POST - - - -org.apache.jmeter.config.Arguments - - - -false -userId -dion -userId -dion - - -false -password -password -password -password - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/login.do -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Content-Type -application/x-www-form-urlencoded - - -Accept-Language -en-au - - -Referer -http://dev270/INL/login.jsp - - -Pragma -no-cache - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/header.do -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/header.do -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Referer -http://dev270/INL/login.do - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -*/* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/navigation.do -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/navigation.do -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Referer -http://dev270/INL/login.do - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -*/* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/introduction.jsp -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/introduction.jsp -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Referer -http://dev270/INL/login.do - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -*/* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/scripts/utilScript.jsp -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/scripts/utilScript.jsp -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Referer -http://dev270/INL/header.do - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -*/* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/navSelection.do -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - - -false -actionMethod -doSelectSystem -actionMethod -doSelectSystem - - -false -id -inl -id -inl - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/navSelection.do -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Referer -http://dev270/INL/navigation.do - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/scripts/utilScript.jsp -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/scripts/utilScript.jsp -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Referer -http://dev270/INL/navSelection.do?actionMethod=doSelectSystem&id=inl - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -*/* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/chooseDept.jsp -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/chooseDept.jsp -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/deptSelection.do -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -POST - - - -org.apache.jmeter.config.Arguments - - - -false -deptId -01 -deptId -01 - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/deptSelection.do -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Content-Type -application/x-www-form-urlencoded - - -Accept-Language -en-au - - -Referer -http://dev270/INL/chooseDept.jsp - - -Pragma -no-cache - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/scripts/utilScript.jsp -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/scripts/utilScript.jsp -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Referer -http://dev270/INL/deptSelection.do - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -*/* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/navigation.do -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/navigation.do -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/scripts/utilScript.jsp -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/scripts/utilScript.jsp -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Referer -http://dev270/INL/navigation.do - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -*/* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/navSelection.do -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - - -false -actionMethod -doSelectFun1 -actionMethod -doSelectFun1 - - -false -id -1 -id -1 - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/navSelection.do -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Referer -http://dev270/INL/navigation.do - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/scripts/utilScript.jsp -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/scripts/utilScript.jsp -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Referer -http://dev270/INL/navSelection.do?actionMethod=doSelectFun1&id=1 - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -*/* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/account/welcome.jsp -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/account/welcome.jsp -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/scripts/utilScript.jsp -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/scripts/utilScript.jsp -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Referer -http://dev270/INL/account/welcome.jsp - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -*/* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/navSelection.do -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - - -false -actionMethod -doSelectFun2 -actionMethod -doSelectFun2 - - -false -id -11 -id -11 - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/navSelection.do -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Referer -http://dev270/INL/navSelection.do?actionMethod=doSelectFun1&id=1 - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/scripts/utilScript.jsp -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/scripts/utilScript.jsp -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Referer -http://dev270/INL/navSelection.do?actionMethod=doSelectFun2&id=11 - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -*/* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/account/search.jsp -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -GET - - - -org.apache.jmeter.config.Arguments - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/account/search.jsp -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Accept-Language -en-au - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - - -/INL/account/accountSearchName.do -org.apache.jmeter.protocol.http.sampler.HTTPSampler -80 -POST - - - -org.apache.jmeter.config.Arguments - - - -false -lastName -newton -lastName -newton - - -false -firstName - -firstName - - - -false -companyName - -companyName - - - -false -actionMethod -doSearch -actionMethod -doSearch - - -false -requestObject -account.list -requestObject -account.list - - -false -sessionObject -my.session.list.account -sessionObject -my.session.list.account - - -org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel - -false -http - -/INL/account/accountSearchName.do -dev270 -true -org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui - - - - -Browser-derived headers -org.apache.jmeter.protocol.http.control.HeaderManager - - -Content-Type -application/x-www-form-urlencoded - - -Accept-Language -en-au - - -Referer -http://dev270/INL/account/search.jsp - - -Pragma -no-cache - - -Host -dev270 - - -Accept-Encoding -gzip, deflate - - -Accept -image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* - - -User-Agent -Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) - - -org.apache.jmeter.protocol.http.gui.HeaderPanel - - - - diff --git a/latka/src/plugin-test/maven.xml b/latka/src/plugin-test/maven.xml deleted file mode 100644 index 7c3716a4..00000000 --- a/latka/src/plugin-test/maven.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/latka/src/plugin-test/project.xml b/latka/src/plugin-test/project.xml deleted file mode 100644 index 29f162b5..00000000 --- a/latka/src/plugin-test/project.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - 3 - test-maven-latka-plugin - Test project for Maven Latka - maven - 1.0-SNAPSHOT - - Apache Software Foundation - http://www.apache.org/ - http://maven.apache.org/images/jakarta-logo-blue.gif - - 2001 - org.apache.maven - http://maven.apache.org/images/maven.jpg - Test for Maven Latka plugin - Test for Maven Latka plugin - http://maven.apache.org/reference/plugins/latka/ - /www/maven.apache.org/reference/plugins/latka/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/latka/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/latka/ - - - - dIon Gillard - dion - dion@multitask.com.au - Multitask Consulting - - Documentation - - - - - - commons-jelly - commons-jelly-tags-xml - 1.0 - - - diff --git a/latka/src/test/latka/test.latka b/latka/src/test/latka/test.latka deleted file mode 100644 index bc62ef10..00000000 --- a/latka/src/test/latka/test.latka +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/latka/xdocs/changes.xml b/latka/xdocs/changes.xml deleted file mode 100644 index 65ff9110..00000000 --- a/latka/xdocs/changes.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - Changes - dIon Gillard - - - - - - Update commons-httpclient to 2.0 - Update docs to reflect the version of JMeter required. - - - Fix MAVEN-993. Complain if file to be converted doesn't exist - - - update to xalan 2.4.1 - Consistent http tags. - - - Fixed docs. - - - Various jelly usage bugs. - - - Created. - - - diff --git a/latka/xdocs/goals.xml b/latka/xdocs/goals.xml deleted file mode 100644 index 0784061b..00000000 --- a/latka/xdocs/goals.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - Maven Latka Plug-in Goals - dIon Gillard - - - - - - latka - - This is the default goal of the plugin and simply attains - the latka:test goal. - - - - latka:test - - This goal runs all latka tests in the ${maven.latka.src.dir} - - - - latka:jmeter-convert - - Convert a jmeter (v1.8.x) jmx file to a latka suite - - - - - diff --git a/latka/xdocs/index.xml b/latka/xdocs/index.xml deleted file mode 100644 index cb60b493..00000000 --- a/latka/xdocs/index.xml +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - Maven Latka Plug-in - dIon Gillard - - - -
    -

    The following sections are available in the Latka plugin documentation

    -
      -
    1. An overview of how this plugin works
    2. -
    3. How to get more from Latka
    4. -
    5. How to generate Latka test suites
    6. -
    7. What's in store for the Latka plugin
    8. -
    -
    -
    -

    - This plugin runs - Latka - web testing scripts. -

    -

    - To use the plugin, you simply need to create some Latka test - scripts and place them in the src/test/latka directory. -

    -

    - To execute the scripts, simply run -

    - maven latka -

    - By default this will simply print the results of running your - Latka test suite to the console, and if the suite(s) failed, - the build is stopped with an appropriate exception -

    -
    -
    -

    - Latka can be customised in many ways when running within - the plugin. The Latka docs should be read thoroughly first as they - should contain far more detail on the ways Latka can be tweaked. -

    - -

    - Latka has the concept of listeners, classes - whose job it is to listen for, and report on the progress of - a Latka suite. -

    -

    - Latka looks for a listener at the start of the suite tag as - a Jelly - variable named latkaEventListener. If one is not found, - Latka notes this internally and creates an XMLReporter - as the default listener. -

    -

    - You can provide your own listener to Latka simply by using jelly's - new tag before the suite tag, e.g. -

    - -]]> -

    - Once the suite is complete, you can then access the XML report using - all the usual jelly xml tags. For example, to simply print out the - resulting report in XML format use the following: -

    - -

    - Once you have the report, you can then do anything else you may like - such as -

      -
    • Writing the report to a file using j:file
    • -
    • - Perform JSL transformations on the report to generate - documentation -
    • -
    • Extract pieces of the report using Jelly's XML tags
    • -
    -

    -
    -
    - -
    -

    - The plugin has a goal (latka:jmeter-convert) - that takes a set of requests as recorded by - JMeter's - Http Proxy and converts them into a Latka suite. -

    -

    This has only been tested with JMeter 1.8.x

    -

    - You can easily set up a browser with the correct proxy settings, and simply by using - your web application, you can create tests that this plugin can - later replay. -

    -

    - The JMeter documentation contains a section on setting up the HTTP - Proxy feature. This allows you to set 'listen' to requests being - sent to the application and save the request details in XML format. - JMeter can be set up to filter out requests by specifying a regular - expression to match the incoming requests. This lets you only record - relevant requests for your tests, e.g. HTML or JSP files, Struts - actions with a .do extension etc. -

    -

    - The jmeter-convert goal looks for a property passed to - Maven, jmeterFile. If this file exists, the plugin - blindly assumes it's a JMeter file and generates a corresponding - Latka suite, containing all the requests in the JMeter file with - the appropriate web server, port, request path and parameters. -

    -

    - The file that is generated, - ${maven.build.dir}/latka/jmeter-suite.latka, can then - be editied and placed in the Latka source directory. -

    -

    - To convert a file, say C:\JMeter\test.jmx, into a Latka - suite, invoke Maven like this: -

    - maven -DjmeterFile=C:\JMeter\test.jmx latka:jmeter-convert -

    - This will produce a file, target\latka\jmeter-suite.latka - ready for editing or execution. -

    -
    - -
    -
      -
    • - The Latka Jelly tags are only new, and we're sure we'll find more bugs - in them as time goes by, so first on the agenda is those pesky bugs and - making Latka rock solid within Maven. -
    • -
    • - Secondly a way to generate xdoc reports from the Latka XML Reporter, - so that the Latka results can be incorporated into the site reports -
    • -
    • - Exposing more detail about requests and responses to Jelly so - people can get at them easily -
    • -
    • - Your suggestions are always welcome! -
    • -
    -
    - -
    diff --git a/latka/xdocs/navigation.xml b/latka/xdocs/navigation.xml deleted file mode 100644 index 77cc5e95..00000000 --- a/latka/xdocs/navigation.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - Maven Latka Plugin - - - - - - - - - - - - diff --git a/latka/xdocs/properties.xml b/latka/xdocs/properties.xml deleted file mode 100644 index 1360e660..00000000 --- a/latka/xdocs/properties.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - Latka Properties - dIon Gillard - - - -
    - - - - - - - -
    PropertyOptional?Description
    maven.latka.src.dirYes - The source directory to search for Latka tests. -
    -
    - -
    - diff --git a/shell/plugin.jelly b/shell/plugin.jelly deleted file mode 100644 index a44aea6f..00000000 --- a/shell/plugin.jelly +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - '${escgoal}:${escdesc}' - - - '${escgoal}' - - - - - - - - Now start a new zsh shell - - - - - - - - - - - - - - - - - - - - - - - - -${goal} - - - - - - - - - - diff --git a/shell/plugin.properties b/shell/plugin.properties deleted file mode 100644 index bce126a4..00000000 --- a/shell/plugin.properties +++ /dev/null @@ -1,26 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P L U G I N P R O P E R I E S -# ------------------------------------------------------------------- -# Shell plugin. -# ------------------------------------------------------------------- - -# Generate zsh completion function for maven. - -# maven.shell.zsh.dir= /usr/zsh/functions -maven.shell.zsh.nodesc = true diff --git a/shell/project.properties b/shell/project.properties deleted file mode 100644 index d66f96c3..00000000 --- a/shell/project.properties +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- diff --git a/shell/project.xml b/shell/project.xml deleted file mode 100644 index a5e920c9..00000000 --- a/shell/project.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - ../plugin-parent/project.xml - 3 - maven-shell-plugin - Maven Shell Plug-in - 1.2-SNAPSHOT - A plugin to generate various files for different shells to allow tab completion for maven goals - Shell Plugin for Maven - http://maven.apache.org/reference/plugins/shell/ - http://jira.codehaus.org/browse/MPSHELL - /www/maven.apache.org/reference/plugins/shell/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/shell/ - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/shell/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/shell/ - - - - Kasper Nielsen - knielsen - apache@kav.dk - - - Developer - - - - - - 1.1 - 1.1 - MAVEN_SHELL_1_1 - - - diff --git a/shell/xdocs/changes.xml b/shell/xdocs/changes.xml deleted file mode 100644 index 1c23749a..00000000 --- a/shell/xdocs/changes.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - Changes - Kasper Nielsen - - - - Bash completion support - - - Apply MAVEN-850 - - - Initial release - - - diff --git a/shell/xdocs/goals.xml b/shell/xdocs/goals.xml deleted file mode 100644 index 4df69f4b..00000000 --- a/shell/xdocs/goals.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - ShellScript Plugin Goals - Kasper Nielsen - - - - - - shell - - The default goal. This goal simply executes the - shell:zsh goal for now - - - - - shell:zsh - - Generates a _maven file for the ZSH shell - - - - - - diff --git a/shell/xdocs/index.xml b/shell/xdocs/index.xml deleted file mode 100644 index a4cfc766..00000000 --- a/shell/xdocs/index.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - Maven Shell Plugin - Kasper Nielsen - - - -
    -

    - This plug-in provides the ability to generate shell script files - that allows for tab completion. -

    -

    - For more information on the functionality provided by this plugin, - please see the Goals document. -

    -

    - For more information on how to customise the functionality provided - by this plugin, please see the properties - document. -

    - -

    - You must add this to your bash_completion.d directory: -

    - -
    -
    - -
    diff --git a/shell/xdocs/navigation.xml b/shell/xdocs/navigation.xml deleted file mode 100644 index 4cb4322b..00000000 --- a/shell/xdocs/navigation.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - Maven Shell Plugin - - - - - - - - - - - - diff --git a/shell/xdocs/properties.xml b/shell/xdocs/properties.xml deleted file mode 100644 index cd5f236c..00000000 --- a/shell/xdocs/properties.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - Shell Properties - Kasper Nielsen - - - -
    - - - - - - - - - - - - -
    PropertyOptional?Description
    maven.shell.zsh.dirYes - Location of the Zsh - function directory. -

    - If this parameter is specified, the - shell:zsh goal will use it as the destination to copy the generated file. - Otherwise it will be put into the build dir. -

    -
    maven.shell.zsh.nodescYes - Do not generate descriptions for tab completion -
    -
    - -
    diff --git a/struts/plugin.jelly b/struts/plugin.jelly deleted file mode 100644 index ff479d1a..00000000 --- a/struts/plugin.jelly +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/struts/project.properties b/struts/project.properties deleted file mode 100644 index 22100b79..00000000 --- a/struts/project.properties +++ /dev/null @@ -1,20 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- -maven.junit.fork=yes \ No newline at end of file diff --git a/struts/project.xml b/struts/project.xml deleted file mode 100644 index c1a4af33..00000000 --- a/struts/project.xml +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - ../plugin-parent/project.xml - 3 - maven-struts-plugin - Maven Struts Plugin - 1.4-SNAPSHOT - - Work with struts jars - http://maven.apache.org/reference/plugins/struts/ - http://jira.codehaus.org/browse/MPSTRUTS - /www/maven.apache.org/reference/plugins/struts/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/struts/ - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/struts/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/struts/ - - - - 1.2 - 1.2 - MAVEN_STRUTS_1_2 - - - 1.3 - 1.3 - MAVEN_STRUTS_1_3 - - - - - dIon Gillard - dion - dion@multitask.com.au - Multitask Consulting - - Java Developer - - - - - - maven - maven-j2ee-plugin - 1.1 - - - commons-collections - commons-collections - 2.1 - - - commons-jelly - commons-jelly-tags-log - 1.0 - - - commons-lang - commons-lang - 2.0 - - - commons-logging - commons-logging - 1.0.3 - - - dom4j - dom4j - 1.4-dev-8 - - - regexp - regexp - 1.3 - - - xml-apis - xml-apis - 1.0.b2 - - - xerces - xerces - 2.4.0 - http://xml.apache.org/xerces2-j/ - - - diff --git a/struts/src/main/org/apache/maven/struts/Action.java b/struts/src/main/org/apache/maven/struts/Action.java deleted file mode 100644 index 8ff3e81c..00000000 --- a/struts/src/main/org/apache/maven/struts/Action.java +++ /dev/null @@ -1,145 +0,0 @@ -package org.apache.maven.struts; - -/* ==================================================================== - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ==================================================================== - */ - -/** - * A class to hold data about a struts action as found in the struts - * configuration file - * - * @author dion - * @version $Id$ - */ -public class Action extends ObjectConfigurationEntry -{ - /** context relative path of the submitted request */ - private String path; - /** "request" or "session" - scope of the form bean for the action */ - private String scope; - /** Whether the action is to be the default for the web app */ - private String unknown; - /** Whether the form bean should be validated before the action is called */ - private String validate; - - /** Creates a new instance of Action */ - public Action() - { - } - - /** Getter for property scope. - * @return Value of property scope. - */ - public String getScope() - { - return scope; - } - - /** Setter for property scope. - * @param scope New value of property scope. - */ - public void setScope(String scope) - { - this.scope = scope; - } - - /** Getter for property unknown. - * @return Value of property unknown. - */ - public String getUnknown() - { - return unknown; - } - - /** Setter for property unknown. - * @param unknown New value of property unknown. - */ - public void setUnknown(String unknown) - { - this.unknown = unknown; - } - - /** Getter for property validate. - * @return Value of property validate. - */ - public String getValidate() - { - return validate; - } - - /** Setter for property validate. - * @param validate New value of property validate. - */ - public void setValidate(String validate) - { - this.validate = validate; - } - - /** Getter for property path. - * @return Value of property path. - */ - public String getPath() - { - return path; - } - - /** Setter for property path. - * @param path New value of property path. - */ - public void setPath(String path) - { - this.path = path; - } - - /** whether the passed object is the same as this one. In the case of an - * action object, the path is the unique qualifier. So two objects are equal - * if they have equal paths - * @param o any object - * @return true if o is the same as this object, false otherwise - */ - public boolean equals(Object o) - { - if (o == null) - { - return false; - } - - if (getClass() != o.getClass()) - { - return false; - } - - return getPath().equals(((Action) o).getPath()); - } - - /** provides the hashCode of this object, which is determined by simply - * delegating the responsibility to the path property - * @return the hashCode of the name if not null, otherwise delegate to the - * parent class - */ - public int hashCode() - { - if (getPath() != null) - { - return getPath().hashCode(); - } - else - { - return super.hashCode(); - } - } - -} diff --git a/struts/src/main/org/apache/maven/struts/ConfigurationEntry.java b/struts/src/main/org/apache/maven/struts/ConfigurationEntry.java deleted file mode 100644 index 583a7f7d..00000000 --- a/struts/src/main/org/apache/maven/struts/ConfigurationEntry.java +++ /dev/null @@ -1,108 +0,0 @@ -package org.apache.maven.struts; - -/* ==================================================================== - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ==================================================================== - */ - -/** - * A class to hold common properties across struts config objects - * - * @author dion - * @version $Id$ - */ -public class ConfigurationEntry -{ - /** Fully qualified Java class name of the implementation class. */ - private String className; - /** Unique identifier of the form bean, if any, associated with the action - */ - private String name; - - /** Creates a new instance of ConfigurationEntry */ - public ConfigurationEntry() - { - } - - /** Getter for property className. - * @return Value of property className. - */ - public String getClassName() - { - return className; - } - - /** Setter for property className. - * @param className New value of property className. - */ - public void setClassName(String className) - { - this.className = className; - } - - /** Getter for property name. - * @return Value of property name. - */ - public String getName() - { - return name; - } - - /** Setter for property name. - * @param name New value of property name. - */ - public void setName(String name) - { - this.name = name; - } - - /** whether the passed object is the same as this one. In the case of a - * config object, the name is the unique qualifier. So two objects are equal - * if they have equal names - * @param o any object - * @return true if o is the same as this object, false otherwise - */ - public boolean equals(Object o) - { - if (o == null) - { - return false; - } - - if (getClass() != o.getClass()) - { - return false; - } - - return getName().equals(((ConfigurationEntry) o).getName()); - } - - /** provides the hashCode of this object, which is determined by simply - * delegating the responsibility to the name property - * @return the hashCode of the name if not null, otherwise delegate to the - * parent class - */ - public int hashCode() - { - if (getName() != null) - { - return getName().hashCode(); - } - else - { - return super.hashCode(); - } - } -} diff --git a/struts/src/main/org/apache/maven/struts/FormBean.java b/struts/src/main/org/apache/maven/struts/FormBean.java deleted file mode 100644 index 305a6a55..00000000 --- a/struts/src/main/org/apache/maven/struts/FormBean.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.apache.maven.struts; - -/* ==================================================================== - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ==================================================================== - */ - -/** - * A class to hold data about a Struts form bean as found in the configuration - * @author dion - * @version $Id$ - */ -public class FormBean extends ObjectConfigurationEntry -{ - /** Creates a new instance of FormBean with null values for the properties - */ - public FormBean() - { - } - -} diff --git a/struts/src/main/org/apache/maven/struts/Forward.java b/struts/src/main/org/apache/maven/struts/Forward.java deleted file mode 100644 index 83744af5..00000000 --- a/struts/src/main/org/apache/maven/struts/Forward.java +++ /dev/null @@ -1,70 +0,0 @@ -package org.apache.maven.struts; - -/* ==================================================================== - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ==================================================================== - */ - -/** - * A class to represent a global forward as stored in the Struts configuration - * - * @author dion - * @version $Id$ - */ -public class Forward extends ConfigurationEntry -{ - /** path to forward or redirect to */ - private String path; - /** whether to redirect or forward to the path*/ - private String redirect; - - /** Creates a new instance of Forward */ - public Forward() - { - } - - /** Getter for property path. - * @return Value of property path. - */ - public String getPath() - { - return path; - } - - /** Setter for property path. - * @param path New value of property path. - */ - public void setPath(String path) - { - this.path = path; - } - - /** Getter for property redirect. - * @return Value of property redirect. - */ - public String getRedirect() - { - return redirect; - } - - /** Setter for property redirect. - * @param redirect New value of property redirect. - */ - public void setRedirect(String redirect) - { - this.redirect = redirect; - } - -} diff --git a/struts/src/main/org/apache/maven/struts/ObjectConfigurationEntry.java b/struts/src/main/org/apache/maven/struts/ObjectConfigurationEntry.java deleted file mode 100644 index a15b49c6..00000000 --- a/struts/src/main/org/apache/maven/struts/ObjectConfigurationEntry.java +++ /dev/null @@ -1,54 +0,0 @@ -package org.apache.maven.struts; - -/* ==================================================================== - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ==================================================================== - */ - -/** - * A struts configuration entry that ends up as a java object, and hence - * has a type property that is a java class name. - * - * @author dion - * @version - * $Id$ - */ -public class ObjectConfigurationEntry extends ConfigurationEntry -{ - /** Fully qualified Java class name of the implementing object */ - private String type; - - /** Creates a new instance of ObjectConfigurationEntry */ - public ObjectConfigurationEntry() - { - } - - /** Getter for property type. - * @return Value of property type. - */ - public String getType() - { - return type; - } - - /** Setter for property type. - * @param type New value of property type. - */ - public void setType(String type) - { - this.type = type; - } - -} diff --git a/struts/src/main/org/apache/maven/struts/Struts10WarFile.java b/struts/src/main/org/apache/maven/struts/Struts10WarFile.java deleted file mode 100644 index fc7251de..00000000 --- a/struts/src/main/org/apache/maven/struts/Struts10WarFile.java +++ /dev/null @@ -1,314 +0,0 @@ -package org.apache.maven.struts; - -/* ==================================================================== - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ==================================================================== - */ - -import java.io.File; -import java.io.InputStream; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; -import java.util.jar.JarEntry; - -import org.apache.maven.j2ee.WarFile; - -import org.dom4j.Document; -import org.dom4j.DocumentException; -import org.dom4j.Element; -import org.dom4j.io.SAXReader; - -/** - * Encapsulates a Struts 1.0 War File. Holds functionality to access Struts - * specific resources and data in the war. - * @author dion - * @version $Id$ - */ -public class Struts10WarFile extends WarFile -{ - /** Default location of Struts configuration file in the war */ - public static final String DEFAULT_CONFIG = "WEB-INF/struts-config.xml"; - /** property for the location of the Struts configuration file in the war */ - private String config = Struts10WarFile.DEFAULT_CONFIG; - /** Default name of the action servlet in web.xml */ - public static final String DEFAULT_ACTIONSERVLET_NAME = "action"; - /** name of the action servlet in web.xml */ - private String actionServletName = - Struts10WarFile.DEFAULT_ACTIONSERVLET_NAME; - - /** - * Creates a new instance of Struts10WarFile - * @param name the {@link File file} name of a war file containing a Struts - * web application - * @throws IOException when an I/O error occurs - */ - public Struts10WarFile(String name) throws IOException - { - super(name); - } - - /** - * Creates a new instance of Struts10WarFile - * @param name the {@link File file} name of a war file containing a Struts - * web application - * @param verify whether or not to verify the war file if it is signed - * @throws IOException when an I/O error occurs */ - public Struts10WarFile(String name, boolean verify) throws IOException - { - super(name, verify); - } - - /** - * Creates a new instance of Struts10WarFile - * @param warFile a J2EE .war {@link File file} containing a Struts web - * application - * @throws IOException when an I/O error occurs - */ - public Struts10WarFile(File warFile) throws IOException - { - super(warFile); - } - - /** - * Creates a new instance of Struts10WarFile - * @param warFile a J2EE .war {@link File file} containing a Struts web - * application - * @param verify whether or not to verify the war file if it is signed - * @throws IOException when an I/O error occurs - */ - public Struts10WarFile(File warFile, boolean verify) throws IOException - { - super(warFile, verify); - } - - /** - * Creates a new instance of Struts10WarFile - * @param warFile a J2EE .war {@link File file} containing a Struts web - * application - * @param verify whether or not to verify the war file if it is signed - * @param mode the mode in which the file is to be opened - * @throws IOException when an I/O error occurs - */ - public Struts10WarFile(File warFile, boolean verify, int mode) - throws IOException - { - super(warFile, verify, mode); - } - - /** Provide the location of the Struts configuration file in the war. - * @return Value of property config. - */ - public String getConfig() - { - return config; - } - - /** Set the location of the Struts configuration file in the war. - * @param config New value of property config. - */ - public void setConfig(String config) - { - this.config = config; - } - - /** - * Retrieves the Struts configuration (as specified by the config property) - * entry if it exists. - * @return a {@link JarEntry} for Struts config - */ - public JarEntry getStrutsConfigEntry() - { - return getJarEntry(getConfig()); - } - - /** Get the Struts configuration back as a dom4j Document, for easier - * processing - * @return a {@link Document} representing the web.xml - * @throws IOException if there are any issues reading the web.xml - * or producing the xml document - */ - private Document getStrutsConfig() throws IOException - { - if (getStrutsConfigEntry() == null) - { - throw new IOException("Attempted to get non-existent config"); - } - try - { - SAXReader xmlReader = new SAXReader(false); - xmlReader.setEntityResolver(new StrutsEntityResolver()); - InputStream configStream = getInputStream(getStrutsConfigEntry()); - Document configXml = xmlReader.read(configStream); - return configXml; - } - catch (DocumentException de) - { - de.printStackTrace(); - throw new IOException(de.getMessage()); - } - } - - /** retrieves the form beans defined in the struts configuration file - * @return a collection of {@link FormBean form beans} - * @throws IOException when there are problems reading from the war - */ - public List getFormBeans() throws IOException - { - List formBeans = new ArrayList(); - Document config = getStrutsConfig(); - List formBeanNodes = config.selectNodes( - "/struts-config/form-beans/form-bean"); - Element formBeanNode = null; - FormBean formBean = null; - for (Iterator nodes = formBeanNodes.iterator(); nodes.hasNext();) - { - formBeanNode = (Element) nodes.next(); - formBean = new FormBean(); - formBean.setClassName(formBeanNode.attributeValue("className")); - formBean.setName(formBeanNode.attributeValue("name")); - formBean.setType(formBeanNode.attributeValue("type")); - formBeans.add(formBean); - } - - return formBeans; - } - - /** retrieve the actions defined in the struts configuration file - * @return a {@link List] of {@link Action actions} - * @throws IOException when there are problems reading from the war - */ - public List getActions() throws IOException - { - List actions = new ArrayList(); - Document config = getStrutsConfig(); - List actionNodes = config.selectNodes( - "/struts-config/action-mappings/action"); - Element actionNode = null; - Action action = null; - for (Iterator nodes = actionNodes.iterator(); nodes.hasNext();) - { - actionNode = (Element) nodes.next(); - action = new Action(); - action.setClassName(actionNode.attributeValue("className")); - action.setName(actionNode.attributeValue("name")); - action.setPath(actionNode.attributeValue("path")); - action.setScope(actionNode.attributeValue("scope")); - action.setType(actionNode.attributeValue("type")); - action.setUnknown(actionNode.attributeValue("unknown")); - action.setValidate(actionNode.attributeValue("validate")); - actions.add(action); - } - return actions; - } - - /** retrieves the type attribute of the <form-beans> element if - * it exists, or null otherwise - * @return the form-bean type attribute - * @throws IOException when there are problems reading from the war - */ - public String getFormBeansType() throws IOException - { - String type = null; - Element formBeans = (Element) getStrutsConfig().selectSingleNode( - "/struts-config/form-beans"); - if (formBeans != null) - { - type = formBeans.attributeValue("type"); - } - return type; - } - - /** retrieves the type attribute of the <global-forwards> element if - * it exists, or null otherwise - * @return the global-forwards type attribute - * @throws IOException when there are problems reading from the war - */ - public String getGlobalForwardsType() throws IOException - { - String type = null; - Element forwards = (Element) getStrutsConfig().selectSingleNode( - "/struts-config/global-forwards"); - if (forwards != null) - { - type = forwards.attributeValue("type"); - } - return type; - } - - /** retrieve the global forwards defined in the struts configuration - * @return a {@link List} of {@link Forward forwards} - * @throws IOException when there are problems reading from the war - */ - public List getForwards() throws IOException - { - List forwards = new ArrayList(); - Document config = getStrutsConfig(); - List nodes = config.selectNodes( - "/struts-config/global-forwards/forward"); - Element element = null; - Forward forward = null; - for (int index = 0; index < nodes.size(); index++) - { - element = (Element) nodes.get(index); - forward = new Forward(); - forward.setName(element.attributeValue("name")); - forward.setPath(element.attributeValue("path")); - if (element.attribute("className") != null) - { - forward.setClassName(element.attributeValue("className")); - } - if (element.attribute("redirect") != null) - { - forward.setRedirect(element.attributeValue("redirect")); - } - forwards.add(forward); - } - - return forwards; - } - - /** retrieve the url pattern for the action servlet, or null if not found - * @return the <url-pattern> provided for the servlet named by - * {@link #getActionServletName} - * @throws IOException when there are problems reading from the war - */ - public String getActionServletPattern() throws IOException - { - return (String) getServletMappings().get(getActionServletName()); - } - - /** Getter for property actionServletName. - * @return Value of property actionServletName. - */ - public String getActionServletName() - { - return actionServletName; - } - - /** Setter for property actionServletName. - * @param actionServletName New value of property actionServletName. - */ - public void setActionServletName(String actionServletName) - { - if (actionServletName == null) - { - throw new NullPointerException("action servlet name can't be null"); - } - this.actionServletName = actionServletName; - } - - } diff --git a/struts/src/main/org/apache/maven/struts/Struts10WarValidator.java b/struts/src/main/org/apache/maven/struts/Struts10WarValidator.java deleted file mode 100644 index 13741e1c..00000000 --- a/struts/src/main/org/apache/maven/struts/Struts10WarValidator.java +++ /dev/null @@ -1,440 +0,0 @@ -package org.apache.maven.struts; - -/* ==================================================================== - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ==================================================================== - */ - -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.apache.commons.collections.CollectionUtils; -import org.apache.commons.lang.StringUtils; -import org.apache.maven.j2ee.WarClassLoader; -import org.apache.maven.j2ee.WarValidator; -import org.apache.regexp.RE; -import org.apache.regexp.RESyntaxException; - -/** - * A class that validates a Struts 1.0 War File. Specific validations performed - * are: - * - *
      - *
    1. - * Must pass validation as a 'standard' war file - *
    2. - *
    3. - * File has a struts configuration file - *
    4. - *
    5. - * <form-bean>s must have a valid type and - * className that exist in the war - *
    6. - *
    7. - * <action>s must have a valid type, className - * that exist in the war - *
    8. - *
    9. - * <action> names must refer to a <form-bean> in the - * struts configuraion - *
    10. - *
    11. - * <action> scope must be either request or - * session - *
    12. - *
    13. - * <action> unknown and validate must be - * true or false - *
    14. - *
    15. - * <global-forwards> type must be a class in the war - *
    16. - *
    17. - * <forward> redirect must be true or - * false - *
    18. - *
    19. - * <forward> path must refer to either a file in the war - * (e.g. a jsp), or an action defined in the struts configuration - *
    20. - *
    - * - * - * @version $Id$ - * @author dion - */ -public class Struts10WarValidator extends WarValidator -{ - //~ Instance variables ····················································· - - /** - * the location within the war of the Struts configuration file. By default - * this takes the value of the {@link Struts10WarFile#DEFAULT_CONFIG - * default config} - */ - private String config = Struts10WarFile.DEFAULT_CONFIG; - - //~ Constructors ··························································· - - /** - * Creates a new instance of Struts10WarValidator - */ - public Struts10WarValidator() - { - } - - //~ Methods ································································ - - /** - * Setter for config location within the war (no leading slash) - * - * @param config New value of property config. - */ - public void setConfig(String config) - { - this.config = config; - } - - /** - * Getter for Struts config location within the war (no leading slash). - * e.g. WEB-INF/struts-config.xml - * - * @return Value of property config. - */ - public String getConfig() - { - return config; - } - - /** - * Validate struts specific war features here - */ - protected void validateWarContents() - { - try - { - super.validateWarContents(); - - Struts10WarFile strutsWar = new Struts10WarFile(getWarFileName()); - strutsWar.setConfig(getConfig()); - validateStrutsConfig(strutsWar); - validateFormBeans(strutsWar); - validateActions(strutsWar); - validateForwards(strutsWar); - } - catch (IOException ioe) - { - ioe.printStackTrace(); - error("Error reading struts war file"); - } - } - - /** - * validate a string that must contain a boolean value or be null - * - * @param value the string to be validated - * - * @return true if the provided string is true, false or null - */ - private boolean isBoolean(String value) - { - return (value == null) || value.equals("true") || value.equals("false"); - } - - /** - * validate the provided action object - * - * @param action the action to be validated - * @param formBeans the form beans for the war that the actions came from - * @param loader a {@link ClassLoader} to verify classes are from the war - */ - private void validateAction(Action action, Map formBeans, - ClassLoader loader) - { - info("validating action for path: '" + action.getPath() + "'"); - - // className must be a loadable class - if (action.getClassName() != null) - { - validateClass(action.getClassName(), loader); - } - - // name must be the name of a form bean - if ((action.getName() != null) - && (formBeans.get(action.getName()) == null)) - { - error("action refers to a non-existent form bean: '" - + action.getName() + "'"); - } - - // path must start with a '/' - if (!action.getPath().startsWith("/")) - { - error("action path (" + action.getPath() + ") doesn't start " - + "with a '/'"); - } - - // scope if specified must be request or session - if ((action.getScope() != null) - && !(action.getScope().equals("request") - || action.getScope().equals("session"))) - { - error("scope (" + action.getScope() + ") is not 'request' or " - + "'session'"); - } - - // type must be a loadable class - if (action.getType() != null) - { - validateClass(action.getType(), loader); - } - - // unknown must be true, false or null - if (!isBoolean(action.getUnknown())) // true or false only - { - error("unknown attribute is not 'true' or 'false'"); - } - - // validate must be true, false or null - if (!isBoolean(action.getValidate())) // true or false only - { - error("validate attribute is not 'true' or 'false'"); - } - } - - /** - * validations for the actions in the config - * - * @param war the struts web app being validated - * - * @throws IOException when there are problems reading the war - */ - private void validateActions(Struts10WarFile war) throws IOException - { - info("validating Struts Actions"); - - List actions = war.getActions(); - Action action = null; - ClassLoader loader = new WarClassLoader(war, - getClass().getClassLoader()); - List formBeans = war.getFormBeans(); - Map formBeansByName = new HashMap(); - - // put form beans into a map to find them easier - FormBean formBean = null; - - for (int index = 0; index < formBeans.size(); index++) - { - formBean = (FormBean) formBeans.get(index); - formBeansByName.put(formBean.getName(), formBean); - } - - // check actions - for (int index = 0; index < actions.size(); index++) - { - action = (Action) actions.get(index); - - if (CollectionUtils.cardinality(action, actions) > 1) - { - error("action is a duplicate (by path)"); - } - - validateAction(action, formBeansByName, loader); - } // end for all actions - } // end method - - /** - * validations for the form beans in the config - * - * @param strutsWar - the struts web app being validated - * - * @throws IOException when there are problems reading the war - */ - private void validateFormBeans(Struts10WarFile strutsWar) throws IOException - { - info("validating Struts Form Beans"); - - List formBeans = strutsWar.getFormBeans(); - FormBean bean = null; - ClassLoader loader = new WarClassLoader(strutsWar, - getClass().getClassLoader()); - - if (strutsWar.getFormBeansType() != null) - { - validateClass(strutsWar.getFormBeansType(), loader); - } - - for (int index = 0; index < formBeans.size(); index++) - { - bean = (FormBean) formBeans.get(index); - - if (CollectionUtils.cardinality(bean, formBeans) > 1) - { - error("form bean is a duplicate (by name)"); - } - - info("validating form bean: '" + bean.getName() + "', class: '" - + bean.getType() + "'"); - validateClass(bean.getType(), loader); - - if (bean.getClassName() != null) - { - validateClass(bean.getClassName(), loader); - } - } - } - - /** - * Validate a single global forward. - * - * @param war the war file the forward is from - * @param forward the forward to be validated - * @param loader a class loader for validating classes are in the war - * - * @throws IOException when there are issues reading the war - * @throws IllegalStateException If the regular expression used to check - * that the forward matches the action servlet is malformed - */ - private void validateForward(Struts10WarFile war, Forward forward, - ClassLoader loader) throws IOException - { - // check className, if provided - if (forward.getClassName() != null) - { - validateClass(forward.getClassName(), loader); - } - - // check name - if (StringUtils.isEmpty(forward.getName())) - { - error("name attribute is required"); - } - - // check path - String path = forward.getPath(); - int queryStringStart = path.indexOf("?"); - - if (queryStringStart != -1) - { - path = path.substring(0, queryStringStart); - } - - if (!war.hasFile(path)) - { - try - { - // could be an action - check to see if it matches the pattern - // for action servlet, if it does, extract the action path, and - // make sure it's in the list of actions - String pattern = war.getActionServletPattern(); - - - // escape '.', as it has special meaning to regular exprs - pattern = StringUtils.replace(pattern, ".", "\\."); - - - // change * to (*) to group matching characters for access - pattern = StringUtils.replace(pattern, "*", "(.*)"); - - RE regexp = new RE(pattern); - - if (regexp.match(path)) - { - String actionPath = regexp.getParen(1); - Action dummyAction = new Action(); - dummyAction.setPath(actionPath); - - if (!war.getActions().contains(dummyAction)) - { - error("action path for forward (" + actionPath + ")" - + " not found"); - } - } - else - { - error("No action or web resource found for '" + path + "'"); - } - } - catch (RESyntaxException e) - { - throw new IllegalStateException( - "bad regular expression created" - + " from action servlet url-pattern in web.xml " - + e.getMessage()); - } - } - - // check redirect - if (!isBoolean(forward.getRedirect())) - { - error("redirect attribute is not 'true' or 'false'"); - } - } - - /** - * validate the global forwards in the configuration - * - * @param war the war file to be used for validating - * - * @throws IOException when there are problems reading the war - */ - private void validateForwards(Struts10WarFile war) throws IOException - { - info("validating global forwards"); - - ClassLoader loader = new WarClassLoader(war, - getClass().getClassLoader()); - - if (war.getGlobalForwardsType() != null) - { - validateClass(war.getGlobalForwardsType(), loader); - } - - List forwards = war.getForwards(); - Forward forward = null; - - for (int index = 0; index < forwards.size(); index++) - { - forward = (Forward) forwards.get(index); - info("validating forward '" + forward.getName() + "', path: '" - + forward.getPath() + "'"); - - if (CollectionUtils.cardinality(forward, forwards) > 1) - { - error("forward is a duplicate (by name)"); - } - - validateForward(war, forward, loader); - } - } - - /** - * validations for the struts configuration file - * - * @param strutsWar - the struts web app being validated - */ - private void validateStrutsConfig(Struts10WarFile strutsWar) - { - info("validating Struts Configuration"); - - if (strutsWar.getStrutsConfigEntry() == null) - { - error("Struts Configuration: '" + strutsWar.getConfig() - + "' not found in the war file"); - } - } -} // end class diff --git a/struts/src/main/org/apache/maven/struts/StrutsEntityResolver.java b/struts/src/main/org/apache/maven/struts/StrutsEntityResolver.java deleted file mode 100644 index 66a64e59..00000000 --- a/struts/src/main/org/apache/maven/struts/StrutsEntityResolver.java +++ /dev/null @@ -1,42 +0,0 @@ -package org.apache.maven.struts; - -/* ==================================================================== - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ==================================================================== - */ - -import org.apache.maven.j2ee.J2EEEntityResolver; - -/** - * A class to resolve external entity definitions for struts artifacts. - * - * @author dion - * @version $Id$ - */ -public class StrutsEntityResolver extends J2EEEntityResolver -{ - - /** Creates a new instance of StrutsEntityResolver, adding the - */ - public StrutsEntityResolver() - { - getIdToResource().put( - "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN", - "/plugin-resources/struts-config_1_0.dtd"); - getIdToResource().put( - "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN", - "/plugin-resources/struts-config_1_1.dtd"); - } -} diff --git a/struts/src/plugin-resources/struts-config_1_0.dtd b/struts/src/plugin-resources/struts-config_1_0.dtd deleted file mode 100644 index f3317d80..00000000 --- a/struts/src/plugin-resources/struts-config_1_0.dtd +++ /dev/null @@ -1,408 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/struts/src/plugin-resources/struts-config_1_1.dtd b/struts/src/plugin-resources/struts-config_1_1.dtd deleted file mode 100644 index 7d3762e9..00000000 --- a/struts/src/plugin-resources/struts-config_1_1.dtd +++ /dev/null @@ -1,575 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/struts/src/plugin-test/maven.xml b/struts/src/plugin-test/maven.xml deleted file mode 100644 index 36ed60b3..00000000 --- a/struts/src/plugin-test/maven.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/struts/src/plugin-test/project.properties b/struts/src/plugin-test/project.properties deleted file mode 100644 index 8e453eab..00000000 --- a/struts/src/plugin-test/project.properties +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -maven.war.manifest=${basedir}/src/MANIFEST.MF \ No newline at end of file diff --git a/struts/src/plugin-test/project.xml b/struts/src/plugin-test/project.xml deleted file mode 100644 index 6d145e7f..00000000 --- a/struts/src/plugin-test/project.xml +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - 3 - - - test-maven-struts-plugin - - - Test project for Maven Struts Plugin - - - 1.0 - - - - Apache Software Foundation - http://maven.apache.org/ - - - - 2004 - - - org.apache.maven.struts - - - A simple web app project - - - http://maven.apache.org/ - - - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/struts/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/struts/ - - - - - - - - - - - - commons-beanutils - commons-beanutils - 1.6.1 - true - - - commons-collections - commons-collections - 2.1 - true - - - commons-digester - commons-digester - 1.5 - true - - - commons-fileupload - commons-fileupload - 1.0 - true - - - commons-lang - commons-lang - 2.0 - true - - - commons-logging - commons-logging - 1.0.3 - http://jakarta.apache.org/commons/logging.html - true - - - commons-validator - commons-validator - 1.0.1 - true - - - oro - oro - 2.0.7 - true - - - struts - struts - 1.1 - true - - - servletapi - servletapi - 2.3 - true - - - - - - - src/java - - diff --git a/struts/src/plugin-test/src/MANIFEST.MF b/struts/src/plugin-test/src/MANIFEST.MF deleted file mode 100644 index 926781b9..00000000 --- a/struts/src/plugin-test/src/MANIFEST.MF +++ /dev/null @@ -1 +0,0 @@ -Bogus: value \ No newline at end of file diff --git a/struts/src/plugin-test/src/java/org/apache/maven/struts/ApplicationResources.properties b/struts/src/plugin-test/src/java/org/apache/maven/struts/ApplicationResources.properties deleted file mode 100644 index ec454a57..00000000 --- a/struts/src/plugin-test/src/java/org/apache/maven/struts/ApplicationResources.properties +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Resources for parameter 'org.apache.maven.struts.ApplicationResources' -# diff --git a/struts/src/plugin-test/src/java/org/apache/maven/struts/Nada.java b/struts/src/plugin-test/src/java/org/apache/maven/struts/Nada.java deleted file mode 100644 index 242124f6..00000000 --- a/struts/src/plugin-test/src/java/org/apache/maven/struts/Nada.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.maven.struts; - -import org.apache.struts.action.Action; -import org.apache.struts.action.ActionForm; -import org.apache.struts.action.ActionForward; -import org.apache.struts.action.ActionMapping; - -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -/** - * MyEclipse Struts - * Creation date: 07-17-2004 - * - * XDoclet definition: - * @struts:action scope="null" validate="true" - */ -public class Nada extends Action { - - // --------------------------------------------------------- Instance Variables - - // --------------------------------------------------------- Methods - - /** - * Method execute - * @param mapping - * @param form - * @param request - * @param response - * @return ActionForward - */ - public ActionForward execute( - ActionMapping mapping, - ActionForm form, - HttpServletRequest request, - HttpServletResponse response) { - - return mapping.findForward("page2"); - } - -} \ No newline at end of file diff --git a/struts/src/plugin-test/src/webapp/WEB-INF/struts-bean.tld b/struts/src/plugin-test/src/webapp/WEB-INF/struts-bean.tld deleted file mode 100644 index 7dfc6bda..00000000 --- a/struts/src/plugin-test/src/webapp/WEB-INF/struts-bean.tld +++ /dev/null @@ -1,382 +0,0 @@ - - - - - - - - - - -1.0 -1.1 -bean -http://jakarta.apache.org/struts/tags-bean - -cookie -org.apache.struts.taglib.bean.CookieTag -org.apache.struts.taglib.bean.CookieTei -empty - -id -true -false - - -multiple -false -true - - -name -true -true - - -value -false -true - - - -define -org.apache.struts.taglib.bean.DefineTag -org.apache.struts.taglib.bean.DefineTei -JSP - -id -true -false - - -name -false -true - - -property -false -true - - -scope -false -true - - -toScope -false -true - - -type -false -true - - -value -false -true - - - -header -org.apache.struts.taglib.bean.HeaderTag -org.apache.struts.taglib.bean.HeaderTei -empty - -id -true -false - - -multiple -false -true - - -name -true -true - - -value -false -true - - - -include -org.apache.struts.taglib.bean.IncludeTag -org.apache.struts.taglib.bean.IncludeTei -empty - -anchor -false -true - - -forward -false -true - - -href -false -true - - -id -true -false - - -name -false -true - - -page -false -true - - -transaction -false -true - - - -message -org.apache.struts.taglib.bean.MessageTag -empty - -arg0 -false -true - - -arg1 -false -true - - -arg2 -false -true - - -arg3 -false -true - - -arg4 -false -true - - -bundle -false -true - - -key -false -true - - -locale -false -true - - -name -false -true - - -property -false -true - - -scope -false -true - - - -page -org.apache.struts.taglib.bean.PageTag -org.apache.struts.taglib.bean.PageTei -empty - -id -true -false - - -property -true -true - - - -parameter -org.apache.struts.taglib.bean.ParameterTag -org.apache.struts.taglib.bean.ParameterTei -empty - -id -true -false - - -multiple -false -true - - -name -true -true - - -value -false -true - - - -resource -org.apache.struts.taglib.bean.ResourceTag -org.apache.struts.taglib.bean.ResourceTei -empty - -id -true -false - - -input -false -true - - -name -true -true - - - -size -org.apache.struts.taglib.bean.SizeTag -org.apache.struts.taglib.bean.SizeTei -empty - -collection -false -true - - -id -true -false - - -name -false -true - - -property -false -true - - -scope -false -true - - - -struts -org.apache.struts.taglib.bean.StrutsTag -org.apache.struts.taglib.bean.StrutsTei -empty - -id -true -false - - -formBean -false -true - - -forward -false -true - - -mapping -false -true - - - -write -org.apache.struts.taglib.bean.WriteTag -empty - -bundle -false -true - - -filter -false -true - - -format -false -true - - -formatKey -false -true - - -ignore -false -true - - -locale -false -true - - -name -true -true - - -property -false -true - - -scope -false -true - - - - - - diff --git a/struts/src/plugin-test/src/webapp/WEB-INF/struts-config.xml b/struts/src/plugin-test/src/webapp/WEB-INF/struts-config.xml deleted file mode 100644 index ad51f4be..00000000 --- a/struts/src/plugin-test/src/webapp/WEB-INF/struts-config.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/struts/src/plugin-test/src/webapp/WEB-INF/struts-html.tld b/struts/src/plugin-test/src/webapp/WEB-INF/struts-html.tld deleted file mode 100644 index 9087060d..00000000 --- a/struts/src/plugin-test/src/webapp/WEB-INF/struts-html.tld +++ /dev/null @@ -1,2972 +0,0 @@ - - - - - - - - - - -1.0 -1.1 -html -http://jakarta.apache.org/struts/tags-html - -base -org.apache.struts.taglib.html.BaseTag -empty - -target -false -true - - -server -false -true - - - -button -org.apache.struts.taglib.html.ButtonTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -cancel -org.apache.struts.taglib.html.CancelTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -checkbox -org.apache.struts.taglib.html.CheckboxTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -errors -org.apache.struts.taglib.html.ErrorsTag -empty - -bundle -false -true - - -locale -false -true - - -name -false -true - - -property -false -true - - - -file -org.apache.struts.taglib.html.FileTag - -accesskey -false -true - - -accept -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -maxlength -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -size -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -form -org.apache.struts.taglib.html.FormTag -JSP - -action -true -true - - -enctype -false -true - - -focus -false -true - - -focusIndex -false -true - - -method -false -true - - -name -false -true - - -onreset -false -true - - -onsubmit -false -true - - -scope -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -target -false -true - - -type -false -true - - - -frame -org.apache.struts.taglib.html.FrameTag - -action -false -true - - -anchor -false -true - - -forward -false -true - - -frameborder -false -true - - -frameName -false -true - - -href -false -true - - -longdesc -false -true - - -marginheight -false -true - - -marginwidth -false -true - - -name -false -true - - -noresize -false -true - - -page -false -true - - -paramId -false -true - - -paramName -false -true - - -paramProperty -false -true - - -paramScope -false -true - - -property -false -true - - -scope -false -true - - -scrolling -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -title -false -true - - -titleKey -false -true - - -transaction -false -true - - - -hidden -org.apache.struts.taglib.html.HiddenTag -empty - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -indexed -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - -write -false -true - - - -html -org.apache.struts.taglib.html.HtmlTag -JSP - -locale -false -true - - -xhtml -false -true - - - -image -org.apache.struts.taglib.html.ImageTag - -accesskey -false -true - - -align -false -true - - -alt -false -true - - -altKey -false -true - - -border -false -true - - -bundle -false -true - - -disabled -false -true - - -indexed -false -true - - -locale -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -page -false -true - - -pageKey -false -true - - -property -false -true - - -src -false -true - - -srcKey -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -img -org.apache.struts.taglib.html.ImgTag -empty - -align -false -true - - -alt -false -true - - -altKey -false -true - - -border -false -true - - -bundle -false -true - - -height -false -true - - -hspace -false -true - - -imageName -false -true - - -ismap -false -true - - -locale -false -true - - -lowsrc -false -true - - -name -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -paramId -false -true - - -page -false -true - - -pageKey -false -true - - -paramName -false -true - - -paramProperty -false -true - - -paramScope -false -true - - -property -false -true - - -scope -false -true - - -src -false -true - - -srcKey -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -title -false -true - - -titleKey -false -true - - -usemap -false -true - - -vspace -false -true - - -width -false -true - - - -javascript -org.apache.struts.taglib.html.JavascriptValidatorTag -empty - -cdata -false -true - - -dynamicJavascript -false -false - - -formName -false -true - - -method -false -true - - -page -false -true - - -src -false -true - - -staticJavascript -false -false - - -htmlComment -false -true - - - -link -org.apache.struts.taglib.html.LinkTag - -accesskey -false -true - - -action -false -true - - -anchor -false -true - - -forward -false -true - - -href -false -true - - -indexed -false -true - - -indexId -false -true - - -linkName -false -true - - -name -false -true - - -onblur -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -page -false -true - - -paramId -false -true - - -paramName -false -true - - -paramProperty -false -true - - -paramScope -false -true - - -property -false -true - - -scope -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -target -false -true - - -title -false -true - - -titleKey -false -true - - -transaction -false -true - - - -messages -org.apache.struts.taglib.html.MessagesTag -org.apache.struts.taglib.html.MessagesTei -JSP - -id -true -false - - -bundle -false -true - - -locale -false -true - - -name -false -true - - -property -false -true - - -header -false -true - - -footer -false -true - - -message -false -true - - - -multibox -org.apache.struts.taglib.html.MultiboxTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -option -org.apache.struts.taglib.html.OptionTag - -bundle -false -true - - -disabled -false -true - - -key -false -true - - -locale -false -true - - -style -false -true - - -styleId -false -true - - -styleClass -false -true - - -value -true -true - - - -options -org.apache.struts.taglib.html.OptionsTag -empty - -collection -false -true - - -filter -false -true - - -labelName -false -true - - -labelProperty -false -true - - -name -false -true - - -property -false -true - - -style -false -true - - -styleClass -false -true - - - -optionsCollection -org.apache.struts.taglib.html.OptionsCollectionTag -empty - -filter -false -true - - -label -false -true - - -name -false -true - - -property -false -true - - -style -false -true - - -styleClass -false -true - - -value -false -true - - - -password -org.apache.struts.taglib.html.PasswordTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -maxlength -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -readonly -false -true - - -redisplay -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -size -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -radio -org.apache.struts.taglib.html.RadioTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -property -true -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -true -true - - -idName -false -true - - - -reset -org.apache.struts.taglib.html.ResetTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -rewrite -org.apache.struts.taglib.html.RewriteTag -empty - -anchor -false -true - - -forward -false -true - - -href -false -true - - -name -false -true - - -page -false -true - - -paramId -false -true - - -paramName -false -true - - -paramProperty -false -true - - -paramScope -false -true - - -property -false -true - - -scope -false -true - - -transaction -false -true - - - -select -org.apache.struts.taglib.html.SelectTag -JSP - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -multiple -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -size -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -submit -org.apache.struts.taglib.html.SubmitTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -text -org.apache.struts.taglib.html.TextTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -maxlength -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -readonly -false -true - - -size -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -textarea -org.apache.struts.taglib.html.TextareaTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -cols -false -true - - -disabled -false -true - - -indexed -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -readonly -false -true - - -rows -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -xhtml -org.apache.struts.taglib.html.XhtmlTag -empty - - - diff --git a/struts/src/plugin-test/src/webapp/WEB-INF/struts-logic.tld b/struts/src/plugin-test/src/webapp/WEB-INF/struts-logic.tld deleted file mode 100644 index 1975973a..00000000 --- a/struts/src/plugin-test/src/webapp/WEB-INF/struts-logic.tld +++ /dev/null @@ -1,642 +0,0 @@ - - - - - - - - - -1.0 -1.1 -logic -http://jakarta.apache.org/struts/tags-logic - -empty -org.apache.struts.taglib.logic.EmptyTag -JSP - -name -false -true - - -property -false -true - - -scope -false -true - - - -equal -org.apache.struts.taglib.logic.EqualTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -forward -org.apache.struts.taglib.logic.ForwardTag -empty - -name -true -true - - - -greaterEqual -org.apache.struts.taglib.logic.GreaterEqualTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -greaterThan -org.apache.struts.taglib.logic.GreaterThanTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -iterate -org.apache.struts.taglib.logic.IterateTag -org.apache.struts.taglib.logic.IterateTei -JSP - -collection -false -true - - -id -true -false - - -indexId -false -false - - -length -false -true - - -name -false -true - - -offset -false -true - - -property -false -true - - -scope -false -true - - -type -false -true - - - -lessEqual -org.apache.struts.taglib.logic.LessEqualTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -lessThan -org.apache.struts.taglib.logic.LessThanTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -match -org.apache.struts.taglib.logic.MatchTag -JSP - -cookie -false -true - - -header -false -true - - -location -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -messagesNotPresent -org.apache.struts.taglib.logic.MessagesNotPresentTag -JSP - -name -false -true - - -property -false -true - - -message -false -true - - - -messagesPresent -org.apache.struts.taglib.logic.MessagesPresentTag -JSP - -name -false -true - - -property -false -true - - -message -false -true - - - -notEmpty -org.apache.struts.taglib.logic.NotEmptyTag -JSP - -name -false -true - - -property -false -true - - -scope -false -true - - - -notEqual -org.apache.struts.taglib.logic.NotEqualTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -notMatch -org.apache.struts.taglib.logic.NotMatchTag -JSP - -cookie -false -true - - -header -false -true - - -location -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -notPresent -org.apache.struts.taglib.logic.NotPresentTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -role -false -true - - -scope -false -true - - -user -false -true - - - -present -org.apache.struts.taglib.logic.PresentTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -role -false -true - - -scope -false -true - - -user -false -true - - - -redirect -org.apache.struts.taglib.logic.RedirectTag - -anchor -false -true - - -forward -false -true - - -href -false -true - - -name -false -true - - -page -false -true - - -paramId -false -true - - -paramName -false -true - - -paramProperty -false -true - - -paramScope -false -true - - -property -false -true - - -scope -false -true - - -transaction -false -true - - - - - - diff --git a/struts/src/plugin-test/src/webapp/WEB-INF/struts-nested.tld b/struts/src/plugin-test/src/webapp/WEB-INF/struts-nested.tld deleted file mode 100644 index 29bf7923..00000000 --- a/struts/src/plugin-test/src/webapp/WEB-INF/struts-nested.tld +++ /dev/null @@ -1,2870 +0,0 @@ - - - - - - - - - -1.0 -1.1 -nested -http://jakarta.apache.org/struts/tags-nested - -nest -org.apache.struts.taglib.nested.NestedPropertyTag -JSP - -property -false -true - - - -writeNesting -org.apache.struts.taglib.nested.NestedWriteNestingTag -JSP - -property -false -true - - -filter -false -true - - - -root -org.apache.struts.taglib.nested.NestedRootTag -JSP - -name -false -true - - - -define -org.apache.struts.taglib.nested.bean.NestedDefineTag -org.apache.struts.taglib.nested.bean.NestedDefineTei -empty - -id -true -true - - -name -false -true - - -property -false -true - - -scope -false -true - - -toScope -false -true - - -type -false -true - - -value -false -true - - - -message -org.apache.struts.taglib.nested.bean.NestedMessageTag -empty - -arg0 -false -true - - -arg1 -false -true - - -arg2 -false -true - - -arg3 -false -true - - -arg4 -false -true - - -bundle -false -true - - -key -false -true - - -locale -false -true - - -name -false -true - - -property -false -true - - -scope -false -true - - - -size -org.apache.struts.taglib.nested.bean.NestedSizeTag -org.apache.struts.taglib.bean.SizeTei -empty - -collection -false -true - - -id -true -true - - -name -false -true - - -property -false -true - - -scope -false -true - - - -write -org.apache.struts.taglib.nested.bean.NestedWriteTag -empty - -bundle -false -true - - -filter -false -true - - -format -false -true - - -formatKey -false -true - - -ignore -false -true - - -locale -false -true - - -name -false -true - - -property -false -true - - -scope -false -true - - - -checkbox -org.apache.struts.taglib.nested.html.NestedCheckboxTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -errors -org.apache.struts.taglib.nested.html.NestedErrorsTag -empty - -bundle -false -true - - -locale -false -true - - -name -false -true - - -property -false -true - - - -file -org.apache.struts.taglib.nested.html.NestedFileTag - -accesskey -false -true - - -accept -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -maxlength -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -size -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -form -org.apache.struts.taglib.nested.html.NestedFormTag -JSP - -action -true -true - - -enctype -false -true - - -focus -false -true - - -method -false -true - - -name -false -true - - -onreset -false -true - - -onsubmit -false -true - - -scope -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -target -false -true - - -type -false -true - - - -hidden -org.apache.struts.taglib.nested.html.NestedHiddenTag - -alt -false -true - - -altKey -false -true - - -indexed -false -true - - -name -false -true - - -property -true -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -image -org.apache.struts.taglib.nested.html.NestedImageTag - -accesskey -false -true - - -align -false -true - - -alt -false -true - - -altKey -false -true - - -border -false -true - - -bundle -false -true - - -disabled -false -true - - -indexed -false -true - - -locale -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -page -false -true - - -pageKey -false -true - - -property -false -true - - -src -false -true - - -srcKey -false -true - - -style -false -true - - -styleClass -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -img -org.apache.struts.taglib.nested.html.NestedImgTag -empty - -accesskey -false -true - - -align -false -true - - -alt -false -true - - -altKey -false -true - - -border -false -true - - -bundle -false -true - - -height -false -true - - -hspace -false -true - - -imageName -false -true - - -ismap -false -true - - -locale -false -true - - -lowsrc -false -true - - -name -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -paramId -false -true - - -page -false -true - - -pageKey -false -true - - -paramName -false -true - - -paramProperty -false -true - - -paramScope -false -true - - -property -false -true - - -scope -false -true - - -src -false -true - - -srcKey -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -title -false -true - - -titleKey -false -true - - -usemap -false -true - - -vspace -false -true - - -width -false -true - - - -link -org.apache.struts.taglib.nested.html.NestedLinkTag - -accesskey -false -true - - -action -false -true - - -anchor -false -true - - -forward -false -true - - -href -false -true - - -indexed -false -true - - -indexId -false -true - - -linkName -false -true - - -name -false -true - - -onblur -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -page -false -true - - -paramId -false -true - - -paramName -false -true - - -paramProperty -false -true - - -paramScope -false -true - - -property -false -true - - -scope -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -target -false -true - - -title -false -true - - -titleKey -false -true - - -transaction -false -true - - - -messages -org.apache.struts.taglib.nested.html.NestedMessagesTag -org.apache.struts.taglib.html.MessagesTei -JSP - -id -true -true - - -bundle -false -true - - -locale -false -true - - -name -false -true - - -property -false -true - - -header -false -true - - -footer -false -true - - -message -false -true - - - -multibox -org.apache.struts.taglib.nested.html.NestedMultiboxTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -options -org.apache.struts.taglib.nested.html.NestedOptionsTag -empty - -collection -false -true - - -labelName -false -true - - -labelProperty -false -true - - -name -false -true - - -property -false -true - - -style -false -true - - -styleClass -false -true - - - -optionsCollection -org.apache.struts.taglib.nested.html.NestedOptionsCollectionTag -empty - -label -false -true - - -name -false -true - - -property -true -true - - -style -false -true - - -styleClass -false -true - - -value -false -true - - - -password -org.apache.struts.taglib.nested.html.NestedPasswordTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -maxlength -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -readonly -false -true - - -redisplay -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -size -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -radio -org.apache.struts.taglib.nested.html.NestedRadioTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -property -true -true - - -onmousedown -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -true -true - - - -select -org.apache.struts.taglib.nested.html.NestedSelectTag -JSP - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -multiple -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -size -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -submit -org.apache.struts.taglib.nested.html.NestedSubmitTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -text -org.apache.struts.taglib.nested.html.NestedTextTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -disabled -false -true - - -indexed -false -true - - -maxlength -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -readonly -false -true - - -size -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -textarea -org.apache.struts.taglib.nested.html.NestedTextareaTag - -accesskey -false -true - - -alt -false -true - - -altKey -false -true - - -cols -false -true - - -disabled -false -true - - -indexed -false -true - - -name -false -true - - -onblur -false -true - - -onchange -false -true - - -onclick -false -true - - -ondblclick -false -true - - -onfocus -false -true - - -onkeydown -false -true - - -onkeypress -false -true - - -onkeyup -false -true - - -onmousedown -false -true - - -onmousemove -false -true - - -onmouseout -false -true - - -onmouseover -false -true - - -onmouseup -false -true - - -property -true -true - - -readonly -false -true - - -rows -false -true - - -style -false -true - - -styleClass -false -true - - -styleId -false -true - - -tabindex -false -true - - -title -false -true - - -titleKey -false -true - - -value -false -true - - - -empty -org.apache.struts.taglib.nested.logic.NestedEmptyTag -JSP - -name -false -true - - -property -false -true - - -scope -false -true - - - -equal -org.apache.struts.taglib.nested.logic.NestedEqualTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -greaterEqual -org.apache.struts.taglib.nested.logic.NestedGreaterEqualTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -greaterThan -org.apache.struts.taglib.nested.logic.NestedGreaterThanTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -iterate -org.apache.struts.taglib.nested.logic.NestedIterateTag -org.apache.struts.taglib.nested.logic.NestedIterateTei -JSP - -collection -false -true - - -id -false -true - - -indexId -false -true - - -length -false -true - - -name -false -true - - -offset -false -true - - -property -false -true - - -scope -false -true - - -type -false -true - - - -lessEqual -org.apache.struts.taglib.nested.logic.NestedLessEqualTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -lessThan -org.apache.struts.taglib.nested.logic.NestedLessThanTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -match -org.apache.struts.taglib.nested.logic.NestedMatchTag -JSP - -cookie -false -true - - -header -false -true - - -location -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -messagesNotPresent -org.apache.struts.taglib.nested.logic.NestedMessagesNotPresentTag -JSP - -name -false -true - - -property -false -true - - -message -false -true - - - -messagesPresent -org.apache.struts.taglib.nested.logic.NestedMessagesPresentTag -JSP - -name -false -true - - -property -false -true - - -message -false -true - - - -notEmpty -org.apache.struts.taglib.nested.logic.NestedNotEmptyTag -JSP - -name -false -true - - -property -false -true - - -scope -false -true - - - -notEqual -org.apache.struts.taglib.nested.logic.NestedNotEqualTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -notMatch -org.apache.struts.taglib.nested.logic.NestedNotMatchTag -JSP - -cookie -false -true - - -header -false -true - - -location -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -scope -false -true - - -value -true -true - - - -notPresent -org.apache.struts.taglib.nested.logic.NestedNotPresentTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -role -false -true - - -scope -false -true - - -user -false -true - - - -present -org.apache.struts.taglib.nested.logic.NestedPresentTag -JSP - -cookie -false -true - - -header -false -true - - -name -false -true - - -parameter -false -true - - -property -false -true - - -role -false -true - - -scope -false -true - - -user -false -true - - - - - - diff --git a/struts/src/plugin-test/src/webapp/WEB-INF/struts-template.tld b/struts/src/plugin-test/src/webapp/WEB-INF/struts-template.tld deleted file mode 100644 index f8fbe998..00000000 --- a/struts/src/plugin-test/src/webapp/WEB-INF/struts-template.tld +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - -1.0 -1.1 -template -http://jakarta.apache.org/struts/tags-template - -insert -org.apache.struts.taglib.template.InsertTag -JSP - -template -true -true - - - -put -org.apache.struts.taglib.template.PutTag -JSP - -name -true -true - - -role -false -true - - -content -false -true - - -direct -false -true - - - -get -org.apache.struts.taglib.template.GetTag -empty - -flush -false -true - - -name -true -true - - -role -false -true - - - - - - diff --git a/struts/src/plugin-test/src/webapp/WEB-INF/struts-tiles.tld b/struts/src/plugin-test/src/webapp/WEB-INF/struts-tiles.tld deleted file mode 100644 index e70d3ce5..00000000 --- a/struts/src/plugin-test/src/webapp/WEB-INF/struts-tiles.tld +++ /dev/null @@ -1,344 +0,0 @@ - - - - - - - - - - -1.0 -1.1 -tiles -http://jakarta.apache.org/struts/tags-tiles - -insert -org.apache.struts.taglib.tiles.InsertTag -JSP - -template -false -true - - -component -false -true - - -page -false -true - - -definition -false -true - - -attribute -false -false - - -name -false -true - - -beanName -false -true - - -beanProperty -false -true - - -beanScope -false -false - - -flush -false -false - - -ignore -false -true - - -role -false -true - - -controllerUrl -false -true - - -controllerClass -false -true - - - -definition -org.apache.struts.taglib.tiles.DefinitionTag -JSP - -id -true -false - - -scope -false -false - - -template -false -true - - -page -false -true - - -role -false -true - - -extends -false -true - - - -put -org.apache.struts.taglib.tiles.PutTag -JSP - -name -false -false - - -value -false -true - - -content -false -true - - -direct -false -false - - -type -false -false - - -beanName -false -true - - -beanProperty -false -true - - -beanScope -false -false - - -role -false -true - - - -putList -org.apache.struts.taglib.tiles.PutListTag -JSP - -name -true -false - - - -add -org.apache.struts.taglib.tiles.AddTag -JSP - -value -false -false - - -content -false -true - - -direct -false -false - - -type -false -false - - -beanName -false -true - - -beanProperty -false -true - - -beanScope -false -false - - -role -false -true - - - -get -org.apache.struts.taglib.tiles.GetTag -empty - -name -true -true - - -ignore -false -true - - -flush -false -false - - -role -false -true - - - -getAsString -org.apache.struts.taglib.tiles.GetAttributeTag -empty - -name -true -true - - -ignore -false -true - - -role -false -true - - - -useAttribute -org.apache.struts.taglib.tiles.UseAttributeTag -org.apache.struts.taglib.tiles.UseAttributeTei -empty - -id -false -false - - -classname -false -false - - -scope -false -false - - -name -true -true - - -ignore -false -true - - - -importAttribute -org.apache.struts.taglib.tiles.ImportAttributeTag -empty - -name -false -true - - -scope -false -false - - -ignore -false -true - - - -initComponentDefinitions -org.apache.struts.taglib.tiles.InitDefinitionsTag -empty - -file -true -false - - -classname -false -false - - - - - - diff --git a/struts/src/plugin-test/src/webapp/WEB-INF/validator-rules.xml b/struts/src/plugin-test/src/webapp/WEB-INF/validator-rules.xml deleted file mode 100644 index de8e3faf..00000000 --- a/struts/src/plugin-test/src/webapp/WEB-INF/validator-rules.xml +++ /dev/null @@ -1,1044 +0,0 @@ - - - - - - - - - - = 0) { - value = field.options[si].value; - } - } else { - value = field.value; - } - - if (trim(value).length == 0) { - - if (i == 0) { - focusField = field; - } - fields[i++] = oRequired[x][1]; - isValid = false; - } - } - } - if (fields.length > 0) { - focusField.focus(); - alert(fields.join('\n')); - } - return isValid; - } - - // Trim whitespace from left and right sides of s. - function trim(s) { - return s.replace( /^\s*/, "" ).replace( /\s*$/, "" ); - } - - ]]> - - - - - - - - - - 0) && (field.value.length < iMin)) { - if (i == 0) { - focusField = field; - } - fields[i++] = oMinLength[x][1]; - isValid = false; - } - } - } - if (fields.length > 0) { - focusField.focus(); - alert(fields.join('\n')); - } - return isValid; - }]]> - - - - - - - - iMax) { - if (i == 0) { - focusField = field; - } - fields[i++] = oMaxLength[x][1]; - isValid = false; - } - } - } - if (fields.length > 0) { - focusField.focus(); - alert(fields.join('\n')); - } - return isValid; - }]]> - - - - - - - - 0)) { - - if (!matchPattern(field.value, oMasked[x][2]("mask"))) { - if (i == 0) { - focusField = field; - } - fields[i++] = oMasked[x][1]; - isValid = false; - } - } - } - - if (fields.length > 0) { - focusField.focus(); - alert(fields.join('\n')); - } - return isValid; - } - - function matchPattern(value, mask) { - return mask.exec(value); - }]]> - - - - - - - - = 0) { - value = field.options[si].value; - } - } else { - value = field.value; - } - - if (value.length > 0) { - if (!isAllDigits(value)) { - bValid = false; - if (i == 0) { - focusField = field; - } - fields[i++] = oByte[x][1]; - - } else { - - var iValue = parseInt(value); - if (isNaN(iValue) || !(iValue >= -128 && iValue <= 127)) { - if (i == 0) { - focusField = field; - } - fields[i++] = oByte[x][1]; - bValid = false; - } - } - } - - } - } - if (fields.length > 0) { - focusField.focus(); - alert(fields.join('\n')); - } - return bValid; - }]]> - - - - - - - - = 0) { - value = field.options[si].value; - } - } else { - value = field.value; - } - - if (value.length > 0) { - if (!isAllDigits(value)) { - bValid = false; - if (i == 0) { - focusField = field; - } - fields[i++] = oShort[x][1]; - - } else { - - var iValue = parseInt(value); - if (isNaN(iValue) || !(iValue >= -32768 && iValue <= 32767)) { - if (i == 0) { - focusField = field; - } - fields[i++] = oShort[x][1]; - bValid = false; - } - } - } - } - } - if (fields.length > 0) { - focusField.focus(); - alert(fields.join('\n')); - } - return bValid; - }]]> - - - - - - - - = 0) { - value = field.options[si].value; - } - } else { - value = field.value; - } - - if (value.length > 0) { - - if (!isAllDigits(value)) { - bValid = false; - if (i == 0) { - focusField = field; - } - fields[i++] = oInteger[x][1]; - - } else { - var iValue = parseInt(value); - if (isNaN(iValue) || !(iValue >= -2147483648 && iValue <= 2147483647)) { - if (i == 0) { - focusField = field; - } - fields[i++] = oInteger[x][1]; - bValid = false; - } - } - } - } - } - if (fields.length > 0) { - focusField.focus(); - alert(fields.join('\n')); - } - return bValid; - } - - function isAllDigits(argvalue) { - argvalue = argvalue.toString(); - var validChars = "0123456789"; - var startFrom = 0; - if (argvalue.substring(0, 2) == "0x") { - validChars = "0123456789abcdefABCDEF"; - startFrom = 2; - } else if (argvalue.charAt(0) == "0") { - validChars = "01234567"; - startFrom = 1; - } else if (argvalue.charAt(0) == "-") { - startFrom = 1; - } - - for (var n = startFrom; n < argvalue.length; n++) { - if (validChars.indexOf(argvalue.substring(n, n+1)) == -1) return false; - } - return true; - }]]> - - - - - - - - - - - = 0) { - value = field.options[si].value; - } - } else { - value = field.value; - } - - if (value.length > 0) { - // remove '.' before checking digits - var tempArray = value.split('.'); - var joinedString= tempArray.join(''); - - if (!isAllDigits(joinedString)) { - bValid = false; - if (i == 0) { - focusField = field; - } - fields[i++] = oFloat[x][1]; - - } else { - var iValue = parseFloat(value); - if (isNaN(iValue)) { - if (i == 0) { - focusField = field; - } - fields[i++] = oFloat[x][1]; - bValid = false; - } - } - } - } - } - if (fields.length > 0) { - focusField.focus(); - alert(fields.join('\n')); - } - return bValid; - }]]> - - - - - - - - - - - 0) && - (datePattern.length > 0)) { - var MONTH = "MM"; - var DAY = "dd"; - var YEAR = "yyyy"; - var orderMonth = datePattern.indexOf(MONTH); - var orderDay = datePattern.indexOf(DAY); - var orderYear = datePattern.indexOf(YEAR); - if ((orderDay < orderYear && orderDay > orderMonth)) { - var iDelim1 = orderMonth + MONTH.length; - var iDelim2 = orderDay + DAY.length; - var delim1 = datePattern.substring(iDelim1, iDelim1 + 1); - var delim2 = datePattern.substring(iDelim2, iDelim2 + 1); - if (iDelim1 == orderDay && iDelim2 == orderYear) { - dateRegexp = new RegExp("^(\\d{2})(\\d{2})(\\d{4})$"); - } else if (iDelim1 == orderDay) { - dateRegexp = new RegExp("^(\\d{2})(\\d{2})[" + delim2 + "](\\d{4})$"); - } else if (iDelim2 == orderYear) { - dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})(\\d{4})$"); - } else { - dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})[" + delim2 + "](\\d{4})$"); - } - var matched = dateRegexp.exec(value); - if(matched != null) { - if (!isValidDate(matched[2], matched[1], matched[3])) { - if (i == 0) { - focusField = form[oDate[x][0]]; - } - fields[i++] = oDate[x][1]; - bValid = false; - } - } else { - if (i == 0) { - focusField = form[oDate[x][0]]; - } - fields[i++] = oDate[x][1]; - bValid = false; - } - } else if ((orderMonth < orderYear && orderMonth > orderDay)) { - var iDelim1 = orderDay + DAY.length; - var iDelim2 = orderMonth + MONTH.length; - var delim1 = datePattern.substring(iDelim1, iDelim1 + 1); - var delim2 = datePattern.substring(iDelim2, iDelim2 + 1); - if (iDelim1 == orderMonth && iDelim2 == orderYear) { - dateRegexp = new RegExp("^(\\d{2})(\\d{2})(\\d{4})$"); - } else if (iDelim1 == orderMonth) { - dateRegexp = new RegExp("^(\\d{2})(\\d{2})[" + delim2 + "](\\d{4})$"); - } else if (iDelim2 == orderYear) { - dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})(\\d{4})$"); - } else { - dateRegexp = new RegExp("^(\\d{2})[" + delim1 + "](\\d{2})[" + delim2 + "](\\d{4})$"); - } - var matched = dateRegexp.exec(value); - if(matched != null) { - if (!isValidDate(matched[1], matched[2], matched[3])) { - if (i == 0) { - focusField = form[oDate[x][0]]; - } - fields[i++] = oDate[x][1]; - bValid = false; - } - } else { - if (i == 0) { - focusField = form[oDate[x][0]]; - } - fields[i++] = oDate[x][1]; - bValid = false; - } - } else if ((orderMonth > orderYear && orderMonth < orderDay)) { - var iDelim1 = orderYear + YEAR.length; - var iDelim2 = orderMonth + MONTH.length; - var delim1 = datePattern.substring(iDelim1, iDelim1 + 1); - var delim2 = datePattern.substring(iDelim2, iDelim2 + 1); - if (iDelim1 == orderMonth && iDelim2 == orderDay) { - dateRegexp = new RegExp("^(\\d{4})(\\d{2})(\\d{2})$"); - } else if (iDelim1 == orderMonth) { - dateRegexp = new RegExp("^(\\d{4})(\\d{2})[" + delim2 + "](\\d{2})$"); - } else if (iDelim2 == orderDay) { - dateRegexp = new RegExp("^(\\d{4})[" + delim1 + "](\\d{2})(\\d{2})$"); - } else { - dateRegexp = new RegExp("^(\\d{4})[" + delim1 + "](\\d{2})[" + delim2 + "](\\d{2})$"); - } - var matched = dateRegexp.exec(value); - if(matched != null) { - if (!isValidDate(matched[3], matched[2], matched[1])) { - if (i == 0) { - focusField = form[oDate[x][0]]; - } - fields[i++] = oDate[x][1]; - bValid = false; - } - } else { - if (i == 0) { - focusField = form[oDate[x][0]]; - } - fields[i++] = oDate[x][1]; - bValid = false; - } - } else { - if (i == 0) { - focusField = form[oDate[x][0]]; - } - fields[i++] = oDate[x][1]; - bValid = false; - } - } - } - if (fields.length > 0) { - focusField.focus(); - alert(fields.join('\n')); - } - return bValid; - } - - function isValidDate(day, month, year) { - if (month < 1 || month > 12) { - return false; - } - if (day < 1 || day > 31) { - return false; - } - if ((month == 4 || month == 6 || month == 9 || month == 11) && - (day == 31)) { - return false; - } - if (month == 2) { - var leap = (year % 4 == 0 && - (year % 100 != 0 || year % 400 == 0)); - if (day>29 || (day == 29 && !leap)) { - return false; - } - } - return true; - }]]> - - - - - - - - - - - - - - - 0)) { - - var iMin = parseInt(oRange[x][2]("min")); - var iMax = parseInt(oRange[x][2]("max")); - var iValue = parseInt(field.value); - if (!(iValue >= iMin && iValue <= iMax)) { - if (i == 0) { - focusField = field; - } - fields[i++] = oRange[x][1]; - isValid = false; - } - } - } - if (fields.length > 0) { - focusField.focus(); - alert(fields.join('\n')); - } - return isValid; - }]]> - - - - - - - 0)) { - - var fMin = parseFloat(oRange[x][2]("min")); - var fMax = parseFloat(oRange[x][2]("max")); - var fValue = parseFloat(field.value); - if (!(fValue >= fMin && fValue <= fMax)) { - if (i == 0) { - focusField = field; - } - fields[i++] = oRange[x][1]; - isValid = false; - } - } - } - if (fields.length > 0) { - focusField.focus(); - alert(fields.join('\n')); - } - return isValid; - }]]> - - - - - - - 0)) { - if (!luhnCheck(form[oCreditCard[x][0]].value)) { - if (i == 0) { - focusField = form[oCreditCard[x][0]]; - } - fields[i++] = oCreditCard[x][1]; - bValid = false; - } - } - } - if (fields.length > 0) { - focusField.focus(); - alert(fields.join('\n')); - } - return bValid; - } - - /** - * Reference: http://www.ling.nwu.edu/~sburke/pub/luhn_lib.pl - */ - function luhnCheck(cardNumber) { - if (isLuhnNum(cardNumber)) { - var no_digit = cardNumber.length; - var oddoeven = no_digit & 1; - var sum = 0; - for (var count = 0; count < no_digit; count++) { - var digit = parseInt(cardNumber.charAt(count)); - if (!((count & 1) ^ oddoeven)) { - digit *= 2; - if (digit > 9) digit -= 9; - }; - sum += digit; - }; - if (sum == 0) return false; - if (sum % 10 == 0) return true; - }; - return false; - } - - function isLuhnNum(argvalue) { - argvalue = argvalue.toString(); - if (argvalue.length == 0) { - return false; - } - for (var n = 0; n < argvalue.length; n++) { - if ((argvalue.substring(n, n+1) < "0") || - (argvalue.substring(n,n+1) > "9")) { - return false; - } - } - return true; - }]]> - - - - - - - - 0)) { - if (!checkEmail(form[oEmail[x][0]].value)) { - if (i == 0) { - focusField = form[oEmail[x][0]]; - } - fields[i++] = oEmail[x][1]; - bValid = false; - } - } - } - if (fields.length > 0) { - focusField.focus(); - alert(fields.join('\n')); - } - return bValid; - } - - /** - * Reference: Sandeep V. Tamhankar (stamhankar@hotmail.com), - * http://javascript.internet.com - */ - function checkEmail(emailStr) { - if (emailStr.length == 0) { - return true; - } - var emailPat=/^(.+)@(.+)$/; - var specialChars="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]"; - var validChars="\[^\\s" + specialChars + "\]"; - var quotedUser="(\"[^\"]*\")"; - var ipDomainPat=/^(\d{1,3})[.](\d{1,3})[.](\d{1,3})[.](\d{1,3})$/; - var atom=validChars + '+'; - var word="(" + atom + "|" + quotedUser + ")"; - var userPat=new RegExp("^" + word + "(\\." + word + ")*$"); - var domainPat=new RegExp("^" + atom + "(\\." + atom + ")*$"); - var matchArray=emailStr.match(emailPat); - if (matchArray == null) { - return false; - } - var user=matchArray[1]; - var domain=matchArray[2]; - if (user.match(userPat) == null) { - return false; - } - var IPArray = domain.match(ipDomainPat); - if (IPArray != null) { - for (var i = 1; i <= 4; i++) { - if (IPArray[i] > 255) { - return false; - } - } - return true; - } - var domainArray=domain.match(domainPat); - if (domainArray == null) { - return false; - } - var atomPat=new RegExp(atom,"g"); - var domArr=domain.match(atomPat); - var len=domArr.length; - if ((domArr[domArr.length-1].length < 2) || - (domArr[domArr.length-1].length > 3)) { - return false; - } - if (len < 2) { - return false; - } - return true; - }]]> - - - - - - - diff --git a/struts/src/plugin-test/src/webapp/WEB-INF/web.xml b/struts/src/plugin-test/src/webapp/WEB-INF/web.xml deleted file mode 100644 index 98335d80..00000000 --- a/struts/src/plugin-test/src/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - action - org.apache.struts.action.ActionServlet - - config - /WEB-INF/struts-config.xml - - - debug - 3 - - - detail - 3 - - 0 - - - action - *.do - - - index.jsp - - - diff --git a/struts/src/plugin-test/src/webapp/index.html b/struts/src/plugin-test/src/webapp/index.html deleted file mode 100644 index 71af9dd6..00000000 --- a/struts/src/plugin-test/src/webapp/index.html +++ /dev/null @@ -1,25 +0,0 @@ - - - -

    Simple WebApp Home

    -

    - This is a html page for Simple Web App -

    - - \ No newline at end of file diff --git a/struts/src/plugin-test/src/webapp/index.jsp b/struts/src/plugin-test/src/webapp/index.jsp deleted file mode 100644 index 63db4184..00000000 --- a/struts/src/plugin-test/src/webapp/index.jsp +++ /dev/null @@ -1,46 +0,0 @@ - - -<%@ page language="java"%> - -<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %> -<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %> -<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %> -<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %> -<%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %> -<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %> - - - - - - - index.jsp - - - - - - - - - - -

    Please Click me

    - -
    diff --git a/struts/src/plugin-test/src/webapp/page2.jsp b/struts/src/plugin-test/src/webapp/page2.jsp deleted file mode 100644 index 9faf9009..00000000 --- a/struts/src/plugin-test/src/webapp/page2.jsp +++ /dev/null @@ -1,47 +0,0 @@ - - -<%@ page language="java" import="java.lang.*,java.util.*" %> -<% -String path = request.getContextPath(); -String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; -%> - - - - - - - My JSP 'page2.jsp' starting page - - - - - - - - - - - - - This is my JSP page.
    - - diff --git a/struts/src/test-resources/struts/struts-example.war b/struts/src/test-resources/struts/struts-example.war deleted file mode 100644 index 223879e1..00000000 Binary files a/struts/src/test-resources/struts/struts-example.war and /dev/null differ diff --git a/struts/src/test/org/apache/maven/struts/ActionTest.java b/struts/src/test/org/apache/maven/struts/ActionTest.java deleted file mode 100644 index 17807d9d..00000000 --- a/struts/src/test/org/apache/maven/struts/ActionTest.java +++ /dev/null @@ -1,147 +0,0 @@ -package org.apache.maven.struts; - -/* ==================================================================== - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ==================================================================== - */ - -import junit.framework.TestCase; - -/** - * Unit tests for {@link Action} - * @author dion - * @version $Id$ - */ -public class ActionTest extends TestCase -{ - /** the instance being tested */ - private Action instance; - - /** Creates a new instance of ActionTest - * @param testName the name of the test - */ - public ActionTest(String testName) - { - super(testName); - } - - /** - * Initialize per test data - * @throws Exception when there is an unexpected problem - */ - public void setUp() throws Exception - { - instance = new Action(); - } - - /** test the constructor sets all properties to null - * @throws Exception when any error occurs - */ - public void testConstructor() throws Exception - { - assertNotNull("Instance wasn't created", instance); - assertNull("ClassName property isn't null", instance.getClassName()); - assertNull("Name property isn't null", instance.getName()); - assertNull("Scope property isn't null", instance.getScope()); - assertNull("Type property isn't null", instance.getType()); - assertNull("Unknown property isn't null", instance.getUnknown()); - assertNull("Validate property isn't null", instance.getValidate()); - } - - /** test the className property is working - * @throws Exception when any error occurs - */ - public void testClassName() throws Exception - { - testConstructor(); - String className = "dummyClassName"; - instance.setClassName(className); - assertEquals("ClassName property setter or getter failed", className, - instance.getClassName()); - } - - /** test the name property is working - * @throws Exception when any error occurs - */ - public void testName() throws Exception - { - testConstructor(); - String name = "dummyName"; - instance.setName(name); - assertEquals("Name property setter or getter failed", name, - instance.getName()); - } - - /** test the name property is working - * @throws Exception when any error occurs - */ - public void testPath() throws Exception - { - testConstructor(); - String path = "/dummy"; - instance.setPath(path); - assertEquals("Path property setter or getter failed", path, - instance.getPath()); - } - - /** test the scope property is working - * @throws Exception when any error occurs - */ - public void testScope() throws Exception - { - testConstructor(); - String scope = "dummyScope"; - instance.setScope(scope); - assertEquals("Scope property setter or getter failed", scope, - instance.getScope()); - } - - /** test the type property is working - * @throws Exception when any error occurs - */ - public void testType() throws Exception - { - testConstructor(); - String type = "dummyType"; - instance.setType(type); - assertEquals("Type property setter or getter failed", type, - instance.getType()); - } - - /** test the unknown property is working - * @throws Exception when any error occurs - */ - public void testUnknown() throws Exception - { - testConstructor(); - String unknown = "true"; - instance.setUnknown(unknown); - assertEquals("Unknown property setter or getter failed", unknown, - instance.getUnknown()); - } - - /** test the unknown property is working - * @throws Exception when any error occurs - */ - public void testValidate() throws Exception - { - testConstructor(); - String validate = "true"; - instance.setValidate(validate); - assertEquals("Validate property setter or getter failed", validate, - instance.getValidate()); - } - -} diff --git a/struts/src/test/org/apache/maven/struts/FormBeanTest.java b/struts/src/test/org/apache/maven/struts/FormBeanTest.java deleted file mode 100644 index 41b1d860..00000000 --- a/struts/src/test/org/apache/maven/struts/FormBeanTest.java +++ /dev/null @@ -1,98 +0,0 @@ -package org.apache.maven.struts; - -/* ==================================================================== - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ==================================================================== - */ - -import junit.framework.TestCase; - -/** - * Unit tests for {@link FormBean} - * @author dion - * @version $Id$ - */ -public class FormBeanTest extends TestCase -{ - /** the instance being tested */ - private FormBean instance; - - /** Creates a new instance of FormBeanTest - * @param testName the name of the test - */ - public FormBeanTest(String testName) - { - super(testName); - } - - /** - * Initialize per test data - * @throws Exception when there is an unexpected problem - */ - public void setUp() throws Exception - { - instance = new FormBean(); - } - - /** test the constructor sets all properties to null - * @throws Exception when any error occurs - */ - public void testConstructor() throws Exception - { - assertNotNull("Instance wasn't created", instance); - assertNull("ClassName property isn't null", instance.getClassName()); - assertNull("Name property isn't null", instance.getName()); - assertNull("Type property isn't null", instance.getType()); - } - - /** test the className property is working - * @throws Exception when any error occurs - */ - public void testClassName() throws Exception - { - assertNotNull("Instance wasn't created", instance); - assertNull("ClassName property isn't null", instance.getClassName()); - String className = "dummyClassName"; - instance.setClassName(className); - assertEquals("ClassName property setter or getter failed", className, - instance.getClassName()); - } - - /** test the name property is working - * @throws Exception when any error occurs - */ - public void testName() throws Exception - { - assertNotNull("Instance wasn't created", instance); - assertNull("Name property isn't null", instance.getName()); - String name = "dummyName"; - instance.setName(name); - assertEquals("Name property setter or getter failed", name, - instance.getName()); - } - - /** test the type property is working - * @throws Exception when any error occurs - */ - public void testType() throws Exception - { - assertNotNull("Instance wasn't created", instance); - assertNull("Type property isn't null", instance.getType()); - String type = "dummyType"; - instance.setType(type); - assertEquals("Type property setter or getter failed", type, - instance.getType()); - } -} diff --git a/struts/src/test/org/apache/maven/struts/ForwardTest.java b/struts/src/test/org/apache/maven/struts/ForwardTest.java deleted file mode 100644 index 57456de6..00000000 --- a/struts/src/test/org/apache/maven/struts/ForwardTest.java +++ /dev/null @@ -1,105 +0,0 @@ -package org.apache.maven.struts; - -/* ==================================================================== - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ==================================================================== - */ - -import junit.framework.TestCase; - -/** - * Unit tests for the {@link Forward} class - * - * @author dion - * @version $Id$ - */ -public class ForwardTest extends TestCase -{ - /** the instance being tested */ - private Forward instance; - - /** Creates a new instance of Struts10WarFileTest - * @param testName the name of the test - */ - public ForwardTest(String testName) - { - super(testName); - } - - /** - * Initialize per test data - * @throws Exception when there is an unexpected problem - */ - public void setUp() throws Exception - { - instance = new Forward(); - } - - /** test the constructor - * @throws Exception when there is an unexpected problem - */ - public void testConstructor() throws Exception - { - assertNotNull("instance not created", instance); - assertNull("name property is not null", instance.getName()); - assertNull("className property is not null", instance.getClassName()); - assertNull("path property is not null", instance.getPath()); - assertNull("redirect property is not null", instance.getRedirect()); - } - - /** test the name property - * @throws Exception when there is an unexpected problem - */ - public void testName() throws Exception - { - testConstructor(); - String dummy = "dummyName"; - instance.setName(dummy); - assertEquals("set or get failed", dummy, instance.getName()); - } - - /** test the class name property - * @throws Exception when there is an unexpected problem - */ - public void testClassName() throws Exception - { - testConstructor(); - String dummy = "dummyClassName"; - instance.setClassName(dummy); - assertEquals("set or get failed", dummy, instance.getClassName()); - } - - /** test the path property - * @throws Exception when there is an unexpected problem - */ - public void testPath() throws Exception - { - testConstructor(); - String dummy = "dummyPath"; - instance.setPath(dummy); - assertEquals("set or get failed", dummy, instance.getPath()); - } - - /** test the redirect property - * @throws Exception when there is an unexpected problem - */ - public void testRedirect() throws Exception - { - testConstructor(); - String dummy = "dummyRedirect"; - instance.setRedirect(dummy); - assertEquals("set or get failed", dummy, instance.getRedirect()); - } -} diff --git a/struts/src/test/org/apache/maven/struts/Struts10WarFileTest.java b/struts/src/test/org/apache/maven/struts/Struts10WarFileTest.java deleted file mode 100644 index 1edba31a..00000000 --- a/struts/src/test/org/apache/maven/struts/Struts10WarFileTest.java +++ /dev/null @@ -1,196 +0,0 @@ -package org.apache.maven.struts; - -/* ==================================================================== - * Copyright 2001-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ==================================================================== - */ - -import java.io.IOException; -import java.util.List; - -import junit.framework.TestCase; - -/** - * Unit tests for {@link Struts10WarFile} - * - * @author dion - * @version $Id$ - */ -public class Struts10WarFileTest extends TestCase { - - /** instance to be tested */ - private Struts10WarFile instance; - /** test war file */ - private String testWarFileName; - - /** Creates a new instance of Struts10WarFileTest - * @param testName the name of the test - */ - public Struts10WarFileTest(java.lang.String testName) { - super(testName); - } - - /** - * Initialize per test data - * @throws Exception when there is an unexpected problem - */ - public void setUp() throws Exception - { - String baseDir = System.getProperty("basedir"); - assertNotNull("The system property basedir was not defined.", baseDir); - testWarFileName = baseDir + "/src/test-resources/struts/struts-example.war"; - } - - /** Test that the constructor succeeds - * @throws Exception when there is an unexpected problem - */ - public void testConstructor() throws Exception - { - instance = new Struts10WarFile(testWarFileName); - } - - /** test that the config is defaulted correctly - * @throws Exception when there is an unexpected problem - */ - public void testDefaultConfig() throws Exception - { - testConstructor(); - assertEquals("Default config isn't WEB-INF/struts-config.xml", - Struts10WarFile.DEFAULT_CONFIG, - instance.getConfig()); - } - - /** test the the config property works - * @throws Exception when there is an unexpected problem - */ - public void testConfig() throws Exception - { - testDefaultConfig(); - String dummyConfig = "WEB-INF/struts.xml"; - instance.setConfig(dummyConfig); - assertEquals("Set or get for config failed", dummyConfig, - instance.getConfig()); - } - - /** test retrieving the struts config as a JarEntry - * @throws Exception when there is an unexpected problem - */ - public void testConfigEntry() throws Exception - { - testConstructor(); - assertNotNull("config entry was null", instance.getStrutsConfigEntry()); - } - - /** test the retrieval of form beans - * @throws Exception when there is an unexpected problem - */ - public void testFormBeans() throws Exception - { - testConstructor(); - assertEquals("Number of form beans returned was wrong", 3, - instance.getFormBeans().size()); - List formBeans = instance.getFormBeans(); - assertEquals("first form bean isn't logonForm", "logonForm", - ((FormBean)formBeans.get(0)).getName()); - assertEquals("second form bean isn't registrationForm", - "registrationForm", - ((FormBean)formBeans.get(1)).getName()); - assertEquals("third form bean isn't subscriptionForm", - "subscriptionForm", - ((FormBean)formBeans.get(2)).getName()); - assertEquals("form beans type is not default", - "org.apache.struts.action.ActionFormBean", - instance.getFormBeansType()); - } - - /** test the retrieval of actions - * @throws Exception when there is an unexpected problem - */ - public void testActions() throws Exception - { - testConstructor(); - assertEquals("Number of actions returned was wrong", 14, - instance.getActions().size()); - List actions = instance.getActions(); - String[] types = new String[] - { - "org.apache.struts.webapp.example.EditRegistrationAction", - "org.apache.struts.webapp.example.EditSubscriptionAction", - "org.apache.struts.webapp.example.LogoffAction", - "org.apache.struts.webapp.example.LogonAction", - "org.apache.struts.webapp.example.SaveRegistrationAction", - "org.apache.struts.webapp.example.SaveSubscriptionAction", - null, - "org.apache.struts.actions.AddFormBeanAction", - "org.apache.struts.actions.AddForwardAction", - "org.apache.struts.actions.AddMappingAction", - "org.apache.struts.actions.ReloadAction", - "org.apache.struts.actions.RemoveFormBeanAction", - "org.apache.struts.actions.RemoveForwardAction", - "org.apache.struts.actions.RemoveMappingAction" - }; - for (int index = 0; index < types.length; index++) - { - assertEquals("action number " + index + " isn't " + types[index], - types[index], ((Action) actions.get(index)).getType()); - } - } - - /** test the forwards - * @throws Exception when there is an unexpected problem - */ - public void testForwards() throws Exception - { - testConstructor(); - assertEquals("Global forwards type is not correct", - "org.apache.struts.action.ActionForward", - instance.getGlobalForwardsType()); - assertEquals("Wrong number of forwards found", 3, - instance.getForwards().size()); - String[] names = new String[] {"logoff", "logon", "success"}; - Forward forward = null; - List forwards = instance.getForwards(); - for (int index = 0; index < names.length; index++) - { - forward = (Forward) forwards.get(index); - assertEquals("Forward number " + index + " isn't "+ names[index], - names[index], forward.getName()); - } - } - - /** test the action servlet name property - * @throws Exception when there is an unexpected problem - */ - public void testActionServletName() throws Exception - { - testConstructor(); - assertEquals("default action servlet name is not 'action'", "action", - Struts10WarFile.DEFAULT_ACTIONSERVLET_NAME); - String dummy = "dummyName"; - instance.setActionServletName(dummy); - assertEquals("action servlet name property get or set failed", dummy, - instance.getActionServletName()); - } - - /** test the action servlet pattern method - * @throws Exception when there is an unexpected problem - */ - public void testActionServletPattern() throws Exception - { - testConstructor(); - assertEquals("action servlet pattern is wrong", "*.do", - instance.getActionServletPattern()); - } -} diff --git a/struts/xdocs/changes.xml b/struts/xdocs/changes.xml deleted file mode 100644 index 92aaf46e..00000000 --- a/struts/xdocs/changes.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - Changes - dIon Gillard - - - - Update very old docs - Fix classpath for the Struts war validator - Add a plugin test project that tests the validator - Remove old pom.getPluginContext code - - - Remove unneeded ant dependency - - - Upgrade to dom4j 1.4 - Upgrade to dom4j 1.4-dev-8 - Upgrade to commons-logging 1.0.3 - update to commons-lang 1.0.1 - Updated to commons-collections 2.1 - - - diff --git a/struts/xdocs/futures.xml b/struts/xdocs/futures.xml deleted file mode 100644 index 391cd995..00000000 --- a/struts/xdocs/futures.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - dIon Gillard - Futures for the Struts Plug-in - - - -
    -

    - The following is a list of things that are being contemplated - for the Maven Struts Plug-in. -

    -
      -
    1. Validate forwards
    2. -
    3. More Support for Struts 1.1
    4. -
    5. Generate struts-config using xdoclet
    6. -
    7. Generate form beans from validation.xml
    8. -
    -
    - -
    diff --git a/struts/xdocs/goals.xml b/struts/xdocs/goals.xml deleted file mode 100644 index 3f62867f..00000000 --- a/struts/xdocs/goals.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - Maven struts Plug-in Goals - dIon Gillard - - - - - struts - Call struts:validate-war - - - struts:validate-war - -

    - Ensure a war file containing a Struts application is valid. -

    -

    - 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. -
    -

    -
    -
    -
    - -
    \ No newline at end of file diff --git a/struts/xdocs/index.xml b/struts/xdocs/index.xml deleted file mode 100644 index b661edd9..00000000 --- a/struts/xdocs/index.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - Maven Struts Plug-in - dIon Gillard - - - -
    -

    - This document provides an overview of the Maven Struts Plug-in. -

    - -

    - The Struts Plug-in is the place where Struts tools are found - in Maven. -

    -

    - At the moment it provides a validator to ensure a war file is valid. To - use this validator, simply add the following snippet to your maven.xml -

    - - -]]> -
    - - - - - - - - - - - - -
    DocumentDescription
    Goals - This document provides detailed information on the various - goals that are available as part of the Maven Struts Plug-in. -
    Properties - The behavior of the Maven Struts Plug-in can be altered via - properties. This document describes each property - available and the default used. -
    Futures - These are the current thoughts on additional items - that could or should be added to the plug-in. - They may or may not make it to an actual task list of a - developer. -
    -
    -
    - -
    diff --git a/struts/xdocs/navigation.xml b/struts/xdocs/navigation.xml deleted file mode 100644 index caafc530..00000000 --- a/struts/xdocs/navigation.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - Maven - - - - - - - - - - - - - diff --git a/struts/xdocs/properties.xml b/struts/xdocs/properties.xml deleted file mode 100644 index 5f342fb0..00000000 --- a/struts/xdocs/properties.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - Maven Struts Plugin Properties - - -
    -

    There are no settings to customize this plugin

    -
    - -
    \ No newline at end of file diff --git a/tjdo/announcements/1.0.ann b/tjdo/announcements/1.0.ann deleted file mode 100644 index 4c820f05..00000000 --- a/tjdo/announcements/1.0.ann +++ /dev/null @@ -1,11 +0,0 @@ -The Maven team is pleased to announce the TJDO plugin 1.0.0 release! - -http://maven.apache.org/reference/plugins/tjdo - -The Maven TJDO plugin is a plugin for Triactive JDO (http://tjdo.sourceforge.net). - -You can download the TJDO Maven plugin here: -http://www.ibiblio.org/maven/maven/plugins/maven-tjdo-plugin-1.0.0.jar - -Have fun! --Emmanuel \ No newline at end of file diff --git a/tjdo/plugin.jelly b/tjdo/plugin.jelly deleted file mode 100644 index b1788dcf..00000000 --- a/tjdo/plugin.jelly +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - JDO-enhancing classes for Triactive JDO - - - - - - - - Classes are now JDO-enhanced for Triactive JDO - - - - - - - - - - - DB tables for Triactive JDO have now been dropped - - - diff --git a/tjdo/plugin.properties b/tjdo/plugin.properties deleted file mode 100644 index c9e10e6a..00000000 --- a/tjdo/plugin.properties +++ /dev/null @@ -1,34 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P L U G I N P R O P E R T I E S -# ------------------------------------------------------------------- -# Triactive JDO plugin -# Author: Andy Jefferson (andy@ajsoft.net) -# ------------------------------------------------------------------- - -# Parameters for specification of location of JDO files -# Directory root -maven.tjdo.jdo.fileset.dir=${maven.build.dest} -# File Includes -maven.tjdo.jdo.fileset.include=**/*.jdo -# File Excludes -maven.tjdo.jdo.fileset.exclude= - -# Location of any JAR containing the JDBC driver for the data store being used -maven.tjdo.jdbc.jar= - diff --git a/tjdo/project.properties b/tjdo/project.properties deleted file mode 100644 index d66f96c3..00000000 --- a/tjdo/project.properties +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- diff --git a/tjdo/project.xml b/tjdo/project.xml deleted file mode 100644 index ed234f11..00000000 --- a/tjdo/project.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - ../plugin-parent/project.xml - 3 - maven-tjdo-plugin - Maven TJDO plugin - 1.0.0 - - Maven TJDO plugin - http://maven.apache.org/reference/plugins/tjdo/ - http://jira.codehaus.org/browse/MPTJDO - /www/maven.apache.org/reference/plugins/tjdo/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/tjdo/ - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/tjdo/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/tjdo/ - - - - 1.0.0 - 1.0.0 - MAVEN_TJDO_1_0_0 - - - - - - tjdo - tjdo - 2.0-beta3 - - - diff --git a/tjdo/xdocs/changes.xml b/tjdo/xdocs/changes.xml deleted file mode 100644 index 7c2df11c..00000000 --- a/tjdo/xdocs/changes.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - Changes - Andy Jefferson - - - - - - - Addition of "drop-tables", and revision of jelly code. - - - - - Addition of documents and update to TJDO version number. - - - - - New plugin providing support for TJDO "enhance" method. - - - - diff --git a/tjdo/xdocs/goals.xml b/tjdo/xdocs/goals.xml deleted file mode 100644 index b45ae06f..00000000 --- a/tjdo/xdocs/goals.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - Maven TJDO Plug-in Goals - Andy Jefferson - - - -
    - - - - - - - - - - -
    GoalDescription
    tjdo:enhance - This is the default goal of the plugin. It provides the enhancement - of classes to use TJDO for persistence of java classes. -
    tjdo:drop-tables - Drops the tables managed by Triactive JDO. -
    -
    - -
    diff --git a/tjdo/xdocs/index.xml b/tjdo/xdocs/index.xml deleted file mode 100644 index 8623f383..00000000 --- a/tjdo/xdocs/index.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - Maven TJDO Plug-in - Andy Jefferson - - - -
    -

    - This plugin provides an interface to the Triactive JDO - implementation (TJDO) - of Sun's JDO spec. -

    -
    - -
    diff --git a/tjdo/xdocs/navigation.xml b/tjdo/xdocs/navigation.xml deleted file mode 100644 index 1b2b3f6c..00000000 --- a/tjdo/xdocs/navigation.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - Maven TJDO Plugin - - - - - - - - - - - - - diff --git a/tjdo/xdocs/properties.xml b/tjdo/xdocs/properties.xml deleted file mode 100644 index 08062f8a..00000000 --- a/tjdo/xdocs/properties.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - TJDO Properties - Andy Jefferson - - - -
    - - - - - - - - - - - - - - - - - -
    PropertyOptional?Description
    maven.tjdo.jdo.fileset.dirYes - Directory root of the filespace including the JDO files - defining the datastore persistence to be managed by TJDO. - The default is ${maven.build.dest} -
    maven.tjdo.jdo.fileset.includeYes - Include pattern of JDO files. The default is **/*.jdo -
    maven.tjdo.jdo.fileset.excludeYes - Exclude pattern of JDO files. The default is empty. -
    -
    - -
    diff --git a/webserver/plugin.jelly b/webserver/plugin.jelly deleted file mode 100644 index 37df2cf0..00000000 --- a/webserver/plugin.jelly +++ /dev/null @@ -1,616 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------------------------------------------------------- - | Plugin Configuration Error | - -------------------------------------------------------------------------- - - A required property is missing a value. - - Property name: ${propname} - - Errors must be corrected before using this plugin. - - -------------------------------------------------------------------------- - - - - - -------------------------------------------------------------------------- - | Plugin Configuration Error | - -------------------------------------------------------------------------- - - A required property is pointing to an invalid directory. - - Property name: ${propname} - Invalid value: ${propvalue} - - Errors must be corrected before using this plugin. - - -------------------------------------------------------------------------- - - - - - -------------------------------------------------------------------------- - | Plugin Configuration Error | - -------------------------------------------------------------------------- - - The specified webserver name is currently not supported. - - Property name: ${propname} - Property value: ${propvalue} - - For supported ${propname} values, please see the help docs. - - -------------------------------------------------------------------------- - - - - - -------------------------------------------------------------------------- - | Plugin Configuration Error | - -------------------------------------------------------------------------- - - The specified version for the ${webserver} webserver is currently - not supported. - - Property name: ${propname} - Property value: ${propvalue} - - For supported ${propname} values, please see the help docs. - - -------------------------------------------------------------------------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - installed - not installed - - - - - - started - not started - - - - - -Maven has determined your webserver instance is in directory [ ] and on - - - - - -Maven has determined your webserver instance is in directory [ ] and using socket on host . - - - - - - - - - - - - - -: Deleting webserver instance ... - - - - - - - - - - -: Installing webserver instance ... - - - - - - - - - -: Re-installing webserver instance ... - - - - - - - - - - -: Starting webserver instance ... - - - - - - - - - -: Re-starting webserver instance ... - - - - - - - - - -: Stopping webserver instance ... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------------------------------------------------------- - | Plugin Runtime Error | - -------------------------------------------------------------------------- - - Maven could not determine the current status for your - instance. This was an unexpected runtime error that should be reported. - - -------------------------------------------------------------------------- - - - - - - - - - - - - - - - - - - - - - - - -Webserver could not be installed because it is already installed. Trying to -reinstall the webserver instead ... - - - - - - - - - - - - - - - - - - - - -Webserver could not be reinstalled because it is not yet installed. Trying to -install the webserver instead ... - - - - - - - - - - - - - - - - - - - - -------------------------------------------------------------------------- - | Plugin Warning | - -------------------------------------------------------------------------- - - Webserver not yet installed - - You may try - o webserver:install webserver:start - o webserver:cycle - - -------------------------------------------------------------------------- - - - - -Webserver could not be started because it is already started. Trying to restart -the webserver instead ... - - - - - - - - - - - - - - - - - - - - - - - - -Webserver could not be restarted because it is not yet started. Trying to start -the webserver ... - - - - - - - - - - - - - - - - - - -Webserver already stopped! - - - - - - - - - - - - - - - - - - - - - - - - - - - -Webserver already cleaned! - - - - - - - diff --git a/webserver/plugin.properties b/webserver/plugin.properties deleted file mode 100644 index 1ac9936d..00000000 --- a/webserver/plugin.properties +++ /dev/null @@ -1,112 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -############################################################################ -# W E B S E R V E R -#--------------------------------------------------------------------------- - -#-------------------------------------------------------# -# OPTIONAL PROPERTIES TO BE SET BY PLUGIN CONSUMER # -#-------------------------------------------------------# - -# -# ports to access and configure this server instance -# -maven.webserver.port.http=80 -maven.webserver.port.https=443 - -# -# optional ports for other work -# -# maven.webserver.port.A= -# maven.webserver.port.B= -# maven.webserver.port.C= - -# -# The host name, used when configuring, defaults to localhost -# -maven.webserver.host=localhost - -#-------------------------------------------------------# - - -#-------------------------------------------------------# -# REQUIRED PROPERTIES THAT MAY/MUST BE SET BY USER # -#-------------------------------------------------------# - -# -# a supported name of an application server instance to install -# -# maven.webserver.name=apache - -# -# version number of the application server -# -# maven.webserver.version=2.x - -# -# The place where the binary machine install of the web server resides -# -# maven.webserver.home=/apps/apache2 - -# -# The directory to install the local instance of the server -# -maven.webserver.dir=${basedir}/server - -# -# The default port to test for a TCP/IP connection listener for determining if -# the webserver instance is started. Default is the same as the http port -# -maven.webserver.test.socket=${maven.webserver.port.http} - -# -# The URL used to test the current running status of the webserver -# Default is left as null, so that only the socket is used to test if the server -# is started -# -# maven.webserver.test.url=http://${maven.webserver.host}:${maven.webserver.port.http}/index.html - -# -# The root directory out of which you will server will serve your documents -# The default is under webapps, to allow this webserver to play friendly -# with a Tomcat application container by default -# -maven.webserver.root=${maven.webserver.dir}/webapps/ROOT - -#-------------------------------------------------------# - - -#-------------------------------------------------------# -# REQUIRED PROPERTIES NOT NORMALLY MODIFIED BY USERS # -#-------------------------------------------------------# - -# needed for dir searches and messages, should NOT be changed by user -maven.webserver.fullname=${maven.webserver.name}-${maven.webserver.version} - -# -# where to look for the instance specific config files for this webserver -# -maven.webserver.conf.dir=${maven.conf.dir}/webserver/${maven.webserver.fullname} - - -#-------------------------------------------------------# -# OPTIONNAL PROPERTIES RESOLVING TOKENS IN HTTPD.CONF # -#-------------------------------------------------------# -# The user and group to run httpd as -maven.webserver.user=apache -maven.webserver.group=apache - diff --git a/webserver/project.properties b/webserver/project.properties deleted file mode 100644 index d66f96c3..00000000 --- a/webserver/project.properties +++ /dev/null @@ -1,19 +0,0 @@ -# ------------------------------------------------------------------- -# Copyright 2001-2004 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ------------------------------------------------------------------- - -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- diff --git a/webserver/project.xml b/webserver/project.xml deleted file mode 100644 index a584360a..00000000 --- a/webserver/project.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - ../plugin-parent/project.xml - 3 - maven-webserver-plugin - Maven Webserver Plugin - 2.1-SNAPSHOT - - Manage web servers - http://maven.apache.org/reference/plugins/webserver/ - http://jira.codehaus.org/browse/MPWEBSERVER - /www/maven.apache.org/reference/plugins/webserver/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/webserver/ - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/webserver/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/webserver/ - - - - Peter Lynch - plynch - plynch@apache.org - - - Java Developer - Project Manager - - - - Stéphane Mor - smor - stephanemor@yahoo.fr - Hasgard Systèmes et Réseaux - - Java Developer - - - - Jason van Zyl - jvanzyl - jason@zenplex.com - Zenplex - - Architect - Release Manager - - - - - - ant - ant - 1.5.3-1 - - - commons-jelly - commons-jelly-tags-log - 1.0 - - - - - 2.0 - 2.0 - MAVEN_WEBSERVER_2_0 - - - diff --git a/webserver/src/plugin-resources/apache-2.x.jelly b/webserver/src/plugin-resources/apache-2.x.jelly deleted file mode 100644 index 7635bf58..00000000 --- a/webserver/src/plugin-resources/apache-2.x.jelly +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - - - - - - - -To use this webserver, you must have a project specific -configuration file at the following location: - -${maven.webserver.conf.dir}/conf/httpd.conf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Missing service detected. Trying to install a new webserver instance service... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/webserver/xdocs/changes.xml b/webserver/xdocs/changes.xml deleted file mode 100644 index 498291bb..00000000 --- a/webserver/xdocs/changes.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - Changes - dIon Gillard - - - - Add user and group properties - - - - diff --git a/webserver/xdocs/goals.xml b/webserver/xdocs/goals.xml deleted file mode 100644 index 6930be15..00000000 --- a/webserver/xdocs/goals.xml +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - Maven Webserver Plugin Goals - dIon Gillard - - - - - webserver:clean - Safely delete an installed webserver instance - - - webserver:cycle - Forced install and start of a webserver instance - - - webserver:init - Initialize resources needed for the plugin - - - webserver:install - Install a webserver instance - - - webserver:reinstall - Reinstall a webserver instance - - - webserver:restart - Restart a webserver instance - - - webserver:start - Start a webserver instance - - - webserver:stop - Stop a webserver instance - - - - \ No newline at end of file diff --git a/webserver/xdocs/index.xml b/webserver/xdocs/index.xml deleted file mode 100644 index 5196b508..00000000 --- a/webserver/xdocs/index.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - Maven Webserver Plug-in - Jason van Zyl - Jason van Zyl - - - -
    -

    The Maven Webserver Plug-in provides a generic interface to installing - and controlling webserver instances. -

    -

    Using a private or shared webserver installation, developers can use - this plugin to control their own personal instance of a webserver. This is - particularly useful when developing website based projects. -

    -

    The webserver implementation used is controlled by a set of simple - properties. Integrating new webserver implementations into the plugin is - as simple as adding a jelly script that implements some required goal - names. -

    -
    - -
    diff --git a/webserver/xdocs/navigation.xml b/webserver/xdocs/navigation.xml deleted file mode 100644 index ba8ae44d..00000000 --- a/webserver/xdocs/navigation.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - Maven Webserver Plugin - - - - - - - - - - - - - \ No newline at end of file diff --git a/webserver/xdocs/properties.xml b/webserver/xdocs/properties.xml deleted file mode 100644 index a629158c..00000000 --- a/webserver/xdocs/properties.xml +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - Maven Webserver Plugin Properties - dIon Gillard - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    PropertyOptional?Description
    maven.webserver.nameNo -

    The value must be set to one of the supported webserver name - values. An error is given if the name is not supported.

    -
    maven.webserver.versionNo -

    The value must be set to one of the supported webserver version - values for the specified webserver name. An error is given if the - name is not supported.

    -
    maven.webserver.homeNo -

    The absolute directory path to the home directory installation - for the webserver name being used.

    -
    maven.webserver.port.httpYes if maven.webserver.port.https has a value, otherwise no. -

    Default value is 80

    -
    maven.webserver.port.httpsYes if maven.webserver.port.http has a value, otherwise no. -

    Default value is 443

    -
    maven.webserver.port.AYes -

    Default value is null

    -

    Optional port that can be used for configuration, added by - default to the filterset used when copying configuration files. -

    -
    maven.webserver.port.BYes -

    Default value is null

    -

    Optional port that can be used for configuration, added by - default to the filterset used when copying configuration files. -

    -
    maven.webserver.port.CYes -

    Default value is null

    -

    Optional port that can be used for configuration, added by - default to the filterset used when copying configuration files. -

    -
    maven.webserver.dirNo -

    Default value is - ${basedir}/server

    -

    This is the directory where the server instance willl be installed - to and run from. -

    -
    maven.webserver.fullnameNo -

    Default value is - ${maven.webserver.name}-${maven.webserver.version}

    -

    Modifying this property will likely prevent the plugin from - working properly. It is highly recommended to not change the default - value.

    -
    maven.webserver.conf.dirNo -

    Default value is - ${maven.conf.dir}/webserver/${maven.webserver.fullname}

    -

    This property's value is set by default for consistency. It is - not recommended the value be changed, although it can be. Instead - if you have server specific configuration files, put them in a - directory structure under your configuration dir as above.

    -
    maven.webserver.rootNo -

    Default value is - ${maven.webserver.dir}/webapps/ROOT

    -

    This should be absolute path to the root directory where you - would like your server instance to serve files from.

    -
    maven.webserver.userYes -

    Default value is apache.

    -

    This is the user that Apache should run as.

    -
    maven.webserver.groupYes -

    Default value is apache.

    -

    This is the group that Apache should run as.

    -
    maven.webserver.test.socketNo -

    Default value is ${maven.webserver.port.http}OR - if not set then ${maven.webserver.port.https}

    - -
    maven.webserver.test.urlYes -

    Default value is null. If specified, the plugin uses - a valid response from the URL in addition to - ${the maven.webserver.test.socket} to determine if the webserver is - running.

    -
    maven.webserver.hostYes -

    Default value is localhost. This needs to be set the - name of the server running the server instance.

    -
    -
    - -
    diff --git a/wizard/plugin.jelly b/wizard/plugin.jelly deleted file mode 100644 index 3389cd07..00000000 --- a/wizard/plugin.jelly +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - About to invoke the ${goalName} goal! - - - - - - - - - - - - - - - ${frame.setVisible(true)} - - - - - diff --git a/wizard/project.xml b/wizard/project.xml deleted file mode 100644 index d8d680b2..00000000 --- a/wizard/project.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - ../plugin-parent/project.xml - 3 - maven-wizard-plugin - Maven Wizard Plug-in - 1.1.1-SNAPSHOT - Wizard for Maven - http://maven.apache.org/reference/plugins/wizard/ - http://jira.codehaus.org/browse/MPWIZARD - /www/maven.apache.org/reference/plugins/wizard/ - - scm:svn:http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/wizard/ - scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/wizard/ - http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/wizard/ - - - - 1.0 - 1.0 - MAVEN_WIZARD_1_0 - - - 1.1 - 1.1 - MAVEN_WIZARD_1_1 - - - - - James Strachan - jstrachan - jstrachan@apache.org - SpiritSoft, Inc. - - - - - commons-jelly - commons-jelly-tags-interaction - 1.0 - - - commons-jelly - commons-jelly-tags-log - 1.0 - - - commons-jelly - commons-jelly-tags-swing - 1.0 - - - diff --git a/wizard/xdocs/changes.xml b/wizard/xdocs/changes.xml deleted file mode 100644 index 9aa959c5..00000000 --- a/wizard/xdocs/changes.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - Changes - James Strachan - - - - - - Initial version - - - - - diff --git a/wizard/xdocs/goals.xml b/wizard/xdocs/goals.xml deleted file mode 100644 index 6e3554ab..00000000 --- a/wizard/xdocs/goals.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - Maven Wizard Goals - James Strachan - - - -
    - - - - - - -
    GoalDescription
    wizard - This is the default goal of the plugin and starts the Swing Wizard. -
    -
    - -
    diff --git a/wizard/xdocs/index.xml b/wizard/xdocs/index.xml deleted file mode 100644 index a869a52c..00000000 --- a/wizard/xdocs/index.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - Maven Wizard - James Strachan - - - -
    -

    - This plugin provides an interactive Swing user interface - for executing Maven goals for a project. - This cuts down on the JVM and Maven start-up times allowing for - lightning-fast repetitive execution of Maven. -

    -

    - The wizard simply loads the current project.xml and waits for - the user to select a goal to run via the Run menu. -

    -

    - For more information on the functionality provided by this plugin, - please see the Goals document. -

    -

    - There are no properties available to customise this plugin. -

    -
    - -
    diff --git a/wizard/xdocs/navigation.xml b/wizard/xdocs/navigation.xml deleted file mode 100644 index 5d6108f0..00000000 --- a/wizard/xdocs/navigation.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - Maven Wizard - - - - - - - - - - - diff --git a/wizard/xdocs/properties.xml b/wizard/xdocs/properties.xml deleted file mode 100644 index e7d8676c..00000000 --- a/wizard/xdocs/properties.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - wizard Properties - dIon Gillard - - -
    -

    There are no settings to customize this plugin

    -
    - -
    \ No newline at end of file diff --git a/wizard/xdocs/tasks.xml b/wizard/xdocs/tasks.xml deleted file mode 100644 index e7533395..00000000 --- a/wizard/xdocs/tasks.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - Maven Wizard Tasks - James Strachan - - - -
    -

    -

      -
    • - Find a way to switch projects easily, so that - we load all the plugins once for all projects. -
    • -
    • - Capturing the output of each task in a seperate window - would be useful. -
    • -
    -

    -
    - -