zsom
zsom

Reputation: 499

Export maven project from Eclipse without target

I have a Maven project in Eclipse.

I'd like to export this project to a zip file (to transfer it to someone). It's easy and working with the "File \ Export \ General \ Archive File" menu.

Is there a way to exclude the target directory from the exported zip? I need everything else: pom.xml, .project, src, ... , but not the target dir. The target dir sometimes are very big :(

The best would be, if it could be done from Eclipse, not with Maven.

Upvotes: 0

Views: 1990

Answers (1)

Hisham Khalil
Hisham Khalil

Reputation: 1084

Export \ General \ Archive File >> click next >> expand your project (tree)>> deselect "target"

Upvotes: 4

Related Questions