You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Scott Kurz <sc...@gmail.com> on 2006/06/13 16:29:13 UTC

bulding a sandbox / branch

How does one build sandbox code, for example Jeremy's sandbox (which he's
moving to a branch) ?

I tried extracting the sandbox and unzipping over M1, but the Maven build
fails


Project ID: null:tuscany-sca:pom:SNAPSHOT

Reason: Cannot find parent: org.apache.tuscany:tuscany-project for project:
null:tuscany-sca:pom:SNAPSHOT


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.apache.tuscany:tuscany-project for project:
null:tuscany-sca:pom:SNAPSHOT
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
....
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent: org.apache.tuscany:tuscany-project for project:
null:tuscany-sca:pom:SNAPSHOT
        at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
DefaultMavenProjectBuilder.java:1161)



The problem looks to me to be that the sandbox is looking for a "SNAPSHOT"
version, while M1 is using "incubating-M1".

So I can try changing the sandbox pom.xml's over to use "incubating-M1", but
I didn't see any instructions so was curious if this was
the recommended way.

Thanks

Re: bulding a sandbox / branch

Posted by Jim Marino <jm...@myromatours.com>.
You should not unzip the sandbox structure over the M1 structure.  
Just do an svn co of the sandbox and then mvn from there. All of the  
poms will come down as part of the checkout and dependencies will be  
downloaded as part of the maven build.

Jim

On Jun 13, 2006, at 8:58 AM, Scott Kurz wrote:

> OK.. doing a find-replace on the sandbox's poms seems to work...  
> just making
> sure that was correct... thanks
>
> On 6/13/06, Jim Marino <jm...@myromatours.com> wrote:
>>
>> The easiest solution to this is to check the sandbox code out and
>> build it using the correct poms.
>>
>> Jim
>>
>> On Jun 13, 2006, at 7:29 AM, Scott Kurz wrote:
>>
>> > How does one build sandbox code, for example Jeremy's sandbox
>> > (which he's
>> > moving to a branch) ?
>> >
>> > I tried extracting the sandbox and unzipping over M1, but the Maven
>> > build
>> > fails
>> >
>> >
>> > Project ID: null:tuscany-sca:pom:SNAPSHOT
>> >
>> > Reason: Cannot find parent: org.apache.tuscany:tuscany-project for
>> > project:
>> > null:tuscany-sca:pom:SNAPSHOT
>> >
>> >
>> > [INFO]
>> >  
>> --------------------------------------------------------------------- 
>> -
>> > --
>> > [INFO] Trace
>> > org.apache.maven.reactor.MavenExecutionException: Cannot find  
>> parent:
>> > org.apache.tuscany:tuscany-project for project:
>> > null:tuscany-sca:pom:SNAPSHOT
>> >        at org.apache.maven.DefaultMaven.getProjects
>> > (DefaultMaven.java:365)
>> > ....
>> > Caused by: org.apache.maven.project.ProjectBuildingException:
>> > Cannot find
>> > parent: org.apache.tuscany:tuscany-project for project:
>> > null:tuscany-sca:pom:SNAPSHOT
>> >        at
>> >  
>> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
>> > DefaultMavenProjectBuilder.java:1161)
>> >
>> >
>> >
>> > The problem looks to me to be that the sandbox is looking for a
>> > "SNAPSHOT"
>> > version, while M1 is using "incubating-M1".
>> >
>> > So I can try changing the sandbox pom.xml's over to use  
>> "incubating-
>> > M1", but
>> > I didn't see any instructions so was curious if this was
>> > the recommended way.
>> >
>> > Thanks
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: bulding a sandbox / branch

Posted by Scott Kurz <sc...@gmail.com>.
OK.. doing a find-replace on the sandbox's poms seems to work... just making
sure that was correct... thanks

On 6/13/06, Jim Marino <jm...@myromatours.com> wrote:
>
> The easiest solution to this is to check the sandbox code out and
> build it using the correct poms.
>
> Jim
>
> On Jun 13, 2006, at 7:29 AM, Scott Kurz wrote:
>
> > How does one build sandbox code, for example Jeremy's sandbox
> > (which he's
> > moving to a branch) ?
> >
> > I tried extracting the sandbox and unzipping over M1, but the Maven
> > build
> > fails
> >
> >
> > Project ID: null:tuscany-sca:pom:SNAPSHOT
> >
> > Reason: Cannot find parent: org.apache.tuscany:tuscany-project for
> > project:
> > null:tuscany-sca:pom:SNAPSHOT
> >
> >
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] Trace
> > org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> > org.apache.tuscany:tuscany-project for project:
> > null:tuscany-sca:pom:SNAPSHOT
> >        at org.apache.maven.DefaultMaven.getProjects
> > (DefaultMaven.java:365)
> > ....
> > Caused by: org.apache.maven.project.ProjectBuildingException:
> > Cannot find
> > parent: org.apache.tuscany:tuscany-project for project:
> > null:tuscany-sca:pom:SNAPSHOT
> >        at
> > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > DefaultMavenProjectBuilder.java:1161)
> >
> >
> >
> > The problem looks to me to be that the sandbox is looking for a
> > "SNAPSHOT"
> > version, while M1 is using "incubating-M1".
> >
> > So I can try changing the sandbox pom.xml's over to use "incubating-
> > M1", but
> > I didn't see any instructions so was curious if this was
> > the recommended way.
> >
> > Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

Re: bulding a sandbox / branch

Posted by Jim Marino <jm...@myromatours.com>.
The easiest solution to this is to check the sandbox code out and  
build it using the correct poms.

Jim

On Jun 13, 2006, at 7:29 AM, Scott Kurz wrote:

> How does one build sandbox code, for example Jeremy's sandbox  
> (which he's
> moving to a branch) ?
>
> I tried extracting the sandbox and unzipping over M1, but the Maven  
> build
> fails
>
>
> Project ID: null:tuscany-sca:pom:SNAPSHOT
>
> Reason: Cannot find parent: org.apache.tuscany:tuscany-project for  
> project:
> null:tuscany-sca:pom:SNAPSHOT
>
>
> [INFO]
> ---------------------------------------------------------------------- 
> --
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> org.apache.tuscany:tuscany-project for project:
> null:tuscany-sca:pom:SNAPSHOT
>        at org.apache.maven.DefaultMaven.getProjects 
> (DefaultMaven.java:365)
> ....
> Caused by: org.apache.maven.project.ProjectBuildingException:  
> Cannot find
> parent: org.apache.tuscany:tuscany-project for project:
> null:tuscany-sca:pom:SNAPSHOT
>        at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> DefaultMavenProjectBuilder.java:1161)
>
>
>
> The problem looks to me to be that the sandbox is looking for a  
> "SNAPSHOT"
> version, while M1 is using "incubating-M1".
>
> So I can try changing the sandbox pom.xml's over to use "incubating- 
> M1", but
> I didn't see any instructions so was curious if this was
> the recommended way.
>
> Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org