Andrei Pozolotin
Andrei Pozolotin

Reputation: 937

Dynamically provision global parent pom.xml

How can one manage a common project parent pom.xml for multiple github organizations and projects, without continuously releasing it to some maven repository?

Upvotes: 0

Views: 199

Answers (1)

Andrei Pozolotin
Andrei Pozolotin

Reputation: 937

Now there are two maven components for that:

which can help resolve this issue.

Basic approach is to:

  1. have single arkon repository with parent pom.xml, which is forever snapshot, and never released anywhere
  2. use arkon-maven-extension to auto magically provision this parent pom into all projects which depend on it
  3. use flatten-maven-plugin to erase parent information from the final project pom.xml used for deployment

Upvotes: 1

Related Questions