2019-09-16 11:21:57 +00:00
|
|
|
<?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">
|
2019-03-18 20:20:32 +00:00
|
|
|
|
2019-09-16 11:21:57 +00:00
|
|
|
<parent>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2019-09-30 06:02:16 +00:00
|
|
|
<version>2.1.8.RELEASE</version>
|
2019-09-16 11:21:57 +00:00
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
|
</parent>
|
2019-03-18 20:20:32 +00:00
|
|
|
|
2019-09-16 11:21:57 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<groupId>com.appsmith</groupId>
|
|
|
|
|
<artifactId>integrated</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
<name>Integrated Appsmith</name>
|
2019-09-04 09:24:38 +00:00
|
|
|
|
2019-09-16 11:21:57 +00:00
|
|
|
<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>
|
2019-10-16 11:27:02 +00:00
|
|
|
<!-- By default skip the dockerization step. Only activate if necessary -->
|
|
|
|
|
<skipDockerBuild>true</skipDockerBuild>
|
2019-09-16 11:21:57 +00:00
|
|
|
</properties>
|
2019-03-30 06:31:24 +00:00
|
|
|
|
2019-09-16 11:21:57 +00:00
|
|
|
<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>
|
2019-10-16 11:27:02 +00:00
|
|
|
|
|
|
|
|
<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>
|
2019-10-17 06:25:55 +00:00
|
|
|
<!-- Please define the Docker Hub credentials as environment variables.
|
|
|
|
|
In Gitlab, this will be defined under VARIABLES section of CI/CD Settings
|
|
|
|
|
-->
|
|
|
|
|
<auth>
|
|
|
|
|
<username>${env.DOCKER_HUB_USERNAME}</username>
|
|
|
|
|
<password>${env.DOCKER_HUB_ACCESS_TOKEN}</password>
|
|
|
|
|
</auth>
|
2019-10-16 11:27:02 +00:00
|
|
|
</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>
|
|
|
|
|
|
2019-09-16 11:21:57 +00:00
|
|
|
</build>
|
2019-03-31 15:52:06 +00:00
|
|
|
|
2019-09-16 11:21:57 +00:00
|
|
|
<modules>
|
|
|
|
|
<module>appsmith-interfaces</module>
|
|
|
|
|
<module>appsmith-plugins</module>
|
|
|
|
|
<module>appsmith-server</module>
|
|
|
|
|
</modules>
|
2019-03-18 20:20:32 +00:00
|
|
|
|
|
|
|
|
</project>
|
2019-09-16 11:21:57 +00:00
|
|
|
|