vmassol (SVN) wrote:
Author: vmassol
Date: 2009-06-12 20:20:40 +0200 (Fri, 12 Jun 2009)
New Revision: 21266
Added:
platform/xwiki-tools/trunk/xwiki-archetype-macro/archetype-catalog.xml
Log:
XWIKI-3977: Create a Maven Archetype to make it easy to create XWiki Macros
* Added a catalog so that users can create macro archetype using: mvn archetype:generate
-DarchetypeCatalog=http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-tools/trunk/xwiki-archetype-macro/archetype-catalog.xml
* In the future we'll ask the Maven team to add our archetype to the default list of
archetypes
Added: platform/xwiki-tools/trunk/xwiki-archetype-macro/archetype-catalog.xml
===================================================================
--- platform/xwiki-tools/trunk/xwiki-archetype-macro/archetype-catalog.xml
(rev 0)
+++ platform/xwiki-tools/trunk/xwiki-archetype-macro/archetype-catalog.xml 2009-06-12
18:20:40 UTC (rev 21266)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archetype-catalog>
+ <archetypes>
+ <archetype>
+ <groupId>com.xpn.xwiki.platform.tools</groupId>
+ <artifactId>xwiki-archetype-macro</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <description>Make it easy to create a maven project for creating XWiki
Macros.</description>
I think that "XWiki macro" is not a good term. These are rendering
macros, and if we want to make the rendering generic, usable by other
apps, then the macros should not be "XWiki macros".
+ </archetype>
+ </archetypes>
+</archetype-catalog>
--
Sergiu Dumitriu
http://purl.org/net/sergiu/