o trygvis has a better running plugin at sf.net

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114653 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jvanzyl 2004-02-02 13:16:23 +00:00
parent 90b39b7070
commit f6088c8f34
11 changed files with 0 additions and 435 deletions

View File

@ -1,3 +0,0 @@
target
velocity.log
maven.log

View File

@ -1,190 +0,0 @@
<project
xmlns:j="jelly:core"
xmlns:maven="jelly:maven"
xmlns:util="jelly:util"
xmlns:define="jelly:define"
xmlns:deploy="deploy"
xmlns:sea="sea"
xmlns:velocity="jelly:velocity"
xmlns:runner="runner">
<!-- ===================================================================== -->
<!-- D E P L O Y P L E X U S -->
<!-- ===================================================================== -->
<!-- Deploys Plexus into a self-contained directory that allows you -->
<!-- to run Plexus easily. -->
<!-- ===================================================================== -->
<!--
|
| We need a way to customize the configuration process.
|
-->
<!--
|
| Plexus Dynamic TagLibarary
|
| o Create a plexus project.
| o Create a runtime based on a configuration.
| o Update the runtime based on an updated configuration.
| o Generate a reactor for component builds.
| o Generate a stub component with testing facilities.
| o Leave hooks for processes to allow for things like insertion of webapps
| or other artifacts that are the product of another build.
| o Generate reports on the state of the overall project.
|
-->
<define:taglib uri="runner">
<!--
|
| @base
| @conf
| @confDir
| @modelPom
| @main
| @options
|
-->
<define:tag name="deploy">
<j:set
var="templatePath"
value="${pom.getPluginContext('maven-runner-plugin').getVariable('plugin.dir')}/plugin-resources/templates"/>
<j:set
var="launcherConfiguration"
value="classworlds.conf"/>
<j:set
var="launcherConfigurationTemplate"
value="classworlds.vm"/>
<runner:create-directory-structure
base="${base}"/>
<runner:assemble-dependencies
plexusPomFile="${plexusPomFile}"
plexusCoreLibDirectory="${base}/lib"/>
<runner:create-classworlds-configuration
main="${main}"
options="${options}"
templatePath="${templatePath}"
classWorldsConfiguration="${base}/conf/${launcherConfiguration}"
classWorldsConfigurationTemplate="${launcherConfigurationTemplate}"/>
<runner:create-launcher-scripts
templatePath="${templatePath}"
unixScript="${base}/bin/plexus.sh"
windowsScript="${base}/bin/plexus.bat"/>
<runner:package-java-runtime
jreDirectory="${base}/jre"/>
</define:tag>
<define:tag name="create-directory-structure">
<delete dir="${base}"/>
<mkdir dir="${base}/bin"/>
<mkdir dir="${base}/conf"/>
<mkdir dir="${base}/lib"/>
</define:tag>
<define:tag name="assemble-dependencies">
<deploy:copy-deps
todir="${plexusCoreLibDirectory}"
excludes="junit"/>
<copy
file="${maven.repo.local}/classworlds/jars/classworlds-1.0-beta-5.jar"
todir="${plexusCoreLibDirectory}"/>
<copy
file="${basedir}/target/${maven.final.name}.jar"
todir="${plexusCoreLibDirectory}"/>
</define:tag>
<!--
|
| @plexusPom
| @templatePath
| @classWorldsConfiguration
| @classWorldsConfigurationTemplate
|
-->
<define:tag name="create-classworlds-configuration">
<echo>
@templatePath = ${templatePath}
@classWorldsConfiguration = ${classWorldsConfiguration}
@classWorldsConfigurationTemplate = ${classWorldsConfigurationTemplate}
</echo>
<velocity:merge
name="${classWorldsConfiguration}"
basedir="${templatePath}"
template="${classWorldsConfigurationTemplate}"/>
</define:tag>
<!--
|
| @templatePath
| @unixScript
| @windowsScript
|
-->
<define:tag name="create-launcher-scripts">
<echo>
@templatePath = ${templatePath}
@unixScript = ${unixScript}
@windowsScript = ${windowsScript}
</echo>
<velocity:merge
name="${unixScript}"
basedir="${templatePath}"
template="plexus.vm"/>
<velocity:merge
name="${windowsScript}"
basedir="${templatePath}"
template="plexus-bat.vm"/>
<chmod file="${unixScript}" perm="+x"/>
</define:tag>
<!--
|
| Include the JRE if specified. This is useful for applications
| that need to be completely self-contained.
|
-->
<define:tag name="package-java-runtime">
<j:if test="${jre == 'true'}">
<exec
executable="cp">
<arg value="-r"/>
<arg value="${java.home}"/>
<arg value="${jreDirectory}"/>
</exec>
</j:if>
</define:tag>
</define:taglib>
</project>

View File

@ -1,6 +0,0 @@
# -------------------------------------------------------------------
# Default Maven properties for the Plexus plugin.
# -------------------------------------------------------------------
# These are the properties that we believe are immutable so we
# keep them apart from the project specific properties.
# -------------------------------------------------------------------

