avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen McConnell <mcconn...@apache.org>
Subject [merlin] meta migration strategy
Date Tue, 15 Jul 2003 23:19:47 GMT

I've completed the re-shuffling of the Merlin Meta content into a 
separate sandbox project and now the Merlin build has been restructured 
to use Avalon Meta instead of Merlin Meta (at the meta-info level).  
There is a direct and immediate impact of this change ...

**************************************************
* your existing @avalon.meta.* tags are broken.  *
**************************************************

To correct this situation, you need to:

   1. replace @avalon.meta.* with @avalon.*
   2. replace the following definitions

Old style:
----------

   @avalon.meta.version 1.0
   @avalon.meta.name fred
   @avalon.meta.lifestyle singleton

New style:
----------

   @avalon.type version="1.0" name="fred" lifestyle="singleton"


Installation Notes:
-------------------
Finally, you will need to install the avalon meta plugin into you Maven 
plugin directory.  If you have already checked out the sandbox/meta 
package, then the plugin will be automatically installed as a result of 
invoking maven.  If not, you can download and install the latest version 
of the plugin from this link:

  http://www.ibiblio.org/maven/avalon-meta/

The file to download is:

  avalon-meta-plugin-1.0-RC1.jar

To use the plugin inside Maven, you should declare a pre or postGoal 
inside you maven.xml file such as the following:

  <project>
    <postGoal name="java:compile">
      <attainGoal name="avalon:meta"/>
    </postGoal>
  </project>

This will result in the automated generation of meta-info descriptors 
for your components following a successful compilation.

Cheers, Steve.

-- 

Stephen J. McConnell
mailto:mcconnell@apache.org
http://www.osm.net

Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message