Problem with deploying mvn archetype to localhost. | Community
Skip to main content
Karl515
New Participant
January 31, 2019
Solved

Problem with deploying mvn archetype to localhost.

  • January 31, 2019
  • 11 replies
  • 5270 views

Hello there!

I have this problem that when I install using eclipse, it only installs to my .m2 repository instead of localhost:4502. What could be the cause of this?

-already make sure the base POM file is pointing to localhost:4502

Now I'm having thoughts it's because if the setting.xml that WKND tut let me put in .m2. but if I delete the setting.xml. I'm getting an error.

How can I let eclipse to install in localhost:4502? Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gaurav-Behl

For Java EE (aka Eclipse) to produce the same results do this -

1) Right click on the project folder that you want to build

2) Click on Run as > Maven Build...

3) Mention the goals & profile that you want to execute:  clean install -PautoInstallPackage

4) Hit Run and check the results

11 replies

Feike_Visser1
Employee
January 31, 2019

what cmd do you use?