--- name: maven-build-management description: Manage multi-module Maven builds: dependencies, plugins, profiles, reproducible builds license: Apache-2.0 --- # Maven Build Management Skill ## Purpose Manage CIA platform's multi-module Maven build with proper dependency management and plugin configuration. ## When to Use - ✅ Adding new modules - ✅ Managing dependencies - ✅ Configuring build plugins - ✅ Creating build profiles ## Multi-Module Structure ```xml parent-pom model.common.api service.api service.impl citizen-intelligence-agency ``` ## Dependency Management ```xml 5.3.34 8.27.4 org.springframework spring-framework-bom ${spring.version} pom import ``` ## Build Profiles ```xml production production ``` ## Build Commands ```bash # Clean install all modules mvn clean install # Skip tests mvn clean install -DskipTests # Specific module mvn clean install -pl citizen-intelligence-agency -am # With profile mvn clean install -Pproduction ``` ## References - Maven: https://maven.apache.org/ - pom.xml