Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Service deployment issue via eclipse

Avatar

Former Community Member

Hi Experts,

We have created maven archetype13 project via eclipse and deploying on AEM6.4. When deploying via eclipse then services are not getting deployed. However via command prompt it is getting deployed.

Any idea why it is not getting deployed via eclipse? Is it know issue or we are missing anything?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Did you added profile in eclipse install command.

If not then you can do this by Run configuration

Screen Shot 2018-08-13 at 2.54.33 PM.png



Arun Patidar

View solution in original post

5 Replies

Avatar

Community Advisor

Hi,

Can you please share the maven command which you are using to install package(deploy service) from Eclipse and CLI?

Are you able to deploy other things like components using from eclipse?



Arun Patidar

Avatar

Former Community Member

Yes Arun. on command prompt we are using below command:

mvn clean install -PautoInstallPackage  then it is deploying the bundle correctly

And via eclipse we are using the option run->maven install  then it is adding the bundle but services are not not deploying.

Thanks

Avatar

Correct answer by
Community Advisor

Hi,

Did you added profile in eclipse install command.

If not then you can do this by Run configuration

Screen Shot 2018-08-13 at 2.54.33 PM.png



Arun Patidar

Avatar

Level 10

See this tutorial - make sure you are following all steps to deploy -- Getting Started with AEM Sites - WKND Tutorial