4

I've a typical multi-module maven project.

  • There's a Jenkins job which builds and deploys all snapshots to the internal repository.
  • There's another Jenkins build which checks out code, updates all pom versions, and builds & deploys versioned artifacts.

I would like to optimize the latter by deploying only the needed artifacts: that's 2 or 3 out of 100+ modules.

The build should still compile and test all modules but install/deploy only selected module artifacts to internal repo.

Question: Is there a way to do it?

4

1 に答える 1