[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aether-users] Creating metadata for local installation
|
On Oct 19, 2011, at 242PM, Benjamin Bentmann wrote:
> Dennis Reedy wrote:
>
>> Okay, looks like I am indeed missing the use of a MetadataGeneratorFactory. What is an implementation of the MetadataGeneratorFactory so I can get an instance of it and use it? And, once I get it what do I do with it?
>
> You didn't describe how you boot Aether so I cannot make concrete suggestions. When using Plexus/Sisu, it should be as simple has having the maven-aether-provider on the class path. When using the ServiceLocator approach, you should look into using org.apache.maven.repository.internal.DefaultServiceLocator.
Yeah, sorry about that. I'm using Aether in a standalone application.
Can I directly create the MetadataGenerator using SnapshotMetadataGeneratorFactory or VersionsMetadataGeneratorFactory (for non-snapshots) ?
Or is this not the right way to go?
Dennis