archetype-resources.pom.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of foundation-archetype
Show all versions of foundation-archetype
Defines a root level project archetype that can then have pipeline archetypes added to it
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!-- #%L AIOps Foundation::Archetype::Project %% Copyright (C) 2021 Booz Allen %% This software package is licensed under the Booz Allen Public License. All Rights Reserved. #L% --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.boozallen.aissemble</groupId> <artifactId>build-parent</artifactId> <version>${archetypeVersion}</version> </parent> <groupId>${groupId}</groupId> <artifactId>${artifactId}</artifactId> <version>${version}</version> <packaging>pom</packaging> <name>${projectName}</name> <description>${projectDescription}</description> <modules> <module>${artifactId}-pipeline-models</module> <module>${artifactId}-pipelines</module> <module>${artifactId}-shared</module> </modules> <properties> <maven.repo.id>maven-releases</maven.repo.id> <maven.repo.url>${mavenRepositoryUrl}</maven.repo.url> <maven.snapshot.repo.id>maven-snapshots</maven.snapshot.repo.id> <maven.snapshot.repo.url>${mavenSnapshotRepositoryUrl}</maven.snapshot.repo.url> <pypi.project.repository.url>${pypiProjectRepositoryUrl}</pypi.project.repository.url> <helm.publishing.repository.url>${helmPublishingRepositoryUrl}</helm.publishing.repository.url> <helm.publishing.repository.name>${helmPublishingRepositoryName}</helm.publishing.repository.name> <docker.project.repository.url>${dockerProjectRepositoryUrl}</docker.project.repository.url> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>com.boozallen.aissemble</groupId> <artifactId>bom-instantiation</artifactId> <version>${version.aissemble}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <!-- START: workaround to get maven build cache invalidation on new SNAPSHOTS of commonly updated plugins --> <dependency> <groupId>com.boozallen.aissemble</groupId> <artifactId>artifacts-maven-plugin</artifactId> <version>${archetypeVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.boozallen.aissemble</groupId> <artifactId>foundation-model-plugin</artifactId> <version>${archetypeVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.boozallen.aissemble</groupId> <artifactId>mda-maven-plugin</artifactId> <version>${archetypeVersion}</version> <scope>provided</scope> </dependency> <!-- END: workaround to get maven build cache invalidation on new SNAPSHOTS of commonly updated plugins --> <!-- START: workaround to get maven build cache invalidation on new SNAPSHOTS of plugin dependencies --> <dependency> <groupId>com.boozallen.aissemble</groupId> <artifactId>foundation-mda</artifactId> <version>${archetypeVersion}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.boozallen.aissemble</groupId> <artifactId>foundation-upgrade</artifactId> <version>${archetypeVersion}</version> <scope>provided</scope> </dependency> <!-- END: workaround to get maven build cache invalidation on new SNAPSHOTS of plugin dependencies --> </dependencies> <scm> <connection>scm:git:${projectGitUrl}.git</connection> <developerConnection>scm:git:${projectGitUrl}.git</developerConnection> <url>${projectGitUrl}</url> <tag>HEAD</tag> </scm> <distributionManagement> <!-- The repositories that the maven artifacts will be deployed to. The credentials for the repository must be provided in the Maven settings.xml file. The repository/snapshotRepository id below should match the serverId in the settings.xml --> <repository> <id>${maven.repo.id}</id> <url>${maven.repo.url}</url> </repository> <snapshotRepository> <id>${maven.snapshot.repo.id}</id> <url>${maven.snapshot.repo.url}</url> </snapshotRepository> </distributionManagement> <repositories> <repository> <id>sonatype-oss-snapshots</id> <url>https://oss.sonatype.org/content/repositories</url> <snapshots> <enabled>true</enabled> <checksumPolicy>fail</checksumPolicy> </snapshots> </repository> <repository> <id>${maven.repo.id}</id> <url>${maven.repo.url}</url> <releases> <enabled>true</enabled> <checksumPolicy>fail</checksumPolicy> </releases> </repository> <repository> <id>${maven.snapshot.repo.id}</id> <url>${maven.snapshot.repo.url}</url> <snapshots> <enabled>true</enabled> <checksumPolicy>fail</checksumPolicy> </snapshots> </repository> </repositories> <build> <extensions> <extension> <groupId>com.boozallen.aissemble</groupId> <artifactId>foundation-mda</artifactId> <version>${version.aissemble}</version> </extension> </extensions> <pluginManagement> <plugins> <plugin> <groupId>org.technologybrewery.fermenter</groupId> <artifactId>fermenter-mda</artifactId> <dependencies> <dependency> <groupId>com.boozallen.aissemble</groupId> <artifactId>foundation-mda</artifactId> <version>${version.aissemble}</version> </dependency> </dependencies> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.technologybrewery.baton</groupId> <artifactId>baton-maven-plugin</artifactId> <dependencies> <dependency> <groupId>com.boozallen.aissemble</groupId> <artifactId>foundation-upgrade</artifactId> <version>${version.aissemble}</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.technologybrewery.fermenter</groupId> <artifactId>fermenter-mda</artifactId> <inherited>false</inherited> <configuration> <basePackage>${project.groupId}</basePackage> <profile>aissemble-project-root</profile> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <version>${version.license.plugin}</version> <configuration> <licenseName>${licenseName}</licenseName> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>set-habushu-dist-artifact-version</id> <goals> <goal>regex-property</goal> </goals> <configuration> <!-- Captures the version of Habushu distribution artifacts to facilitate retrieval of artifacts between modules, specifically when the multiple sdist or wheels may be found in Habushu's dist folder as the result of publishing developmental/SNAPSHOT releases during the build. For example, if the current project version is 1.1.0-SNAPSHOT, ${version.habushu.dist.artifact} will be 1.1.0.dev0 --> <name>version.habushu.dist.artifact</name> <value>${project.version}</value> <regex>-SNAPSHOT</regex> <replacement>.dev0</replacement> <failIfNoMatch>false</failIfNoMatch> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy