Skip to content

Latest commit

 

History

History
39 lines (17 loc) · 1.51 KB

README.md

File metadata and controls

39 lines (17 loc) · 1.51 KB

Maven Assignment

Creating maven project with sub-modules:-

Step 1: Generate new maven project

mvn archetype:generate

projectcreated

Step 2: Go to project [StringManipulation] directory and create modify-strings module

mvn archetype:generate -DgroupId=com.knoldus.stringmanipulation -DartifactId=modify-strings

sub-module_modify-strings

Step 3: Go to modify-strings module and create two module [modify-string as parent module]

mvn archetype:generate -DgroupId=com.knoldus.stringmanipulation -DartifactId=string-api

string-implcreated

Step 4: Method [1. reverseString() 2. getStringLength() ] created

Screenshot from 2023-02-24 21-36-37

Step 5: Inside string-impl main class created and both methods called

Screenshot from 2023-02-24 21-40-40

Step 6 : Mandatory dependencies/plugins added in parent pom.xml

Screenshot from 2023-02-24 21-43-49