OK, thanks Arvid - I had missed that (my relationship with Qi4j is rather 
bouncing in and out than anything stable and regular).

The SNAPSHOT argument is fine I think. An alternative solution in the same 
spirit could be to make the tutorials not depend on 1.2-SNAP but on REL 1.1. I 
guess, there is seldom we want the tutorials depend on something avant garde 
anyway.

What are your thoughts?

   Dan
________________________________
Från: [email protected] [[email protected]] för 
Arvid Huss [[email protected]]
Skickat: den 11 september 2010 10:12
Till: [email protected]
Ämne: Re: [qi4j-dev] Tutorial setup and description

No, that has been discontinued.

See: http://www.mail-archive.com/[email protected]/msg04879.html

Our Streamflow build server is always building the newest qi4j snapshots for 
our CI builds.

Locally we just build qi4j ourselves when necessary.

brg
/Arvid
Streamflow Developer

2010/9/11 Dan Bergh Johnsson 
<[email protected]<mailto:[email protected]>>

Come to think of it. Are there not a  OPS4J snapshot repo as well?

  Dan



Från: [email protected]<mailto:[email protected]> 
[[email protected]<mailto:[email protected]>] för 
Dan Bergh Johnsson 
[[email protected]<mailto:[email protected]>]

Skickat: den 11 september 2010 00:03

Till: [email protected]<mailto:[email protected]>

Ämne: Re: [qi4j-dev] Tutorial setup and description











Thanks Toni





That is kind of what I guessed - thanks for straightening out the details. 
Either way I think we should document it to remove any obstacle for people who 
wants to try Qi4j out. I am using myself as a guinea pig in this case.





  Dan





ps I am considering running a small Qi4j workshop together with some 
colleagues, so this "guinea pig" business is to some extent also preparations.




Från: [email protected]<mailto:[email protected]> 
[[email protected]<mailto:[email protected]>] för 
Toni Menzel [[email protected]<mailto:[email protected]>]

Skickat: den 10 september 2010 23:33

Till: [email protected]<mailto:[email protected]>

Ämne: Re: [qi4j-dev] Tutorial setup and description







Well, you are looking for snapshot versions, which will not appear on Maven 
Central or OPS4J Releases ever (the ones you appear to have set up).





So

- either Qi4J has set up a CI Build which deploys to a snapshot maven 
repository somewhere (which in turn you need to add to your settings.xml or 
local repository manager)

-or you need to build the relevant artifacts yourself from [1]





The first should have been documented on the website, if this is the case.

The second option will work anyway. - a side question to the qi4j guys, why is 
the qi4j sourcecode split into so many git repositories instead of a single one 
?





Toni





[1]
http://qi4j.org/qi4j/codebase.html




On Fri, Sep 10, 2010 at 10:33 PM, Dan Bergh Johnsson
<[email protected]<mailto:[email protected]>> 
wrote:







Hi Qi4j-gang





As usual after being at a presentation with Rickard I get this urge to get into 
Qi4j again. So, here I sit a Friday evening with one eye watching old SICP 
relays and the other one trying to get a Qi4j environment going (again, as my 
last laptop did not
 survive my one-year old son throwing up straight into its keyboard).





If I clone the qi4j-tutorials and try to mvn install them I get some build 
failures as mvn cannot find three dependent artifacts





<snip>

Missing:

----------

1) org.qi4j.core:qi4j-core-api:jar:1.2-SNAPSHOT

2) org.qi4j.core:qi4j-core-bootstrap:jar:1.2-SNAPSHOT

3) org.qi4j.core:qi4j-core-runtime:jar:1.2-SNAPSHOT





----------

3 required artifacts are missing.





for artifact:

 org.qi4j.tutorial:qi4j-two-minutes:jar:1.2-SNAPSHOT





from the specified remote repositories:

 central (http://repo1.maven.org/maven2),

 ops4j.releases.deploy (http://repository.ops4j.org/maven2)

</snip>





If I resolve this by cloning and mvn install qi4j-core I get the same report 
for libraries instead. If I clone and mvn install qi4j-libraries, then 
qi4j-tutorials runs fine.





So, obviously qi4j-tutorials is not set to fetch qi4j-core and qi4j-libraries 
SNAPSHOTs from repositories. I guessed it should be just adding the repository 
declaration under "Maven Usage" on qi4j/downloads.html - but it didn't.





Then I realised that the dependency from qi4j-libraries to qi4j-core does not 
work either, so this is perhaps not just a miss but a design choise?





Either way, I would be happy updating the tutorial or the poms. But could you 
please tell me which way is intended?





Yours





  Dan








_______________________________________________

qi4j-dev mailing list

[email protected]<mailto:[email protected]>

http://lists.ops4j.org/mailman/listinfo/qi4j-dev










--

Toni Menzel || http://okidokiteam.com











_______________________________________________
qi4j-dev mailing list
[email protected]<mailto:[email protected]>
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to