Note: With recent Eclipse versions you don’t need to use mvn eclise:eclipse anymore, this functionality is built-in with recent m2e eclipse plugin.Ħ: Finally, update your pom.xml based on your project requirement (adding dependencies, profile, plugins, repositories, output format etc…)īelow is the default pom.xml generated for our project.ĭependency section refers to the library your project is replying upon. You may also perform a maven-update on your project. Note: In case you do not see the src/main/java and src/test/java folder in your project structure, go to Project>Properties>Java BuildPath>Libraries, select/change-to appropriate Java version, click OK, you should see those folders now. Refresh your project.ĥ: Your project structure should like below one. These parameters gives your project deliverable(jar/war/ear …) a unique identity in repository. Scroll down and select option with Artifact Id as maven-archetype-webapp.Ĥ: Click Next. 3: In above screen, leave the ‘Use default workspace location’ selected to create this project in the current workspace.Click Next.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |