While you're use case is not quite clear to me ("combined view of
properties defined in pom and in profile..."), you could take a peek
at this:

https://github.com/sonatype/sisu-maven-bridge

It does offer effective pom for example...

Patches, as always, are welcome! :)


Thanks,
~t~

On Wed, Aug 17, 2011 at 10:01 PM, Thiessen, Todd (Todd)
<tthies...@avaya.com> wrote:
> I like the idea of using only the parts of the embedder that you need.
>
> Is anything published anywhere which can list which components are available 
> for what tasks?
>
> I have been looking through the source for this artifact and its dependencies:
>
>    <dependency>
>        <groupId>org.apache.maven</groupId>
>        <artifactId>maven-embedder</artifactId>
>        <version>3.0.3</version>
>    </dependency>
>
> But haven't had too much luck trying to piece it all together.
>
> Ultimately what I want to do is to be able to have a combined view of the 
> properties defined in the pom and in a profile defined in my local 
> settings.xml file.  I have found a number of classes like 
> "DefaultSettingsBuilder" and "DefaultProjectBuilder" but they all require 
> other classes which other classes, etc...
>
>> -----Original Message-----
>> From: Jason van Zyl [mailto:ja...@maven.org]
>> Sent: Wednesday, August 17, 2011 3:45 PM
>> To: Maven Users List
>> Subject: Re: Maven Embedder
>>
>> A single embedder really doesn't make any sense, or at least this is
>> what we have found working on Nexus, M2Eclipse, Hudson and a bunch of
>> other tools. All of the use cases are slightly different and it is just
>> easier to grab the individual components and piece them together as
>> required. We have several small embedders for all of the tools now. We
>> could probably make another one now that might be useful but the first
>> form of the embedder certainly wasn't which is why it was removed.
>>
>> On Aug 17, 2011, at 3:35 PM, Thiessen, Todd (Todd) wrote:
>>
>> > Hmm. Or is the Maven Embedder no longer supported?
>> >
>> > http://stackoverflow.com/questions/5141788/how-to-run-maven-from-java
>> >
>> >
>> > From: Thiessen, Todd (Todd)
>> > Sent: Wednesday, August 17, 2011 11:27 AM
>> > To: users@maven.apache.org
>> > Subject: Maven Embedder
>> >
>> > Is there any kind of users guide for the maven embedder?  Not finding
>> anything.
>> >
>> > I can find the source, but having to guess as to how to use the
>> classes.
>>
>> Thanks,
>>
>> Jason
>>
>> ----------------------------------------------------------
>> Jason van Zyl
>> Founder,  Apache Maven
>> http://twitter.com/jvanzyl
>> ---------------------------------------------------------
>>
>> happiness is like a butterfly: the more you chase it, the more it will
>> elude you, but if you turn your attention to other things, it will come
>> and sit softly on your shoulder ...
>>
>>  -- Thoreau
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to