Re: Maven Embedder

2011-08-18 Thread Tamás Cservenák
[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

RE: Maven Embedder

2011-08-18 Thread Thiessen, Todd (Todd)
18, 2011 7:12 AM To: Maven Users List Subject: Re: Maven Embedder 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

RE: Maven Embedder

2011-08-18 Thread Thiessen, Todd (Todd)
[mailto:t.cserve...@gmail.com] On Behalf Of Tamás Cservenák Sent: Thursday, August 18, 2011 7:12 AM To: Maven Users List Subject: Re: Maven Embedder 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

Re: Maven Embedder

2011-08-18 Thread Jason van Zyl
Message- From: t.cserve...@gmail.com [mailto:t.cserve...@gmail.com] On Behalf Of Tamás Cservenák Sent: Thursday, August 18, 2011 7:12 AM To: Maven Users List Subject: Re: Maven Embedder While you're use case is not quite clear to me (combined view of properties defined in pom and in profile

Re: Maven Embedder

2011-08-18 Thread Anders Hammar
? -Original Message- From: t.cserve...@gmail.com [mailto:t.cserve...@gmail.com] On Behalf Of Tamás Cservenák Sent: Thursday, August 18, 2011 7:12 AM To: Maven Users List Subject: Re: Maven Embedder While you're use case is not quite clear to me (combined view of properties defined in pom

RE: Maven Embedder

2011-08-17 Thread Thiessen, Todd (Todd)
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

Re: Maven Embedder

2011-08-17 Thread Jason van Zyl
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

Re: Maven Embedder

2011-08-17 Thread Anders Hammar
Today, you should really use Maven 3 which is designed to be embeddable in tools. I have no experience myself of this, but it has been discussed a few times on this mailing list although quite some time has passed since the last time it was brought up. You could try searching any of the archives.

RE: Maven Embedder

2011-08-17 Thread Thiessen, Todd (Todd)
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

RE: Maven Embedder

2011-08-17 Thread Thiessen, Todd (Todd)
, Todd (Todd) [mailto:tthies...@avaya.com] Sent: Wednesday, August 17, 2011 4:01 PM To: Maven Users List Subject: RE: Maven Embedder 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

Re: Maven embedder examples

2011-03-10 Thread VietnamCoder
This message is too old. Anyway I post my solution here in case someone needs it: org.apache.maven maven-embedder 3.0-alpha-2 test The 3.0-alpha-2 version works for

RE: Maven embedder examples

2011-03-10 Thread Martin Gainty
: Wed, 9 Mar 2011 23:16:12 -0800 From: nguyenhoai...@gmail.com To: users@maven.apache.org Subject: Re: Maven embedder examples This message is too old. Anyway I post my solution here in case someone needs it: org.apache.maven

Re: [Maven embedder] How to retrieve the list of available versions of a given plugin?

2010-03-11 Thread Xavier SEIGNARD
Ok thanks, But even if I look in the maven-versions-plugin I can't find out how to get a list of versions of a given artifact programatically from a given grouId, artifactId, local repo and remote repos. Do you have a code snippet or a link to a class doing it? Regards, Xavier 2010/3/10, Jason

Re: [Maven embedder] How to retrieve the list of available versions of a given plugin?

2010-03-10 Thread Ron Wheeler
If you have Nexus installed, you can just go to the index, work your way down to the artifact and see all the versions that are available. Ron xavier.seign...@gmail.com wrote: Hello, I would like to know how to retrieve list of available versions of a given plugin with the maven embedder.

Re: [Maven embedder] How to retrieve the list of available versions of a given plugin?

2010-03-10 Thread Jason van Zyl
I suggest using the maven-versions-plugin: http://mojo.codehaus.org/versions-maven-plugin/index.html On Mar 10, 2010, at 6:39 AM, xavier.seign...@gmail.com wrote: Hello, I would like to know how to retrieve list of available versions of a given plugin with the maven embedder. In input I

Re: [Maven embedder] How to retrieve the list of available versions of a given plugin?

2010-03-10 Thread lukewpatterson
xavier.seignard wrote: I would like to know how to retrieve list of available versions of a given plugin with the maven embedder. In input I only have a groupId, an artifactId, a local repo and a list of remote repos. In output I would like to have a list containing all the

Re: Re: [Maven embedder] How to retrieve the list of available versions of a given plugin?

2010-03-10 Thread xavier . seignard
Thanks for the tips! But, I don't see how can I use the maven-version-plguin to get the list of all versions available of a given artifact. Can you indacate me how to do it? And I don't wan't to make my usage of Maven embedder dependent to Nexus (which is BTW a great tool). Thanks for

Re: [Maven embedder] How to retrieve the list of available versions of a given plugin?

2010-03-10 Thread Jason van Zyl
The embedder doesn't currently exist anymore. I'm remaking it so it's not there to use. If the versions plugin doesn't do what you need internally it finds a list of the versions so you can borrow it's code which will work in maven 2 or maven 3. We've preserved the use of the old apis. The

Re: Maven Embedder thread safety

2009-11-18 Thread Fabien Coppens
Hi folks. Any chance I can get an answer to those questions below ? Thanks. Fabien Original Message Subject: Maven Embedder thread safety Date: Tue, 17 Nov 2009 14:45:55 +0100 From: Fabien Coppens fabien.copp...@free.fr Reply-To: Maven Users List

Re: Maven Embedder thread safety

2009-11-18 Thread Anders Hammar
Fabien, Please understand that you're cutting edge here and not very many people have this deep insight in Maven 3. Thus, getting an answer could take more than one day, if you get one at all. Also, the maven developer list might be more appropriate for questions like this. /Anders On Wed, Nov

Re: Maven Embedder and phase bindings

2009-04-03 Thread Jason van Zyl
On 3-Apr-09, at 12:24 PM, Ford, Mark wrote: I am attempting to execute a clean and install for a project through the Maven Embedder (3.0-alpha-2). The build runs without any error but there are a number of mojo's that are never executed. For example: resources, compile, jar, etc. I only

Re: Maven Embedder - Jar in official repo is too old

2009-01-23 Thread Jim Shingler
The repository below requires a userid and password, . . . do you have public repository, . . . I have a need for maven embedder too. Jason van Zyl-2 wrote: Take it from the CI system, there is no official release. http://ci.sonatype.org/view/Maven%203.0.x/job/maven-3.0.x-bootstrap/

Re: Maven Embedder - Jar in official repo is too old

2008-09-04 Thread Kem Elbrader
I'm also interested in using maven embedder and don't know which version to use and where to find it. I had been using 2.1-SNAPSHOT from the snapshot repo but it seems to no longer be available. On Wed, Sep 3, 2008 at 1:12 PM, Shalin Shekhar Mangar [EMAIL PROTECTED] wrote: Hello, I'm trying to

Re: Maven Embedder - Jar in official repo is too old

2008-09-04 Thread Jason van Zyl
Take it from the CI system, there is no official release. http://ci.sonatype.org/view/Maven%203.0.x/job/maven-3.0.x-bootstrap/ On 4-Sep-08, at 9:00 AM, Kem Elbrader wrote: I'm also interested in using maven embedder and don't know which version to use and where to find it. I had been using

Re: Maven Embedder 2.1-SNAPSHOT

2008-08-12 Thread Jason van Zyl
Go to the Hudson job, for example here: http://ci.sonatype.org/view/Maven%203.0.x/job/maven-3.0.x-bootstrap/ And then navigate into the workspace: http://ci.sonatype.org/view/Maven%203.0.x/job/maven-3.0.x-bootstrap/ws/trunk/maven-embedder/target/ I can publish these to Nexus where you can

Re: Maven Embedder 2.1-SNAPSHOT

2008-08-12 Thread Kem Elbrader
Yeah, that'd be great. Development on one of our projects has been put on hold after we purged our local repositories and our instance of nexus. After the snapshots were removed from http://people.apache.org/repo/m2-snapshot-repository we were lost :) On Tue, Aug 12, 2008 at 11:26 AM, Jason van

Re: Maven Embedder 2.1-SNAPSHOT

2008-08-11 Thread Wendy Smoak
On Mon, Aug 11, 2008 at 9:34 AM, Kem Elbrader [EMAIL PROTECTED] wrote: What happened to the maven embedder 2.1 snapshot? http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/maven-embedder/2.1-SNAPSHOT/ Is it going to be deployed again? Is there another repository that has it

Re: Maven Embedder 2.1-SNAPSHOT

2008-08-11 Thread Kem Elbrader
Great, thanks. On Mon, Aug 11, 2008 at 11:01 AM, Wendy Smoak [EMAIL PROTECTED] wrote: On Mon, Aug 11, 2008 at 9:34 AM, Kem Elbrader [EMAIL PROTECTED] wrote: What happened to the maven embedder 2.1 snapshot?

Re: Maven embedder simple example

2007-07-17 Thread Jason van Zyl
On 17 Jul 07, at 2:14 PM 17 Jul 07, guilherme_silveira wrote: Hello there, I have searched both users and dev mailing list archive but could not find a simple example appart from http://maven.apache.org/guides/mini/guide-embedding-m2.html The problem here is that Configuration,

Re: Maven embedder simple example

2007-07-17 Thread guilherme_silveira
great, thanks for the reply. answers all my questions regards guilherme -- View this message in context: http://www.nabble.com/Maven-embedder-simple-example-tf4099532s177.html#a11659633 Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Maven Embedder Example?

2007-05-07 Thread mraible
I figured out how to generate an archetype programmatically (see code below). Now I'm trying to execute goals w/in that project using MavenEmbedder. It seems to *almost* works, except that a plugin with extensionstrue/extensions is failing. Does the MavenEmbedder not support plugins with

Re: maven embedder pb

2007-01-31 Thread Arnaud Bailly
franz see [EMAIL PROTECTED] writes: Good day to you, Arnaud, Thanks fro your answer Franz, That's actually the way I did it. Here is the mojo code: /*__ * * Copyright (C) 2006 Arnaud Bailly / OQube * * This

Re: maven embedder pb

2007-01-29 Thread franz see
Good day to you, Arnaud, Your parameters must match your mojo's fields. And those fields must have an @parameter annotation at the very least. Since you have sourceOutput, testSource, filterIn, and lenient as parameters, you should have those as fields as well. Something like /** *