0

I am creating an AWS Lambda package using maven-assembly-plugin. It generates several ZIP files in the target directory.

The Maven Plugin maven-install-plugin uploads all the JAR and ZIP files located in target subdirectory every time I deploy the project. These files are quite heavy. I don't need them in the local repository.

Is the a way to exclude them from uploading to local repository.

30thh
  • 10,861
  • 6
  • 32
  • 42

1 Answers1

1

You can set the <skip> parameter of the maven install plugin to true. You do this in the <configuration> section of the plugin definition.

J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142