org.apache.geronimo.system.util
Class PluginRepositoryExporter

java.lang.Object
  extended byorg.apache.geronimo.system.util.PluginRepositoryExporter

public class PluginRepositoryExporter
extends Object

A utility that exports a repository of plugins. To use this: 1) Clear out your Maven repo 2) Build Geronimo or any plugins 3) Create an output repo 4) Rsync the current plugin site to the output repo 5) Run this against your Maven repo and the output repo 6) Rsync the output repo to the plugin site It will migrate all the plugins from the Maven repo location to the output location, updating the supported Geronimo versions for any that declare only a snapshot release (using the map below), and calculating hashes for all the plugins. It will update the master plugin metadata file and the Maven metadata file for each artifact directory.

Version:
$Rev: 412604 $ $Date: 2006-06-08 00:56:52 +0200 (Thu, 08 Jun 2006) $

Constructor Summary
PluginRepositoryExporter(String inPath, String outPath, String schema)
           
 
Method Summary
 void execute()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginRepositoryExporter

public PluginRepositoryExporter(String inPath,
                                String outPath,
                                String schema)
                         throws IOException
Method Detail

execute

public void execute()
             throws IOException
Throws:
IOException

main

public static void main(String[] args)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.