If you just want to introspect POM metadata then have a look at maven-runtime:

http://maven.apache.org/shared/maven-runtime/

Mark

2008/11/3 Julien Graglia <[EMAIL PROTECTED]>:
> Hi,
>
> I'd like to access to the org.apache.maven.project.MavenProject or
> org.apache.maven.model.Model from 'outside' of the maven plugin
> environment.
>
> I dont want to (I can't) write a maven plugin that get thoses deps
> injected by plexus or Spring.
> I need to access pom's information from an external java program.
> I know how to do that in a maven plugin context but not from outside.
>
> I try to do it by hand (new DefaultArtifactRepositoryFactory, new
> DefaultArtifactResolver, new DefaultArtifactTransformationManager, new
> DefaultWagonManager, new DefaultArtifact...) but whith IoC, private
> members and all thoses interfaces, it's quite difficult to get it to
> work...
>
> Do you any idea how to do that?
>
> Thx,
> --
> Julien Graglia
> NetCeler
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to