Apache Maven is one of the great project management tools that I used on the project that I was involved, and JBoss Developer Studio (JBD) support this tool for every maven project. The important things that we have to make attention to work with maven project in JBD is the way to configure maven repository on it, this things to avoid maven build failed when build the project due to dependency library not found in our local repository.
In this series of blog, I'll try to share configuration step add maven repository in JBD.
Open JBoss Developer Studio and go to Preference page.
Under JBoss Tools choose JBoss Maven Integration, click Configure Maven Repository button and it will open page below
Click Add Repository button, fill in below information in respective field.
- Profile ID: maven-repo
- ID: central
- Name: maven-repo
- URL: https://repo1.maven.org/maven2
Please make sure checked checkbox Active by default and Enabled releases. Click OK when finish.
Add another repository if any.
Click Finish following OK when complete.
Update the maven project as following
click OK and rebuild the maven project.
No comments:
Post a Comment