<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>hu.blackbelt.judo.jsl</groupId>
  <artifactId>judo-jsl-springboot</artifactId>
  <version>1.0.2</version>
  <packaging>pom</packaging>
  <name>JUDO JSL :: Springboot parent</name>
  <description>JUDO Specific Language Springboot parent</description>
  <url>http://github.com/${project-repositoryId}</url>
  <licenses>
    <license>
      <name>Eclipse Public License 2.0</name>
      <url>https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>robson</id>
      <name>Csákány Róbert</name>
      <email>robert.csakany@blackbelt.hu</email>
      <url>https://github.com/robertcsakany</url>
      <organization>BlackBelt Technology</organization>
      <organizationUrl>https://www.blackbelt.hu</organizationUrl>
    </developer>
  </developers>
  <scm>
    <connection>scm:git:git@github.com:${project-repositoryId}.git</connection>
    <developerConnection>scm:git:ssh://${git.username}@github.com:${project-repositoryId}.git</developerConnection>
    <url>http://github.com/${project-repositoryId}</url>
  </scm>
  <issueManagement>
    <system>GitHub Issues</system>
    <url>https://github.com/${project-repositoryId}/issues</url>
  </issueManagement>
  <properties>
    <surefire-version>3.0.0-M5</surefire-version>
    <project-shortname>judo-jsl-spirngboot-parent</project-shortname>
    <maven.version>3.8.3</maven.version>
    <maven>3.8.3</maven>
    <maven.compiler.source>11</maven.compiler.source>
    <judo-runtime-core-version>1.0.3</judo-runtime-core-version>
    <epsilon-runtime-version>1.5.0</epsilon-runtime-version>
    <jacoco.version>0.8.6</jacoco.version>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <revision>1.0.2</revision>
    <maven.compiler.target>11</maven.compiler.target>
    <project-repositoryId>BlackBeltTechnology/judo-jsl-springboot-parent</project-repositoryId>
    <judo-tatami-jsl-version>1.1.2</judo-tatami-jsl-version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <slf4j-version>1.7.36</slf4j-version>
    <judo-tatami-core-version>1.1.2</judo-tatami-core-version>
    <src.dir>src/main</src.dir>
    <deployOnly>false</deployOnly>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>hu.blackbelt.judo.runtime</groupId>
        <artifactId>judo-runtime-core-dependencies</artifactId>
        <version>${judo-runtime-core-version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>org.antlr</groupId>
        <artifactId>antlr-runtime</artifactId>
        <version>3.2</version>
      </dependency>
      <dependency>
        <groupId>hu.blackbelt.judo.tatami</groupId>
        <artifactId>judo-tatami-jsl-jsl2psm</artifactId>
        <version>${judo-tatami-jsl-version}</version>
      </dependency>
      <dependency>
        <groupId>hu.blackbelt.judo.tatami</groupId>
        <artifactId>judo-tatami-jsl-workflow</artifactId>
        <version>${judo-tatami-jsl-version}</version>
      </dependency>
      <dependency>
        <groupId>fr.jmini.ecentral</groupId>
        <artifactId>eclipse-platform-dependencies</artifactId>
        <version>4.22</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-dependencies</artifactId>
        <version>2.7.0</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>${slf4j-version}</version>
    </dependency>
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
      <version>1.2.11</version>
    </dependency>
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-core</artifactId>
      <version>1.2.11</version>
    </dependency>
    <dependency>
      <groupId>com.mattbertolini</groupId>
      <artifactId>liquibase-slf4j</artifactId>
      <version>4.1.0</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>jul-to-slf4j</artifactId>
      <version>${slf4j-version}</version>
    </dependency>
    <dependency>
      <groupId>uk.org.lidalia</groupId>
      <artifactId>sysout-over-slf4j</artifactId>
      <version>1.0.2</version>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.epsilon</groupId>
      <artifactId>epsilon-runtime-execution</artifactId>
      <version>${epsilon-runtime-version}</version>
    </dependency>
    <dependency>
      <groupId>org.eclipse.emf</groupId>
      <artifactId>org.eclipse.emf.ecore</artifactId>
      <version>2.21.0</version>
    </dependency>
    <dependency>
      <groupId>org.eclipse.emf</groupId>
      <artifactId>org.eclipse.emf.common</artifactId>
      <version>2.21.0</version>
    </dependency>
    <dependency>
      <groupId>org.eclipse.emf</groupId>
      <artifactId>org.eclipse.emf.ecore.xmi</artifactId>
      <version>2.16.0</version>
    </dependency>
    <dependency>
      <groupId>org.projectlombok</groupId>
      <artifactId>lombok</artifactId>
      <version>1.18.24</version>
    </dependency>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <version>27.1-jre</version>
    </dependency>
    <dependency>
      <groupId>com.google.code.gson</groupId>
      <artifactId>gson</artifactId>
      <version>2.9.0</version>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-api</artifactId>
      <version>5.8.2</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-engine</artifactId>
      <version>5.8.2</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-params</artifactId>
      <version>5.8.2</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.jcabi</groupId>
      <artifactId>jcabi-log</artifactId>
      <version>0.22.0</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>javax.servlet-api</artifactId>
      <version>3.1.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.hamcrest</groupId>
      <artifactId>hamcrest</artifactId>
      <version>2.2</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <version>4.8.0</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-junit-jupiter</artifactId>
      <version>4.8.0</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.atomikos</groupId>
      <artifactId>transactions-jta</artifactId>
      <version>4.0.6</version>
    </dependency>
    <dependency>
      <groupId>com.atomikos</groupId>
      <artifactId>transactions-jdbc</artifactId>
      <version>4.0.6</version>
    </dependency>
    <dependency>
      <groupId>org.hsqldb</groupId>
      <artifactId>hsqldb</artifactId>
      <version>2.6.1</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-jdbc</artifactId>
      <version>5.3.20</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-tx</artifactId>
      <version>5.3.20</version>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.runtime</groupId>
      <artifactId>judo-runtime-core-spring</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.runtime</groupId>
      <artifactId>judo-runtime-core-spring-hsqldb</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.runtime</groupId>
      <artifactId>judo-runtime-core-spring-postgresql</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-data-jdbc</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-jta-atomikos</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-logging</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-test</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo</groupId>
      <artifactId>judo-dao-api</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo</groupId>
      <artifactId>judo-sdk-common</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.mapper</groupId>
      <artifactId>mapper-api</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.mapper</groupId>
      <artifactId>mapper-impl</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.runtime</groupId>
      <artifactId>judo-runtime-core</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.runtime</groupId>
      <artifactId>judo-runtime-core-dao-core</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.runtime</groupId>
      <artifactId>judo-runtime-core-dao-rdbms</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.runtime</groupId>
      <artifactId>judo-runtime-core-dao-rdbms-hsqldb</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.runtime</groupId>
      <artifactId>judo-runtime-core-dao-rdbms-postgresql</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.runtime</groupId>
      <artifactId>judo-runtime-core-dispatcher</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.runtime</groupId>
      <artifactId>judo-runtime-core-accessmanager-api</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.runtime</groupId>
      <artifactId>judo-runtime-core-accessmanager</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.tatami</groupId>
      <artifactId>judo-tatami-asm2rdbms</artifactId>
    </dependency>
    <dependency>
      <groupId>hu.blackbelt.judo.meta</groupId>
      <artifactId>hu.blackbelt.judo.meta.liquibase.model</artifactId>
    </dependency>
  </dependencies>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-install-plugin</artifactId>
          <version>2.5.2</version>
        </plugin>
        <plugin>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>3.10.1</version>
          <configuration>
            <source>11</source>
            <target>11</target>
          </configuration>
        </plugin>
        <plugin>
          <groupId>hu.blackbelt.judo.tatami</groupId>
          <artifactId>judo-tatami-jsl-workflow-maven-plugin</artifactId>
          <version>${judo-tatami-jsl-version}</version>
          <executions>
            <execution>
              <id>generate-models</id>
              <phase>generate-sources</phase>
              <goals>
                <goal>parser-workflow</goal>
              </goals>
            </execution>
          </executions>
          <configuration>
            <sources>${basedir}/src/main/resources/model</sources>
            <dialects>hsqldb,postgresql</dialects>
            <generateSdkSpring>true</generateSdkSpring>
            <sdkPackagePrefix>${sdkPackagePrefix}</sdkPackagePrefix>
            <destination>${basedir}/target/generated-sources/model</destination>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>build-helper-maven-plugin</artifactId>
          <version>3.3.0</version>
          <executions>
            <execution>
              <id>add-source</id>
              <phase>generate-sources</phase>
              <goals>
                <goal>add-source</goal>
              </goals>
              <configuration>
                <sources>
                  <source>${project.basedir}/target/generated-sources/model/sdk/${modelName}</source>
                </sources>
              </configuration>
            </execution>
            <execution>
              <id>add-resource</id>
              <phase>generate-resources</phase>
              <goals>
                <goal>add-resource</goal>
              </goals>
              <configuration>
                <resources>
                  <resource>
                    <directory>${project.basedir}/target/generated-sources/model</directory>
                    <targetPath>model</targetPath>
                  </resource>
                </resources>
              </configuration>
            </execution>
          </executions>
        </plugin>
        <plugin>
          <artifactId>maven-deploy-plugin</artifactId>
          <version>3.0.0</version>
        </plugin>
        <plugin>
          <groupId>org.jacoco</groupId>
          <artifactId>jacoco-maven-plugin</artifactId>
          <version>${jacoco.version}</version>
        </plugin>
        <plugin>
          <groupId>org.sonarsource.scanner.maven</groupId>
          <artifactId>sonar-maven-plugin</artifactId>
          <version>${sonar-maven-plugin-version}</version>
        </plugin>
        <plugin>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>${surefire-version}</version>
          <configuration>
            <argLine>-Dfile.encoding=UTF-8</argLine>
            <trimStackTrace>false</trimStackTrace>
            <systemPropertyVariables>
              <logback.configuration>${logback-test-config}</logback.configuration>
            </systemPropertyVariables>
            <argLine>-Dfile.encoding=UTF-8
                            --add-opens java.base/java.lang=ALL-UNNAMED
                            --add-opens java.base/java.util=ALL-UNNAMED
                            --add-opens java.base/java.time=ALL-UNNAMED</argLine>
            <trimStackTrace>false</trimStackTrace>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.eclipse.m2e</groupId>
          <artifactId>lifecycle-mapping</artifactId>
          <version>1.0.0</version>
          <configuration>
            <lifecycleMappingMetadata>
              <pluginExecutions>
                <pluginExecution>
                  <pluginExecutionFilter>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>flatten-maven-plugin</artifactId>
                    <versionRange>[1.1.0,)</versionRange>
                    <goals>
                      <goal>flatten</goal>
                    </goals>
                  </pluginExecutionFilter>
                  <action>
                    <ignore />
                  </action>
                </pluginExecution>
                <pluginExecution>
                  <pluginExecutionFilter>
                    <groupId>hu.blackbelt.judo.tatami</groupId>
                    <artifactId>judo-tatami-jsl-workflow-maven-plugin</artifactId>
                    <versionRange>[1.0,)</versionRange>
                    <goals>
                      <goal>parser-workflow</goal>
                    </goals>
                  </pluginExecutionFilter>
                  <action>
                    <ignore />
                  </action>
                </pluginExecution>
              </pluginExecutions>
            </lifecycleMappingMetadata>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>flatten-maven-plugin</artifactId>
        <version>1.3.0</version>
        <executions>
          <execution>
            <id>flatten</id>
            <phase>process-resources</phase>
            <goals>
              <goal>flatten</goal>
            </goals>
          </execution>
          <execution>
            <id>flatten.clean</id>
            <phase>clean</phase>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <updatePomFile>true</updatePomFile>
          <flattenMode>resolveCiFriendliesOnly</flattenMode>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>sign-artifacts</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.simplify4u.plugins</groupId>
            <artifactId>sign-maven-plugin</artifactId>
            <version>1.0.1</version>
            <executions>
              <execution>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>release-dummy</id>
      <distributionManagement>
        <repository>
          <id>dummy-distribution</id>
          <url>file:///tmp/${project.groupId}-${project.artifactId}-${project.version}/maven-release/</url>
        </repository>
        <snapshotRepository>
          <id>dummy-distribution</id>
          <url>file:///tmp/${project.groupId}-${project.artifactId}-${project.version}/maven-snapshot/</url>
        </snapshotRepository>
      </distributionManagement>
    </profile>
    <profile>
      <id>release-judong</id>
      <distributionManagement>
        <repository>
          <id>judong-nexus-distribution</id>
          <url>https://nexus.judo.technology/repository/maven-judong-snapshots/</url>
        </repository>
        <snapshotRepository>
          <id>judong-nexus-distribution</id>
          <url>https://nexus.judo.technology/repository/maven-judong-snapshots/</url>
        </snapshotRepository>
      </distributionManagement>
    </profile>
    <profile>
      <id>release-central</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.sonatype.plugins</groupId>
            <artifactId>nexus-staging-maven-plugin</artifactId>
            <extensions>true</extensions>
            <configuration>
              <serverId>ossrh</serverId>
              <nexusUrl>https://oss.sonatype.org/</nexusUrl>
              <autoReleaseAfterClose>true</autoReleaseAfterClose>
              <stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes>
            </configuration>
          </plugin>
        </plugins>
      </build>
      <distributionManagement>
        <repository>
          <id>ossrh</id>
          <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>
        <snapshotRepository>
          <id>ossrh</id>
          <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
      </distributionManagement>
    </profile>
    <profile>
      <id>update-source-code-license</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>license-maven-plugin</artifactId>
            <version>2.0.0</version>
            <executions>
              <execution>
                <id>second</id>
                <phase>process-sources</phase>
                <goals>
                  <goal>update-project-license</goal>
                </goals>
                <configuration>
                  <licenseName>epl_v2</licenseName>
                </configuration>
              </execution>
            </executions>
            <configuration>
              <verbose>true</verbose>
              <addSvnKeyWords>false</addSvnKeyWords>
              <organizationName>BlackBelt Technology</organizationName>
              <inceptionYear>2018</inceptionYear>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
