Saturday, October 13, 2018

Maven

 Why Maven?

We don’t want to store all the libraries in your project!
You want to tell I need A, B, C and you would want the tool to download the libraries and make them available to you.
That’s Maven. The tool which you use to manage the libraries.
If you need a new version of the library, you can change the version and your project is ready!
Also, You don’t need to worry about what libraries your library needs to work. For example, Spring might need other libaries - logging, xml etc.
Once you declare a dependency on Spring, Maven would download.


But  some  dependencies such as  

       
        <dependency>
            <groupId>com.oracle</groupId>
            <artifactId>ojdbc14</artifactId>
            <version>10.2.0.4.0</version>
        </dependency>

                                     we   have  do  add manually . We  can't  download  them  through  maven .




References  Used :- creating-spring-boot-project-with-eclipse-and-maven

No comments:

Post a Comment

The AI Driven Software Developer, Optimize Innovate Transform

  The AI-Driven Software Developer: Optimize, Innovate, Transform": AI Transformation in Software Development : Understand how AI is re...