if you add the tapestry-hibernate dependency to you pom.xml maven will resolve the transitive dependencies automatically.
could it be, that you are working in offline mode? thats the only thing i could imagine why you don't get the dependencies. or maybe a proxy?... as mentioned before, open your pom.xml file with the "Maven POM Editor" and open tab "Dependency Hierarchy" and you'll see every dependency that is resolved by maven. (i assume your are using eclipse and the latest m2-eclipse plugin) g, kris "Newham, Cameron" <cameron.new...@bl.uk> 16.07.2009 14:42 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An "Tapestry users" <users@tapestry.apache.org> Kopie Thema RE: t5: moving to 5.1.0.5 and can't find @Inject Thanks Kris, it would be nice if it did! I already have tapestry-hibernate-5.1.0.5. No tapestry-hibernate-core though. Maven is such a heap of *** Again, it would be nice if the classes and their whereabouts were actually documented. It seems to be such a lapse not to do so - not to mention a lot of pain having to ask on here! -----Original Message----- From: Kristian Marinkovic [mailto:kristian.marinko...@porsche.co.at] Sent: 16 July 2009 13:20 To: Tapestry users Subject: RE: t5: moving to 5.1.0.5 and can't find @Inject you have to include tapestry-hibernate-5.1.0.5 this will in turn include tapestry-hibernate-core that contains the annotation g kris "Newham, Cameron" <cameron.new...@bl.uk> 16.07.2009 14:09 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An "Tapestry users" <users@tapestry.apache.org> Kopie Thema RE: t5: moving to 5.1.0.5 and can't find @Inject Thanks Kristian. I had to manually add it to my POM - that did the trick. However, sorry to be a pest everyone, but I cannot now find: org.apache.tapestry5.hibernate.annotations.CommitAfter This is in the 5.0.18 version of the tapestry-hibernate jar but not in the 5.1.0.5 version. Is there anywhere I can find out exactly what things have been moved between jars and what re-ordering has taken place? I can't find anything on the Tapestry 5 website that is relevant. Surely this should be documented in release notes? Also, is there anywhere I can find a list of classes and what jars they are in. There doesn't appear to be any way to find this out on-line. Thanks. -----Original Message----- From: Kristian Marinkovic [mailto:kristian.marinko...@porsche.co.at] Sent: 15 July 2009 11:47 To: Tapestry users Subject: RE: t5: moving to 5.1.0.5 and can't find @Inject @Inject is located in tapestry5-annotations-5.1.0.5.jar steps i have in mind 1) have you run mvn eclipse:eclipse... it will add any maven dependency as external library. remove all entries except the JRE entry and the "Maven Dependencies" entry. 2) deactivate the maven offline mode and do a dependency update g, kris "Newham, Cameron" <cameron.new...@bl.uk> 15.07.2009 11:56 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An "Tapestry users" <users@tapestry.apache.org> Kopie Thema RE: t5: moving to 5.1.0.5 and can't find @Inject I actually have M2 already installed. I hadn't looked at the dependency feature in the editor - thanks Thiago. I now know tapestry-ioc-5.0.18.jar is being used by Chenillekit. However, I am still unable to locate: org.apache.tapestry5.ioc.annotations.Inject It just doesn't exist - anywhere! Could someone please tell me in which JAR file it is supposed to be? It isn't in tapestry-ioc-5.0.18.jar (which is the only version of tapestry-ioc-xxx that Maven is downloading) as far as I can see. I don't understand why moving to 5.1.0.5 has caused this problem nor do I understand why @Inject has disappeared as it obviously existed before; I've been quite happily using that annotation throughout my project! If it would help to show my project POM I can post it... Thanks. -----Original Message----- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: 14 July 2009 14:58 To: Tapestry users Subject: Re: t5: moving to 5.1.0.4 and can't find @Inject Em Tue, 14 Jul 2009 10:19:49 -0300, Newham, Cameron <cameron.new...@bl.uk> escreveu: > If I don't include: > > <dependency> > <groupId>org.apache.tapestry</groupId> > <artifactId>tapestry-ioc</artifactId> > <version>${tapestry-release-version}</version> > </dependency> > > In the POM I get 5.1.0.5 for all jars *except* tapestry-ioc which always > downloads the 5.0.18 version /:-( This looks like some other package you're using depends on Tapestry-IoC 5.0.18. If you're using Eclipse, install the Sonatype's m2eclipse plugin. In its Maven pom.xml editor, it has a very nice feature that shows what dependencies are being included and by which dependency (transitive dependency). -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org ************************************************************************ ** Experience the British Library online at www.bl.uk The British Library's new interactive Annual Report and Accounts 2007/08 : www.bl.uk/knowledge Help the British Library conserve the world's knowledge. Adopt a Book. www.bl.uk/adoptabook The Library's St Pancras site is WiFi - enabled ************************************************************************ * The information contained in this e-mail is confidential and may be legally privileged. It is intended for the addressee(s) only. If you are not the intended recipient, please delete this e-mail and notify the postmas...@bl.uk : The contents of this e-mail must not be disclosed or copied without the sender's consent. The statements and opinions expressed in this message are those of the author and do not necessarily reflect those of the British Library. The British Library does not take any responsibility for the views of the author. ************************************************************************ * --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org