You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@excalibur.apache.org by le...@apache.org on 2004/10/24 03:21:32 UTC
svn commit: rev 55408 - excalibur/trunk/fortress/plugin
Author: leosimons
Date: Sat Oct 23 18:21:32 2004
New Revision: 55408
Added:
excalibur/trunk/fortress/plugin/
excalibur/trunk/fortress/plugin/plugin.jelly
excalibur/trunk/fortress/plugin/project.properties
excalibur/trunk/fortress/plugin/project.xml
Log:
Committing maven meta info generation plugin submitted by Marcus Crafter (Jira entry FORTRESS-9).
Added: excalibur/trunk/fortress/plugin/plugin.jelly
==============================================================================
--- (empty file)
+++ excalibur/trunk/fortress/plugin/plugin.jelly Sat Oct 23 18:21:32 2004
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+/*
+ * 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 Fortress Plugin.
+
+ @author Marcus Crafter <cr...@apache.org>
+ @date 30 September 2004
+ -->
+<project
+ xmlns:j="jelly:core"
+ xmlns:ant="jelly:ant">
+
+ <!-- Default Goal -->
+ <goal name="fortress" description="Generates Fortress metadata"
+ prereqs="fortress:metadata"/>
+
+ <!-- Generates fortress metadata into built classes directory -->
+ <goal name="fortress:metadata" description="Generates Fortress metadata" prereqs="init">
+
+ <echo>Generating Fortress metadata</echo>
+
+ <fortress-collect-metainfo destdir="${maven.build.dest}">
+ <ant:fileset dir="${pom.build.sourceDirectory}"
+ includes="**/*.java"/>
+ </fortress-collect-metainfo>
+
+ </goal>
+
+ <!-- Initialization -->
+ <goal name="init" description="Initializes Plugin">
+
+ <!-- Create an ant task definition for the metadata collector -->
+ <ant:taskdef name="fortress-collect-metainfo"
+ classname="org.apache.avalon.fortress.tools.ComponentMetaInfoCollector">
+ <ant:classpath>
+ <ant:pathelement location="${plugin.getDependencyPath('excalibur-fortress:excalibur-fortress-tools')}"/>
+ <ant:pathelement location="${plugin.getDependencyPath('qdox:qdox')}"/>
+ </ant:classpath>
+ </ant:taskdef>
+
+ </goal>
+
+</project>
\ No newline at end of file
Added: excalibur/trunk/fortress/plugin/project.properties
==============================================================================
--- (empty file)
+++ excalibur/trunk/fortress/plugin/project.properties Sat Oct 23 18:21:32 2004
@@ -0,0 +1 @@
+# Project property file for fortress-plugin
Added: excalibur/trunk/fortress/plugin/project.xml
==============================================================================
--- (empty file)
+++ excalibur/trunk/fortress/plugin/project.xml Sat Oct 23 18:21:32 2004
@@ -0,0 +1,90 @@
+<?xml version="1.0"?>
+<!--
+Copyright 2003-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.
+-->
+<project>
+ <pomVersion>3</pomVersion>
+ <artifactId>maven-fortress-plugin</artifactId>
+ <name>Maven Fortress Plugin</name>
+ <groupId>maven-fortress-plugin</groupId>
+ <currentVersion>0.1</currentVersion>
+ <organization>
+ <name>Excalibur</name>
+ <url>http://excalibur.apache.org/</url>
+ <logo>http://excalibur.apache.org/logo.gif</logo>
+ </organization>
+ <inceptionYear>2004</inceptionYear>
+ <shortDescription>Fortress Maven Plugin</shortDescription>
+ <url>http://excalibur.apache.org/</url>
+ <issueTrackingUrl>http://nagoya.apache.org/jira/browse/FORTRESS</issueTrackingUrl>
+ <siteAddress>excalibur.apache.org</siteAddress>
+ <repository/>
+ <developers>
+ <developer>
+ <name>Marcus Crafter</name>
+ <id>1</id>
+ <email>crafterm@apache.org</email>
+ <roles>
+ <role>Engineering</role>
+ </roles>
+ <url>http://blogs.cocoondev.org/crafterm/</url>
+ <timezone>CET</timezone>
+ </developer>
+ </developers>
+ <dependencies>
+ <dependency>
+ <groupId>excalibur-fortress</groupId>
+ <artifactId>excalibur-fortress-tools</artifactId>
+ <version>1.0</version>
+ <type>jar</type>
+ <properties/>
+ </dependency>
+ <dependency>
+ <groupId>qdox</groupId>
+ <artifactId>qdox</artifactId>
+ <version>1.2</version>
+ <type>jar</type>
+ <properties/>
+ </dependency>
+ </dependencies>
+ <build>
+ <sourceDirectory>main/src/java</sourceDirectory>
+ <unitTestSourceDirectory>main/test/java</unitTestSourceDirectory>
+ <unitTest>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ </unitTest>
+ <resources>
+ <resource>
+ <directory>${basedir}/main/plugin-resources</directory>
+ <targetPath>plugin-resources</targetPath>
+ <filtering>false</filtering>
+ </resource>
+ <resource>
+ <directory>${basedir}</directory>
+ <includes>
+ <include>plugin.jelly</include>
+ <include>plugin.properties</include>
+ <include>project.properties</include>
+ <include>project.xml</include>
+ </includes>
+ <filtering>false</filtering>
+ </resource>
+ </resources>
+ </build>
+ <properties/>
+</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: scm-unsubscribe@excalibur.apache.org
For additional commands, e-mail: scm-help@excalibur.apache.org