mica-sidecar
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>ca.ibodrov.mica.docker</groupId> <artifactId>mica-sidecar</artifactId> <version>0.0.28</version> </dependency>
<?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>ca.ibodrov.mica</groupId> <artifactId>mica</artifactId> <version>0.0.28</version> <relativePath>../../pom.xml</relativePath> </parent> <groupId>ca.ibodrov.mica.docker</groupId> <artifactId>mica-sidecar</artifactId> <packaging>pom</packaging> <properties> <docker.skip>true</docker.skip> <docker.image>concordworkflow/mica-sidecar</docker.image> <docker.platforms>linux/amd64</docker.platforms> <docker.loadOrPush>load</docker.loadOrPush> </properties> <dependencies> <dependency> <groupId>ca.ibodrov.mica</groupId> <artifactId>mica-concord-server-plugin</artifactId> <version>${project.version}</version> <exclusions> <exclusion> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> </exclusion> <exclusion> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId> </exclusion> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </exclusion> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> </exclusion> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </exclusion> <exclusion> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> </exclusion> <exclusion> <groupId>org.jooq</groupId> <artifactId>jooq</artifactId> </exclusion> <exclusion> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> <exclusion> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> </exclusion> <exclusion> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </exclusion> <exclusion> <groupId>io.swagger.core.v3</groupId> <artifactId>swagger-annotations</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>io.github.git-commit-id</groupId> <artifactId>git-commit-id-maven-plugin</artifactId> <executions> <execution> <id>get-the-git-infos</id> <phase>generate-resources</phase> <goals> <goal>revision</goal> </goals> </execution> </executions> <configuration> <dotGitDirectory>${maven.multiModuleProjectDirectory}/.git</dotGitDirectory> <generateGitPropertiesFile>false</generateGitPropertiesFile> <injectAllReactorProjects>true</injectAllReactorProjects> <includeOnlyProperties> <includeOnlyProperty>git.commit.id.describe</includeOnlyProperty> </includeOnlyProperties> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy-dist</id> <phase>prepare-package</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/docker</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <id>mica-sidecar-build</id> <phase>package</phase> <goals> <goal>exec</goal> </goals> <configuration> <skip>${docker.skip}</skip> <executable>docker</executable> <workingDirectory>${project.build.directory}/../</workingDirectory> <arguments> <argument>buildx</argument> <argument>build</argument> <argument>-t</argument> <argument>${docker.image}:${git.commit.id.describe}</argument> <argument>--platform=${docker.platforms}</argument> <argument>--${docker.loadOrPush}</argument> <argument>-f</argument> <argument>./Dockerfile</argument> <argument>.</argument> </arguments> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>