facebook

Stop deploy empty directories/packages in Maven project

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #615074 Reply

    marceloleite
    Participant

    Hello, there.

    Unfortunately, I have a few empty directories/packages within my Maven project. However, I’d like to stop deploying then when using MyEclipse deployment feature. Is it possible?

    If I run maven command from the command line, empty directories/packages are not deployed.

    Thanks in advance.

    Marcelo Leite

    #615102 Reply

    support-swapna
    Moderator

    Marcelo,

    The deployment of modules can be configured from the project’s Deployment Assembly page (right click on the project > Properties > Deployment > Deployment Assembly). The only workaround for your scenario for now is to remove the directories/packages of the Maven project which you do not want to include for deployment from the Deployment Assembly page. We do not really recommend this technique.

    Can you please elaborate what are ’empty packages’? Are they java packages?

    –Swapna
    Genuitec Support

    #615118 Reply

    marceloleite
    Participant

    Hi, yes. “Empty packages” means “Empty Java Packages”.

    But ok, if there is not that option to exclude “empty packages” from deploy.

    Thanks in advance.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Stop deploy empty directories/packages in Maven project

You must be logged in to post in the forum log in