Problem with deploying mvn archetype to localhost. | Community
Skip to main content
Karl515
Level 5
Jan 31, 2019 7:13 AM UTC
Solved

Problem with deploying mvn archetype to localhost.

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.
Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
Jan 31, 2019 7:12 PM UTC

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
Jan 31, 2019 8:44 AM UTC

what cmd do you use?

Translate