diff --git a/jetty/.cvsignore b/jetty/.cvsignore new file mode 100644 index 00000000..9852215d --- /dev/null +++ b/jetty/.cvsignore @@ -0,0 +1,6 @@ +target +velocity.log +maven.log +build.properties +.classpath +.project diff --git a/jetty/plugin.jelly b/jetty/plugin.jelly new file mode 100644 index 00000000..8c375f0b --- /dev/null +++ b/jetty/plugin.jelly @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${maven.jetty.port} + + + + + + + + + + ${context} + + ${artifact} + + + + + + + + + + + + + + + ${context} + ${lib.path} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/jetty/plugin.properties b/jetty/plugin.properties new file mode 100644 index 00000000..8396cf54 --- /dev/null +++ b/jetty/plugin.properties @@ -0,0 +1,23 @@ +# ------------------------------------------------------------------- +# Copyright 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. +# ------------------------------------------------------------------- + +# Port on which Jetty will be started. +maven.jetty.port = 8080 + +# (optional) Specify a custom Jetty XML config file. If this property +# is not defined the config file will be generated automatically by +# the plugin +# ex: maven.jetty.config.xml = conf/jetty.xml diff --git a/jetty/project.properties b/jetty/project.properties new file mode 100644 index 00000000..f4991507 --- /dev/null +++ b/jetty/project.properties @@ -0,0 +1,23 @@ +# ------------------------------------------------------------------- +# Copyright 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.xdoc.date=left +maven.xdoc.version=${pom.currentVersion} +maven.license.licenseFile=${basedir}/../LICENSE.txt + diff --git a/jetty/project.xml b/jetty/project.xml new file mode 100644 index 00000000..af083b9e --- /dev/null +++ b/jetty/project.xml @@ -0,0 +1,87 @@ + + + + + + ../project.xml + 3 + maven-jetty-plugin + Maven Jetty plugin + 1.0-SNAPSHOT + Run Jetty + http://maven.apache.org/reference/plugins/jetty/ + http://jira.codehaus.org/BrowseProject.jspa?id=xxx + /www/maven.apache.org/reference/plugins/jetty/ + + scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/jetty/ + scm:cvs:ext:${maven.username}@cvs.apache.org:/home/cvs:maven-plugins/jetty/ + http://cvs.apache.org/viewcvs/maven-plugins/jetty/ + + + + 1.0 + 1.0 + HEAD + + + + + Vincent Massol + vmassol + vmassol@pivolis.com + Pivolis + + Creator + Java Developer + + + + + + jetty + org.mortbay.jetty + 4.2.17 + http://jetty.mortbay.org + + + servletapi + servletapi + 2.3 + + + tomcat + jasper-compiler + 4.0.4 + + + tomcat + jasper-runtime + 4.0.4 + + + + maven-changes-plugin + maven-changelog-plugin + maven-file-activity-plugin + maven-developer-activity-plugin + maven-file-activity-plugin + maven-license-plugin + maven-linkcheck-plugin + + diff --git a/jetty/xdocs/.cvsignore b/jetty/xdocs/.cvsignore new file mode 100644 index 00000000..cb6131bb --- /dev/null +++ b/jetty/xdocs/.cvsignore @@ -0,0 +1 @@ +stylesheets diff --git a/jetty/xdocs/changes.xml b/jetty/xdocs/changes.xml new file mode 100644 index 00000000..8b0a23cb --- /dev/null +++ b/jetty/xdocs/changes.xml @@ -0,0 +1,33 @@ + + + + + + + Jetty plugin changes + Vincent Massol + + + + + Plugin creation. + + + + diff --git a/jetty/xdocs/goals.xml b/jetty/xdocs/goals.xml new file mode 100644 index 00000000..fa88e633 --- /dev/null +++ b/jetty/xdocs/goals.xml @@ -0,0 +1,59 @@ + + + + + + + + Maven Jetty plugin goals + Vincent Massol + + + +
+ + + + + + + + + + + + + + + + + + +
GoalDescription
jetty + Run Jetty. +
jetty:run + Run Jetty. +
jetty:run-war + Run Jetty, adding the current WAR project to the contexts. +
jetty:config + Generate a Jetty XML configuration file. +
+
+ +
diff --git a/jetty/xdocs/index.xml b/jetty/xdocs/index.xml new file mode 100644 index 00000000..e072cdc7 --- /dev/null +++ b/jetty/xdocs/index.xml @@ -0,0 +1,37 @@ + + + + + + + + Maven Jetty plugin + Vincent Massol + + + +
+

+ This plugin starts Jetty on the J2EE modules specified as + dependencies. +

+
+ + +
diff --git a/jetty/xdocs/navigation.xml b/jetty/xdocs/navigation.xml new file mode 100644 index 00000000..9f2caf3d --- /dev/null +++ b/jetty/xdocs/navigation.xml @@ -0,0 +1,34 @@ + + + + + + + Maven Jetty plugin + + + + + + + + + + + diff --git a/jetty/xdocs/properties.xml b/jetty/xdocs/properties.xml new file mode 100644 index 00000000..eff571c8 --- /dev/null +++ b/jetty/xdocs/properties.xml @@ -0,0 +1,56 @@ + + + + + + + + Jetty plugin properties + Vincent Massol + + + +
+ + + + + + + + + + + + + + +
PropertyOptional?DescriptionDefault
maven.jetty.portYes + Port on which Jetty will be started. + + 8080 +
maven.jetty.config.xmlYes + Custom Jetty XML configuration file. + + No default. By default this file is generated by the plugin. +
+
+ + +