View File

@ -1,5 +0,0 @@
# -------------------------------------------------------------------
# P R O J E C T P R O P E R T I E S
# -------------------------------------------------------------------
maven.license.licenseFile=${basedir}/../LICENSE.txt

View File

@ -1,117 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<extend>../project.xml</extend>
<pomVersion>3</pomVersion>
<id>maven-runner-plugin</id>
<name>Maven Runner Plug-in</name>
<currentVersion>0.3</currentVersion>
<description>Various goals for making development with Plexus easy.</description>
<shortDescription>Plexus Tools</shortDescription>
<url>http://maven.apache.org/reference/plugins/plexus/</url>
<siteDirectory>/www/maven.apache.org/reference/plugins/plexus/</siteDirectory>
<repository>
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/plexus/</connection>
<url>http://cvs.apache.org/viewcvs/maven-plugins/plexus/</url>
</repository>
<developers/>
<dependencies>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly-tags-velocity</artifactId>
<version>20030303.205659</version>
<properties>
<classloader>root.maven</classloader>
</properties>
</dependency>
<dependency>
<groupId>velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.4-dev</version>
</dependency>
<!-- Betwixt requirements -->
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>commons-betwixt</groupId>
<artifactId>commons-betwixt</artifactId>
<version>20030211.133854</version>
</dependency>
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.4-dev-8</version>
<url>http://www.dom4j.org/</url>
</dependency>
<dependency>
<groupId>commons-jelly</groupId>
<artifactId>commons-jelly</artifactId>
<version>20030902.160215</version>
<url>http://jakarta.apache.org/commons/jelly/</url>
</dependency>
<dependency>
<groupId>commons-jexl</groupId>
<artifactId>commons-jexl</artifactId>
<version>1.0-beta-1</version>
<url>http://jakarta.apache.org/commons/jexl/</url>
</dependency>
<dependency>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
<version>1.5.3-1</version>
</dependency>
<!-- Betwixt requirements -->
<dependency>
<groupId>xerces</groupId>
<artifactId>xerces</artifactId>
<version>2.4.0</version>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.0.b2</version>
</dependency>
<!--
|
| Plexus dependencies.
|
-->
<dependency>
<type>pom</type>
<groupId>plexus</groupId>
<artifactId>plexus</artifactId>
<version>0.2</version>
</dependency>
<dependency>
<groupId>plexus</groupId>
<artifactId>plexus</artifactId>
<version>0.2</version>
</dependency>
</dependencies>
</project>

View File

@ -1 +0,0 @@
stylesheets

View File

@ -1,34 +0,0 @@
<?xml version="1.0"?>
<document>
<properties>
<title>Changes</title>
<author email="jason@zenplex.com">Jason van Zyl</author>
</properties>
<body>
<release version="0.3" date="2003-09-29">
<action dev="dion" type="update">update to commons-jelly-20030902.160215</action>
<action dev="dion" type="update">
update to velocity 1.4-dev
</action>
<action dev="dion" type="update">
Upgrade to dom4j 1.4
</action>
<action dev="dion" type="update">
Upgrade to commons-logging 1.0.3
</action>
<action dev="dion" type="update">
update to commons-lang 1.0.1
</action>
<action dev="dion" type="update">
Updated to commons-collections 2.1
</action>
</release>
<release version="1.0" date="2002-08-04">
<action dev="jvanzyl" type="add">
Original release for Maven 1.0-beta8
</action>
</release>
</body>
</document>

View File

@ -1,23 +0,0 @@
<?xml version="1.0"?>
<document>
<properties>
<title>Maven Plexus Plug-in Goals</title>
<author email="jason@zenplex.com">Jason van Zyl</author>
</properties>
<body>
<section name="Goals">
<table>
<tr><th>Goal</th><th>Description</th></tr>
<tr>
<td>plexus:runtime</td>
<td>
For a given project generate a plexus runtime using the required
components.
</td>
</tr>
</table>
</section>
</body>
</document>

View File

@ -1,15 +0,0 @@
<?xml version="1.0"?>
<document>
<properties>
<title>Maven Ant Plug-in</title>
<author email="jason@zenplex.com">Jason van Zyl</author>
</properties>
<body>
<section name="Maven Plexus Plug-in">
<p>
</p>
</section>
</body>
</document>

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="Maven Plexus Plugin">
<title>Maven Plexus Plugin</title>
<body>
<links>
<item name="Maven" href="http://maven.apache.org/"/>
<item name="Plexus" href="http://maven.apache.org/"/>
</links>
<menu name="Overview">
<item name="Goals" href="/goals.html" />
<item name="Properties" href="/properties.html" />
</menu>
</body>
</project>

View File

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<document>
<properties>
<title>Maven Ant Plugin Properties</title>
<author email="dion@multitask.com.au">dIon Gillard</author>
</properties>
<body>
<section name="Maven Plexus Plugin Settings">
<table>
<tr>
<th>Property name</th>
<th>Optional?</th>
<th>Description</th>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</section>
</body>
</document>