2010/1/26 Dan Bergh Johnsson <[email protected]>

> Hmmm ... repo trouble ... might that be related to what I am experiencing?
>
> I tried to be a good guy and brush up my qi4jing for the seminar, so
> yesterday I made a fresh clone git://dscm.ops4j.org/qi4j-tutorials.git to
> do some hacking around on my own. However, when mvn installing the "Qi4j
> Tutorial - Composite" build failed (those before that one succeeded).
>
> I got
> <terminalsnippet>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Qi4j Tutorial - Composite
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading:
> http://repository.ops4j.org/mvn-snapshots/org/openrdf/sesame/sesame-model/2.3.0/sesame-model-2.3.0.pom
> Downloading:
> http://repo1.maven.org/maven2/org/openrdf/sesame/sesame-model/2.3.0/sesame-model-2.3.0.pom
> Downloading:
> http://repository.ops4j.org/mvn-snapshots/org/openrdf/sesame/sesame-rio-n3/2.3.0/sesame-rio-n3-2.3.0.pom
> Downloading:
> http://repo1.maven.org/maven2/org/openrdf/sesame/sesame-rio-n3/2.3.0/sesame-rio-n3-2.3.0.pom
> Downloading:
> http://repository.ops4j.org/mvn-snapshots/org/openrdf/sesame/sesame-core/2.3.0/sesame-core-2.3.0.pom
> Downloading:
> http://repo1.maven.org/maven2/org/openrdf/sesame/sesame-core/2.3.0/sesame-core-2.3.0.pom
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: null:sesame-runtime:jar:null
>
> Reason: Cannot find parent: org.openrdf.sesame:sesame-core for project:
> null:sesame-runtime:jar:null for project null:sesame-runtime:jar:null
> </terminalsnippet>
>
> And, by the way, my config is
> <terminalsnippet>
> dajob04:composites danbjlocal$ mvn -v
> Maven version: 2.0.9
> Java version: 1.6.0_15
> OS name: "mac os x" version: "10.6.2" arch: "x86_64" Family: "mac"
> </terminalsnippet>
>
> I know you are probably all totally preoccupied today, but if someone can
> shed some light without spending too much time I would be grateful. (During
> the day I am home on parental leave with my two sons, so I will not be able
> to do much until I step on the train to go to the seminar.)
>
>
> Yours
>
>   Dan
>
>
>
> ________________________________________
> Från: [email protected] [[email protected]]
> f&#246;r Edward Yakop [[email protected]]
> Skickat: den 26 januari 2010 08:09
> Till: niclas; qi4j-dev
> Ämne: Re: [qi4j-dev] Tomorrow
>
> Ouch!
> Perhaps we should try to get nexus open source license and roll our
> own nexus instance like jboss etcs.
>
> Regards,
> Edward Yakop
>
>
>
> On Tue, Jan 26, 2010 at 14:49, Niclas Hedhman <[email protected]> wrote:
> > Gang!!!!
> >
> > Release via Sonatype's OSS Nexus hosting is aborted!!!
> >
> > Sonatype requires that no other repositories are referenced in the
> > POMs. All dependent artifacts must reside on Central Repository, or we
> > can't be sync'd up to Central. I understand the rationale (breakage
> > when dependencies move location), BUT I completely disagree with the
> > solution... (A federated referral system across participating
> > repositories should be the way to deal with it, but I disgress).
> >
> > I will try and revert everything back to using our own repository, but
> > before that, I will instead generate the SDK build locally and upload
> > to the site so it can be downloaded.
> >
> >
> > Cheers
> > --
> > Niclas Hedhman, Software Developer
> > http://www.qi4j.org - New Energy for Java
> >
> > I  live here; http://tinyurl.com/2qq9er
> > I  work here; http://tinyurl.com/2ymelc
> > I relax here; http://tinyurl.com/2cgsug
> >
> > _______________________________________________
> > qi4j-dev mailing list
> > [email protected]
> > http://lists.ops4j.org/mailman/listinfo/qi4j-dev
> >
>
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>


Hi Dan,

I did a fresh clone from the same location.
I am getting a clean build :-)

<snip>
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] Qi4j Tutorial (Build POM) ............................. SUCCESS
[2.400s]
[INFO] Qi4j Tutorial - Introduction - 2 minutes .............. SUCCESS
[2.193s]
[INFO] Qi4j Tutorial - Introduction - 10 minutes ............. SUCCESS
[0.214s]
[INFO] Qi4j Tutorial - Introduction - 30 minutes ............. SUCCESS
[0.064s]
[INFO] Qi4j Tutorial - Introduction - 2 hours ................ SUCCESS
[0.045s]
[INFO] Qi4j Tutorial - Introduction (Build POM) .............. SUCCESS
[0.015s]
[INFO] Qi4j Tutorial - Composite ............................. SUCCESS
[4.974s]
[INFO] Qi4j Tutorial - Service ............................... SUCCESS
[3.945s]
[INFO] Qi4j Tutorial - Cargo ................................. SUCCESS
[1.947s]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 16 seconds
[INFO] Finished at: Tue Jan 26 22:50:50 IST 2010
[INFO] Final Memory: 46M/105M
[INFO]
------------------------------------------------------------------------

</snip>

Looking at the error you got, I think, somewhere you had a dependent pom
downloaded incorrectly.
Cleaning the local maven repository and trying again might give a different
result.
I executed the build($mvn clean install) from qi4j-tutorials directory.

@Niclas: Can we have a first repository as the central one and as a fail
safe one point to self hosted repositories.

Hope this helps.

~rohit.

-- 
Namasté,
The Divinity within me perceives and adores the Divinity within you.
****************************************************************************
http://rohitsz.blogspot.com
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to