Maven dependency for spring

Maven dependency for spring

Hi,

I have to use maven dependency for spring framework. I migrated my old project from ant to maven and now want to add maven dependency for spring in my project.

Let's know what is the dependency code?

Thanks

View Answers

July 12, 2017 at 9:46 PM

Hi,

Latest spring framework is 5.0.0.M5. Spring comes with spring core and on the top of this you can use may other modules of spring framework like spring aop, spring web, spring jdbc etc.

To include the 5.0.0.M5 core dependency in the project add following into pom.xml:

<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-core</artifactId>
    <version>5.0.0.M5</version>
</dependency>

After adding above dependency code maven tool will download all the jar files and include it in your project.

Learn Spring framework from our tutorial: Spring Framework tutorials page.

Thanks









Related Tutorials/Questions & Answers:
Maven Repository/Dependency: spring | spring
Maven Repository/Dependency of Group ID spring and Artifact ID spring. Latest version of spring:spring dependencies. # Version Release Date You can read more at: Maven Tutorials
Maven Dependency spring >> 1.0.2
You should include the dependency code given in this page to add Maven Dependency of spring >> spring version1.0.2 in your project
Advertisements
spring 5.4.1 maven dependency
spring 5.4.1 maven dependency  Hello Guys, I have to use spring core 5.4.1 in my current project which is using maven for dependency management. My... it to spring core 5.4.1. So, what dependency code should I add into my project's
Maven dependency for spring
Maven dependency for spring  Hi, I have to use maven dependency for spring framework. I migrated my old project from ant to maven and now want to add maven dependency for spring in my project. Let's know what is the dependency
spring 5.4.2 maven dependency
spring 5.4.2 maven dependency  Hi, How I can add the spring 5.4.2 maven dependency in my Java project to add this dependency in my project. Previously my project was using old version of spring core. Now we have to upgrade
spring modelandview maven dependency
spring modelandview maven dependency  Hi, how to add the spring modelandview maven dependency in pom.xml file. In my application its saying that ModelAndView class not found. Thanks   You should add the spring-webmvc
Maven Repository/Dependency: spring | spring-web
Maven Repository/Dependency of Group ID spring and Artifact ID spring-web. Latest version of spring:spring-web dependencies. # Version Release Date You can read more at: Maven
Maven Repository/Dependency: spring | spring-orm
Maven Repository/Dependency of Group ID spring and Artifact ID spring-orm. Latest version of spring:spring-orm dependencies. # Version Release Date You can read more at: Maven
Maven Repository/Dependency: spring | spring-mock
Maven Repository/Dependency of Group ID spring and Artifact ID spring-mock. Latest version of spring:spring-mock dependencies. # Version Release Date You can read more at: Maven
Maven Repository/Dependency: spring | spring-dao
Maven Repository/Dependency of Group ID spring and Artifact ID spring-dao. Latest version of spring:spring-dao dependencies. # Version... You can read more at: Maven Tutorials What
Maven Repository/Dependency: spring | spring-core
Maven Repository/Dependency of Group ID spring and Artifact ID spring-core. Latest version of spring:spring-core dependencies. # Version Release Date You can read more at: Maven
Maven Repository/Dependency: spring | spring-beans
Maven Repository/Dependency of Group ID spring and Artifact ID spring-beans. Latest version of spring:spring-beans dependencies. # Version Release Date You can read more at: Maven
Maven Repository/Dependency: spring | spring-aop
Maven Repository/Dependency of Group ID spring and Artifact ID spring-aop. Latest version of spring:spring-aop dependencies. # Version Release Date You can read more at: Maven
Maven Repository/Dependency: spring | spring-webmvc
Maven Repository/Dependency of Group ID spring and Artifact ID spring-webmvc. Latest version of spring:spring-webmvc dependencies... Aug 2005 You can read more at: Maven Tutorials What
Maven Repository/Dependency: spring | spring-context
Maven Repository/Dependency of Group ID spring and Artifact ID spring-context. Latest version of spring:spring-context dependencies... Aug 2005 You can read more at: Maven Tutorials What
spring-expression maven dependency
spring-expression maven dependency  Hi, What is maven dependency of latest version of spring-expression? What code should i add to get spring-expression maven dependency in my project? Thanks   Hi, The Spring
Maven Dependency spring-aop >> 1.0.2
You should include the dependency code given in this page to add Maven Dependency of spring >> spring-aop version1.0.2 in your project
Maven Dependency spring-core >> 1.0.2
You should include the dependency code given in this page to add Maven Dependency of spring >> spring-core version1.0.2 in your project
Maven Dependency spring-orm >> 1.0.2
You should include the dependency code given in this page to add Maven Dependency of spring >> spring-orm version1.0.2 in your project
Maven Dependency spring-beans >> 1.0.2
You should include the dependency code given in this page to add Maven Dependency of spring >> spring-beans version1.0.2 in your project
Maven Dependency spring-context >> 1.0.2
You should include the dependency code given in this page to add Maven Dependency of spring >> spring-context version1.0.2 in your project
Maven Dependency spring-dao >> 1.0.2
You should include the dependency code given in this page to add Maven Dependency of spring >> spring-dao version1.0.2 in your project
Maven Dependency spring-mock >> 1.0.2
You should include the dependency code given in this page to add Maven Dependency of spring >> spring-mock version1.0.2 in your project
Maven Dependency spring-web >> 1.0.2
You should include the dependency code given in this page to add Maven Dependency of spring >> spring-web version1.0.2 in your project
Maven Dependency spring-webmvc >> 1.0.2
You should include the dependency code given in this page to add Maven Dependency of spring >> spring-webmvc version1.0.2 in your project
What is maven dependency for spring?
What is maven dependency for spring?  Hi, How I can add all the maven dependency of Spring Framework in pom.xml file? Thanks   Hi, Spring framework is big framework but its good news that all the modules are separate
Version of spring>spring dependency
List of Version of spring>spring dependency
spring boot 2.2.0 maven dependency
of Spring boot 2.2.0? What is spring boot 2.2.0 maven dependency? Thanks...spring boot 2.2.0 maven dependency  Hi, I have spring boot old... 2.2.0 you add following maven dependency in your pom.xml of project: <
spring 5 maven dependency example
spring 5 maven dependency example  Hi, I am interested in learning how to use the spring 5 dependency with example. Can anyone please guide on this? Share me good examples. Thanks
spring-context maven dependency
spring-context maven dependency  Hi, What is the use of maven dependency and how I can add spring-context maven dependency to my Eclipse project.... In order to use the Maven dependency in your eclipse project you have to convert your
spring context dependency maven code
spring context dependency maven code  Hi, I want to use Spring... into my pom.xml file. What is spring context dependency maven code? Thanks...;/dependency> You can checkout more at: Spring Context Maven Dependency. Thanks
spring boot maven dependency for mysql
spring boot maven dependency for mysql  Hi, I want to add MySQL maven dependency in Spring Boot application. I don't know the version to be added. So what should I add into the pom.xml file of my spring boot application? Thanks
maven dependency spring data jpa
maven dependency spring data jpa  Hi, I have to use spring data JPA library from Spring framework in a project. Now I am doing a POC for this. So, trying to find the latest maven dependency for spring data jpa. What dependency
Maven Dependency spring >> 1.0
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.0 in your project
Maven Dependency spring >> 1.0.1
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.0.1 in your project
Maven Dependency spring >> 1.0-m4
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.0-m4 in your project
Maven Dependency spring >> 1.0-rc1
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.0-rc1 in your project
Maven Dependency spring >> 1.1
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.1 in your project
Maven Dependency spring >> 1.1.1
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.1.1 in your project
Maven Dependency spring >> 1.1.2
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.1.2 in your project
Maven Dependency spring >> 1.1.3
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.1.3 in your project
Maven Dependency spring >> 1.1.4
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.1.4 in your project
Maven Dependency spring >> 1.1.5
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.1.5 in your project
Maven Dependency spring >> 1.1-rc1
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.1-rc1 in your project
Maven Dependency spring >> 1.1-rc2
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.1-rc2 in your project
Maven Dependency spring >> 1.2
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.2 in your project
Maven Dependency spring >> 1.2.1
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.2.1 in your project
Maven Dependency spring >> 1.2.2
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.2.2 in your project
Maven Dependency spring >> 1.2.3
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.2.3 in your project
Maven Dependency spring >> 1.2.4
You should include the dependency code given in this page to add Maven Dependency of springframework >> spring version1.2.4 in your project

Ads