PromucFlow_constructor/app/server/pom.xml

91 lines
3.3 KiB
XML

<?xml version="1.0"?>
<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">
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.8.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.appsmith</groupId>
<artifactId>integrated</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Integrated Appsmith</name>
<properties>
<javadoc.disabled>true</javadoc.disabled>
<deploy.disabled>true</deploy.disabled>
<source.disabled>true</source.disabled>
<project.groupId>com.appsmith</project.groupId>
<project.version>1.0-SNAPSHOT</project.version>
<!-- By default skip the dockerization step. Only activate if necessary -->
<skipDockerBuild>true</skipDockerBuild>
</properties>
<build>
<resources>
<resource>
<filtering>false</filtering>
<directory>src/main/java</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<!--
This plugin optimizes the docker container for updates by making the incremental
layers smaller. Refer: https://phauer.com/2019/no-fat-jar-in-docker-image/
-->
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>1.6.1</version>
<configuration>
<from>
<image>adoptopenjdk/openjdk11:alpine-jre</image>
</from>
<to>
<!-- Currently this image is created under Arpit's username. This is because of pricing
structure of Docker hub. Will move it to Appsmith's org account once that is resolved.
-->
<image>docker.io/arpitappsmith/appsmith-server</image>
</to>
<container>
<jvmFlags>
<jvmFlag>-server</jvmFlag>
</jvmFlags>
</container>
<skip>${skipDockerBuild}</skip>
</configuration>
<executions>
<execution>
<id>build-and-push-docker-image</id>
<phase>package</phase>
<goals>
<goal>build</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<modules>
<module>appsmith-interfaces</module>
<module>appsmith-plugins</module>
<module>appsmith-server</module>
</modules>
</project>