Maven Projects: SCM and Multimodules

I have a large multimodule project and I want to specify SCM information in Maven. But each of the modules and the parent project has a dedicated folder on SVN, so it seems that the SCM information is specific to each module.

What value should I use for connections and DeveloperConnection connection elements? Do I need to configure SCM for each module or can it be configured once in the parent project?

thank

+5
source share
1 answer

I tested two scenarios:

  • Definition of configuration only at the parent level;

  • Definition of configuration both at the parent and submodule level.

mvn -DdryRun=true release:prepare pom, release.properties, , maven , .

, , maven . project.scm.[groupId]\:[artifactId].url. , scm, , .

, scm , , scm, pom.

+5

All Articles