Using Spring 2.5.1 for Spring-dao and Spring-hibernate3

2008-01-28 Thread Jacob Bergoo

Hi,
I am beginner with maven and now I am trying to create a project that uses
Tapestry 5, Spring 2.5.1, Hibernate 3, MySQL

I have created a archtype for tapestry5 and added :

dependency
  groupIdorg.springframework/groupId
  artifactIdspring-web/artifactId
  version2.5.1/version
/dependency 

this works fine and downloads 
spring-beans, spring-core,spring-context and spring-web to my local
repository, but I want to use hibernate 3 with spring (I need the
spring-dao, spring-hibernate3, spring-jdbc, spring-aop also)

when I try to add this to my pom.xml It didn't find anything more to
download

dependency
  groupIdorg.springframework/groupId 
  artifactIdspring-dao/artifactId 
  version2.5.1/version 
/dependency 
dependency 
   groupIdorg.springframework/groupId 
   artifactIdspring-hibernate3/artifactId 
   version2.5.1/version 
/dependency 

Am I doing something wrong here? Thanks for any help
Jacob


-- 
View this message in context: 
http://www.nabble.com/Using-Spring-2.5.1-for-Spring-dao-and-Spring-hibernate3-tp15149196s177p15149196.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Using Spring 2.5.1 for Spring-dao and Spring-hibernate3

2008-01-28 Thread Fred Zhang
Hi Jacob,

Read the on-line book here to understand maven coordination:
http://www.sonatype.com/book/simple-project.html#maven_coordinates

and then check the maven 2 repository here with your browser to find what 
artifacts or which specific versions are available:
http://repo1.maven.org/maven2/org/springframework/

Hope it helps.

Best Regards

Fred Zhang

-邮件原件-
发件人: Jacob Bergoo [mailto:[EMAIL PROTECTED]
发送时间: 2008年1月29日 8:09
收件人: users@maven.apache.org
主题: Using Spring 2.5.1 for Spring-dao and Spring-hibernate3


Hi,
I am beginner with maven and now I am trying to create a project that uses
Tapestry 5, Spring 2.5.1, Hibernate 3, MySQL

I have created a archtype for tapestry5 and added :

dependency
  groupIdorg.springframework/groupId
  artifactIdspring-web/artifactId
  version2.5.1/version
/dependency

this works fine and downloads
spring-beans, spring-core,spring-context and spring-web to my local
repository, but I want to use hibernate 3 with spring (I need the
spring-dao, spring-hibernate3, spring-jdbc, spring-aop also)

when I try to add this to my pom.xml It didn't find anything more to
download

dependency
  groupIdorg.springframework/groupId
  artifactIdspring-dao/artifactId
  version2.5.1/version
/dependency
dependency
   groupIdorg.springframework/groupId
   artifactIdspring-hibernate3/artifactId
   version2.5.1/version
/dependency

Am I doing something wrong here? Thanks for any help
Jacob


--
View this message in context: 
http://www.nabble.com/Using-Spring-2.5.1-for-Spring-dao-and-Spring-hibernate3-tp15149196s177p15149196.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Using Spring 2.5.1 for Spring-dao and Spring-hibernate3

2008-01-28 Thread Jacob Bergoo

Hi Fred,
Thanks for the answer, it helped me get it right.

Cheers,
Jacob



Fred Zhang-2 wrote:
 
 Hi Jacob,
 
 Read the on-line book here to understand maven coordination:
 http://www.sonatype.com/book/simple-project.html#maven_coordinates
 
 and then check the maven 2 repository here with your browser to find what
 artifacts or which specific versions are available:
 http://repo1.maven.org/maven2/org/springframework/
 
 Hope it helps.
 
 Best Regards
 
 Fred Zhang
 
 -邮件原件-
 发件人: Jacob Bergoo [mailto:[EMAIL PROTECTED]
 发送时间: 2008年1月29日 8:09
 收件人: users@maven.apache.org
 主题: Using Spring 2.5.1 for Spring-dao and Spring-hibernate3
 
 
 Hi,
 I am beginner with maven and now I am trying to create a project that uses
 Tapestry 5, Spring 2.5.1, Hibernate 3, MySQL
 
 I have created a archtype for tapestry5 and added :
 
 dependency
   groupIdorg.springframework/groupId
   artifactIdspring-web/artifactId
   version2.5.1/version
 /dependency
 
 this works fine and downloads
 spring-beans, spring-core,spring-context and spring-web to my local
 repository, but I want to use hibernate 3 with spring (I need the
 spring-dao, spring-hibernate3, spring-jdbc, spring-aop also)
 
 when I try to add this to my pom.xml It didn't find anything more to
 download
 
 dependency
   groupIdorg.springframework/groupId
   artifactIdspring-dao/artifactId
   version2.5.1/version
 /dependency
 dependency
groupIdorg.springframework/groupId
artifactIdspring-hibernate3/artifactId
version2.5.1/version
 /dependency
 
 Am I doing something wrong here? Thanks for any help
 Jacob
 
 
 --
 View this message in context:
 http://www.nabble.com/Using-Spring-2.5.1-for-Spring-dao-and-Spring-hibernate3-tp15149196s177p15149196.html
 Sent from the Maven - Users mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Using-Spring-2.5.1-for-Spring-dao-and-Spring-hibernate3-tp15149196s177p15151949.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]