Skip to content

Commit

Permalink
[2.6.x] Added a productization profile with dep verifier (#5321)
Browse files Browse the repository at this point in the history
* Added a productization profile with dep verifier (#5299)

* Added a productization profile with dep verifier

* Update pom.xml

* mark verifier deps as provided

* Change version of parent in verifier pom.xml
  • Loading branch information
EricWittmann authored Oct 9, 2024
1 parent 01e144d commit 114041c
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,12 @@
<quarkus.profile>prod</quarkus.profile>
</properties>
</profile>
<profile>
<id>productization</id>
<modules>
<module>prod-verifier</module>
</modules>
</profile>
<profile>
<id>integration-tests</id>
<modules>
Expand Down
60 changes: 60 additions & 0 deletions prod-verifier/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>io.apicurio</groupId>
<artifactId>apicurio-registry</artifactId>
<version>2.6.6-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>apicurio-registry-prod-verifier</artifactId>
<packaging>pom</packaging>
<name>apicurio-registry-prod-verifier</name>

<properties>
<projectRoot>${project.basedir}/..</projectRoot>
<groups/>
</properties>

<dependencies>
<dependency>
<groupId>io.apicurio</groupId>
<artifactId>apicurio-registry-app</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.apicurio</groupId>
<artifactId>apicurio-registry-distro-connect-converter</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>io.apicurio</groupId>
<artifactId>apicurio-common-app-components-maven-plugin</artifactId>
<version>${apicurio-common-app-components.version}</version>
<executions>
<execution>
<id>verify-prod-dependencies</id>
<goals>
<goal>verify-dependencies</goal>
</goals>
<phase>package</phase>
<configuration>
<directories>
<param>${project.basedir}/../app/target/lib</param>
</directories>
<distributions>
<param>${project.basedir}/../distro/connect-converter/target/apicurio-kafka-connect-converter-${project.version}.zip</param>
</distributions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 114041c

Please sign in to comment.