Skip to content

santknoldus/practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published