at it
becomes part of the 2.1 version if everyone agrees to this fix.
Hermod
-Original Message-
From: Opstvedt, Hermod
Sent: Tuesday, June 06, 2006 7:11 AM
To: dev@maven.apache.org
Subject: RE: creating a new project with the MavenEmbedder
Hi
I might have a slight variation to you stat
idio Mallo [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 04, 2006 4:52 PM
To: Maven Developers List
Subject: Re: creating a new project with the MavenEmbedder
Hi,
I'm attaching a patch which tries to solve the issue with the basedir
discussed in this thread. The value of the ${basedir} expression is
ED]
Sent: Sunday, June 04, 2006 4:52 PM
To: Maven Developers List
Subject: Re: creating a new project with the MavenEmbedder
Hi,
I'm attaching a patch which tries to solve the issue with the basedir
discussed in this thread. The value of the ${basedir} expression is
thereby computed by one
ECTED]
Sent: Friday, June 02, 2006 9:26 AM
To: Maven Developers List
Subject: Re: creating a new project with the MavenEmbedder
[EMAIL PROTECTED] wrote:
Hi
Have not had the time before now.
It still does not work. The basedir is still set to the current directory.
The ${basedir} will be s
om: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 12:10 PM
To: Maven Developers List
Subject: Re: creating a new project with the MavenEmbedder
[EMAIL PROTECTED] wrote:
Hi
Something must be wrong in another place. The eclipse:eclipse goal excutes ok
with the supplied (i.
the eclipse:eclipse
archetype does it right.
Hermod
-Original Message-
From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 12:10 PM
To: Maven Developers List
Subject: Re: creating a new project with the MavenEmbedder
[EMAIL PROTECTED] wrote:
> Hi
>
>
[EMAIL PROTECTED] wrote:
Hi
Something must be wrong in another place. The eclipse:eclipse goal excutes ok
with the supplied (i.e correct) basedir, but the MavenArchetypeMojo for some
reason is supplied the working directory, which is not what is supplied in the
call.
You mean if you add thi
--Original Message-
From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 9:26 AM
To: Maven Developers List
Subject: Re: creating a new project with the MavenEmbedder
[EMAIL PROTECTED] wrote:
> Hi
>
> Have not had the time before now.
>
> It still does not work.
[EMAIL PROTECTED] wrote:
Hi
Have not had the time before now.
It still does not work. The basedir is still set to the current directory.
The ${basedir} will be set to the value you set in the embedder, this is
working for me in my IDEA plugin where I use the embedder.
Can you include the p
@maven.apache.org
Subject: RE: creating a new project with the MavenEmbedder
Hi
I'll fix it, and give it a test run.
thnx
Hermod
-Original Message-
From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 9:22 AM
To: Maven Developers List
Subject: Re: creating a new pr
Hi
I'll fix it, and give it a test run.
thnx
Hermod
-Original Message-
From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 9:22 AM
To: Maven Developers List
Subject: Re: creating a new project with the MavenEmbedder
[EMAIL PROTECTED] wrote:
> Hi
>
[EMAIL PROTECTED] wrote:
Hi
I have been giving this some thought, and I am wondering if this behaviour is by design (Committers: feel free to chip in here).
If you execute a mojo from a commandline, it takes effect from the current
directory. There is no parameter/command line switch to dire
[EMAIL PROTECTED] wrote:
Hi
I tried what you suggested, and it did create a project in a directory with the
given artifactId, i.e:
mvn -f foo/pom.xml archetype:create -DartifactId=whatever <<< creates a project
under whatever and the output is :
[snip]
Notice that the basedir from the lo
2006 9:01 AM
To: Maven Developers List
Subject: Re: creating a new project with the MavenEmbedder
Hi again,
> [...] Anyways, the issue of archetype:create and baseDir still stands.
That's true. The same thing happens to me.
> No cigar - Doing it two steps yields the same result as if
rong first.
Hermod
-Original Message-
From: Ovidio Mallo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 9:01 AM
To: Maven Developers List
Subject: Re: creating a new project with the MavenEmbedder
Hi again,
> [...] Anyways, the issue of archetype:create and baseDir still stands
y 31, 2006 8:39 AM
To: dev@maven.apache.org
Subject: RE: creating a new project with the MavenEmbedder
Hi
Ok, I'll give that a try and see what happens then. Anyways, the issue of
archetype:create and baseDir still stands.
Hermod
-Original Message-
From: Ovidio Mallo [mailto:[EMA
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 8:39 AM
To: dev@maven.apache.org
Subject: RE: creating a new project with the MavenEmbedder
Hi
Ok, I'll give that a try and see what happens then. Anyways, the issue of
archetype:create and baseDir still
rchetype:create goal, but it is creating the eclipse stuff in foo !?
>
> Hermod
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 31, 2006 7:18 AM
> To: dev@maven.apache.org
> Subject: RE: creating a new projec
---
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 30, 2006 2:03 PM
To: dev@maven.apache.org
Subject: RE: creating a new project with the MavenEmbedder
Hi
I'll give it a try. If it does not work,
lto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 7:18 AM
To: dev@maven.apache.org
Subject: RE: creating a new project with the MavenEmbedder
Hi
I tried what you suggested, and it did create a project in a directory with the
given artifactId, i.e:
mvn -f foo/pom.xml archetype:create -DartifactId=
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 30, 2006 2:03 PM
To: dev@maven.apache.org
Subject: RE: creating a new project with the MavenEmbedder
Hi
I'll give it a try. If it does not work, I'll look into what goes on in
DefaultM
Hi
I'll give it a try. If it does not work, I'll look into what goes on in
DefaultMavenExecutionRequest.
Hermod
-Original Message-
From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 30, 2006 1:55 PM
To: Maven Developers List
Subject: Re: creating a new projec
[EMAIL PROTECTED] wrote:
Hi
Now that I got it running, I have discovered something that may be an error in
the DefaultExecutionRequest:
This is how I run it:
MavenExecutionRequest request = new
DefaultMavenExecutionRequest()
.setBasedir(new Fil
the project in the current directory ( I am running the
"archetype:create" goal). Is this a known error or am I presuming wrong here.
Hermod
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 30, 2006 1:23 PM
To: dev@maven.apache.org
Subject:
Hi
Bullseye - I had a 2.0.1 version in there. Now they are all 2.1-SNAPSHOT and it
works OK. Thnx.
Hermod
-Original Message-
From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 30, 2006 1:07 PM
To: Maven Developers List
Subject: Re: creating a new project with the
[EMAIL PROTECTED] wrote:
Hi
I was running in a directory where a pom existed.
Now running it in an empty directory gives me:
Component composition failed. No field of type: 'interface
org.apache.maven.artifact.transform.ArtifactTransformationManager' exists in
class 'org.apache.maven.project
urrent project as it is not of packaging type 'pom'
Hermod
-Original Message-
From: Ovidio Mallo [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 1:58 PM
To: Maven Developers List
Subject: Re: creating a new project with the MavenEmbedder
Hi Hermod!
The class compiles against
ssage-
From: Ovidio Mallo [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 1:58 PM
To: Maven Developers List
Subject: Re: creating a new project with the MavenEmbedder
Hi Hermod!
The class compiles against the current 2.1-SNAPSHOT version. The previous
versions 2.0.3 and 2.0.4 seem to
---
From: Rinku [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 10:19 PM
To: Maven Developers List
Subject: Re: creating a new project with the MavenEmbedder
Hi Hermod,
Coincidently, there was a thread on maven-users list about delegating
goal to another mojo (see yesterday's posts). I h
ginal Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Tuesday, May 30, 2006 12:34 AM
Subject: RE: creating a new project with the MavenEmbedder
Hi
Ok, I'll get it from SVN and compile it. Thnx
Hermod
-Original Message-
From: Ovidio Mallo [mailto:[EMAIL PROTECTED]
Sent: Mond
Hi
Ok, I'll get it from SVN and compile it. Thnx
Hermod
-Original Message-
From: Ovidio Mallo [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 1:58 PM
To: Maven Developers List
Subject: Re: creating a new project with the MavenEmbedder
Hi Hermod!
The class compiles agains
ay, May 28, 2006 12:36 PM
To: Maven Developers List
Subject: Re: creating a new project with the MavenEmbedder
Hi,
Thanks a lot, Kenney, for your explanation and code snippet! This is
exactly what I was looking for! I have filled in the tiny missing
details in your sample code to build up a worki
Developers List
Subject: Re: creating a new project with the MavenEmbedder
Hi,
Thanks a lot, Kenney, for your explanation and code snippet! This is
exactly what I was looking for! I have filled in the tiny missing
details in your sample code to build up a working example which you
can find below
Hi,
Thanks a lot, Kenney, for your explanation and code snippet! This is
exactly what I was looking for! I have filled in the tiny missing
details in your sample code to build up a working example which you
can find below. Just in case anyone else is interested in it.
One thing I noticed is that
On Sat, 27 May 2006, Ovidio Mallo wrote:
Hi,
Well, currently running archetype:create seems the simplest way to me.
The embedder is primarily meant to build projects, not to create them.
You might want to take a look at the maven-cli project. Some plugins, like
archetype, don't require an existi
35 matches
Mail list logo