616 lines
No EOL
21 KiB
XML
616 lines
No EOL
21 KiB
XML
<?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>
|
|
<groupId>com.alexander-logistics</groupId>
|
|
<artifactId>office-alexander-logistics</artifactId>
|
|
<version>1.4.0</version>
|
|
<packaging>war</packaging>
|
|
<name>Imixs Office Workflow - Custom Build</name>
|
|
<organization>
|
|
<name>Imixs Software Solutions GmbH</name>
|
|
<url>http://www.imixs.com</url>
|
|
</organization>
|
|
<inceptionYear>2024</inceptionYear>
|
|
<developers>
|
|
<developer>
|
|
<id>rsoika</id>
|
|
<name>Ralph Soika</name>
|
|
<email>ralph.soika@imixs.com</email>
|
|
<url>http://blog.imixs.org/</url>
|
|
<organization>Imixs Software Solutions GmbH</organization>
|
|
<organizationUrl>http://www.imixs.com</organizationUrl>
|
|
<roles>
|
|
<role>developer</role>
|
|
<role>testing</role>
|
|
</roles>
|
|
<timezone>2</timezone>
|
|
</developer>
|
|
<developer>
|
|
<id>gaheinle</id>
|
|
<name>Gaby Heinle</name>
|
|
<email />
|
|
<url />
|
|
<organization>Imixs Software Solutions GmbH</organization>
|
|
<organizationUrl>http://www.imixs.com</organizationUrl>
|
|
<roles>
|
|
<role>developer</role>
|
|
<role>testing</role>
|
|
</roles>
|
|
<timezone>2</timezone>
|
|
</developer>
|
|
</developers>
|
|
|
|
|
|
<properties>
|
|
<java.source>17</java.source>
|
|
<java.target>17</java.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<!-- Wildfly -->
|
|
<custom.webResources>src/main/webapp</custom.webResources>
|
|
<custom.unpackTypes>war</custom.unpackTypes>
|
|
|
|
<!-- Build Time -->
|
|
<org.imixs.build.timestamp>${maven.build.timestamp}</org.imixs.build.timestamp>
|
|
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
|
|
|
|
<!-- Dependency Versions -->
|
|
<jakarta.version>10.0.0</jakarta.version>
|
|
<microprofile.version>6.0</microprofile.version>
|
|
|
|
<org.imixs.workflow.version>6.2.8-SNAPSHOT</org.imixs.workflow.version>
|
|
<org.imixs.office.version>5.1.8</org.imixs.office.version>
|
|
<org.imixs.marty.version>5.2.0</org.imixs.marty.version>
|
|
<org.imixs.adapter.version>3.2.3</org.imixs.adapter.version>
|
|
<org.imixs.data.version>1.0.3</org.imixs.data.version>
|
|
<org.imixs.e-invoice.version>1.0.3-SNAPSHOT</org.imixs.e-invoice.version>
|
|
|
|
<apache.poi.version>4.0.0</apache.poi.version>
|
|
<net.sf.saxon.version>9.9.1-4</net.sf.saxon.version>
|
|
<apache.pdfbox.version>2.0.24</apache.pdfbox.version>
|
|
<!-- -->
|
|
<org.imixs.ai.version>1.1.1</org.imixs.ai.version>
|
|
<custom.webResources>src/main/webapp</custom.webResources>
|
|
|
|
<!-- test dependencies -->
|
|
<junit.jupiter.version>5.9.2</junit.jupiter.version>
|
|
<mockito.version>5.8.0</mockito.version>
|
|
|
|
<!-- Environment Settings -->
|
|
<imixs-office.contextroot>/</imixs-office.contextroot>
|
|
<imixs-office.realm>imixsrealm</imixs-office.realm>
|
|
<imixs-office.jta-data-source>jdbc/office</imixs-office.jta-data-source>
|
|
<imixs-office.IndexDir>lucene/office-index</imixs-office.IndexDir>
|
|
<imixs-office.applicationname>office-alexander-logistics</imixs-office.applicationname>
|
|
<imixs-mail-res-ref-name>java:/mail/org.imixs.workflow.mail</imixs-mail-res-ref-name>
|
|
|
|
|
|
<!-- Wildfly unpack war -->
|
|
<custom.unpackTypes>war</custom.unpackTypes>
|
|
<jakarta.faces.project_stage>Production</jakarta.faces.project_stage>
|
|
|
|
<!-- jndi Mail res-ref name -->
|
|
<imixs-mail-res-ref-name>java:/mail/org.imixs.workflow.mail</imixs-mail-res-ref-name>
|
|
|
|
<org.imixs.kubernetes.registry>registry.tikal.imixs.com</org.imixs.kubernetes.registry>
|
|
|
|
</properties>
|
|
|
|
<repositories>
|
|
<!-- Sonatype Snapshot repository -->
|
|
<repository>
|
|
<id>central-portal-snapshots</id>
|
|
<name>Central Portal Snapshots</name>
|
|
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>docker</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.8</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>install</phase>
|
|
<configuration>
|
|
<target>
|
|
<exec executable="docker">
|
|
<arg value="build" />
|
|
<arg value="-t" />
|
|
<arg value="imixs/${imixs-office.applicationname}" />
|
|
<arg value="./" />
|
|
</exec>
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>debug</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.8</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>install</phase>
|
|
<configuration>
|
|
<target>
|
|
<exec executable="docker">
|
|
<arg value="build" />
|
|
<arg value="-f" />
|
|
<arg value="./Dockerfile-debug" />
|
|
<arg value="-t" />
|
|
<arg value="imixs/${imixs-office.applicationname}" />
|
|
<arg value="./." />
|
|
</exec>
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>imixs-cloud</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.8</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>install</phase>
|
|
<configuration>
|
|
<target>
|
|
<exec executable="docker">
|
|
<arg value="build" />
|
|
<arg value="-t" />
|
|
<arg
|
|
value="imixs/${imixs-office.applicationname}:${project.version}" />
|
|
<arg value="./." />
|
|
</exec>
|
|
<exec executable="docker">
|
|
<arg value="tag" />
|
|
<arg
|
|
value="imixs/${imixs-office.applicationname}:${project.version}" />
|
|
<arg
|
|
value="${org.imixs.kubernetes.registry}/imixs/${imixs-office.applicationname}:${project.version}" />
|
|
</exec>
|
|
<exec executable="docker">
|
|
<arg value="push" />
|
|
<arg
|
|
value="${org.imixs.kubernetes.registry}/imixs/${imixs-office.applicationname}:${project.version}" />
|
|
</exec>
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<build>
|
|
<resources>
|
|
<!-- enable resource filtering for multi language version -->
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
|
|
<testResources>
|
|
<testResource>
|
|
<directory>${basedir}/./reports</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>${basedir}/./workflow</directory>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>${basedir}/src/test/resources</directory>
|
|
</testResource>
|
|
</testResources>
|
|
|
|
<plugins>
|
|
|
|
<!-- use JDK settings for compiling -->
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<source>${java.source}</source>
|
|
<target>${java.target}</target>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- Testing JUnit 5 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>default-test</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>test</goal>
|
|
</goals>
|
|
<configuration>
|
|
<argLine>
|
|
--add-opens java.base/java.lang=ALL-UNNAMED
|
|
</argLine>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<configuration>
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
<webResources>
|
|
<resource>
|
|
<filtering>true</filtering>
|
|
<!-- this is relative to the pom.xml directory -->
|
|
<directory>${custom.webResources}</directory>
|
|
<includes>
|
|
<include>**/WEB-INF/*</include>
|
|
<!-- include any other file types you want to filter -->
|
|
</includes>
|
|
</resource>
|
|
</webResources>
|
|
|
|
<!-- We exclude libs form the parent WAR artifact
|
|
<workDirectory>target/overlay-war-folder</workDirectory>
|
|
|
|
<overlays>
|
|
<overlay>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-office-workflow-app</artifactId>
|
|
<excludes>
|
|
<exclude>WEB-INF/lib/*.jar</exclude>
|
|
</excludes>
|
|
</overlay>
|
|
</overlays>
|
|
-->
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<configuration>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
<groupId>org.imixs.maven</groupId>
|
|
<artifactId>manik-hotdeploy-maven-plugin</artifactId>
|
|
<version>2.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>install</phase>
|
|
<goals>
|
|
<goal>deploy</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<!-- List Source and Target folders for Autodeploy and Hotdeploy -->
|
|
<autodeployments>
|
|
<deployment>
|
|
<!-- wildcard deployment -->
|
|
<source>target/*.{war,ear,jar}</source>
|
|
<target>./docker/deployments/</target>
|
|
<unpack>true</unpack>
|
|
</deployment>
|
|
</autodeployments>
|
|
<hotdeployments>
|
|
<deployment>
|
|
<source>src/main/webapp</source>
|
|
<target>./docker/deployments/${imixs-office.applicationname}.war</target>
|
|
</deployment>
|
|
</hotdeployments>
|
|
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- relase management -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<finalName>office-alexander-logistics</finalName>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<!-- Jakarta EE -->
|
|
<dependency>
|
|
<groupId>jakarta.platform</groupId>
|
|
<artifactId>jakarta.jakartaee-api</artifactId>
|
|
<version>${jakarta.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- Microprofile -->
|
|
<dependency>
|
|
<groupId>org.eclipse.microprofile</groupId>
|
|
<artifactId>microprofile</artifactId>
|
|
<version>${microprofile.version}</version>
|
|
<type>pom</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Imixs Workflow -->
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-workflow-core</artifactId>
|
|
<type>jar</type>
|
|
<version>${org.imixs.workflow.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-workflow-engine</artifactId>
|
|
<type>jar</type>
|
|
<version>${org.imixs.workflow.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-workflow-jax-rs</artifactId>
|
|
<type>jar</type>
|
|
<version>${org.imixs.workflow.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-workflow-faces</artifactId>
|
|
<type>jar</type>
|
|
<version>${org.imixs.workflow.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-workflow-index-lucene</artifactId>
|
|
<version>${org.imixs.workflow.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Imixs-Office-Workflow Overlay -->
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-office-workflow-app</artifactId>
|
|
<type>war</type>
|
|
<version>${org.imixs.office.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-office-workflow-util</artifactId>
|
|
<version>${org.imixs.office.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Imixs Data -->
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-data-groups</artifactId>
|
|
<version>${org.imixs.data.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-data-views</artifactId>
|
|
<version>${org.imixs.data.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-data-documents</artifactId>
|
|
<version>${org.imixs.data.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-data-importer</artifactId>
|
|
<version>${org.imixs.data.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.pdfbox</groupId>
|
|
<artifactId>pdfbox</artifactId>
|
|
<version>${apache.pdfbox.version}</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- SEPA -->
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-adapters-sepa</artifactId>
|
|
<version>${org.imixs.adapter.version}</version>
|
|
</dependency>
|
|
<!-- DATEV -->
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-adapters-datev</artifactId>
|
|
<version>${org.imixs.adapter.version}</version>
|
|
</dependency>
|
|
<!-- POI Adapter -->
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-adapters-poi</artifactId>
|
|
<version>${org.imixs.adapter.version}</version>
|
|
</dependency>
|
|
<!-- QR Code -->
|
|
<dependency>
|
|
<groupId>org.imixs.workflow</groupId>
|
|
<artifactId>imixs-adapters-qrcode</artifactId>
|
|
<version>${org.imixs.adapter.version}</version>
|
|
</dependency>
|
|
<!-- E-Invoice-->
|
|
<dependency>
|
|
<groupId>org.imixs.util</groupId>
|
|
<artifactId>imixs-e-invoice</artifactId>
|
|
<version>${org.imixs.e-invoice.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Apache Commons FTP Client -->
|
|
<dependency>
|
|
<groupId>commons-net</groupId>
|
|
<artifactId>commons-net</artifactId>
|
|
<version>3.6</version>
|
|
</dependency>
|
|
|
|
<!-- Microsoft oauth token -->
|
|
<dependency>
|
|
<groupId>com.sun.mail</groupId>
|
|
<artifactId>javax.mail</artifactId>
|
|
<version>1.6.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>4.5.10</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>2.13.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- JAX-RS 2.0 Test dependencies -->
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.core</groupId>
|
|
<artifactId>jersey-client</artifactId>
|
|
<version>3.1.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-rs-client</artifactId>
|
|
<version>3.3.6</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jersey.inject</groupId>
|
|
<artifactId>jersey-hk2</artifactId>
|
|
<version>3.1.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>jakarta.ws.rs</groupId>
|
|
<artifactId>jakarta.ws.rs-api</artifactId>
|
|
<version>3.1.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- Testing -->
|
|
|
|
<!-- JUnit 5 Dependencies -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<version>${junit.jupiter.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<version>${junit.jupiter.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- Mockito Dependencies -->
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>${mockito.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-junit-jupiter</artifactId>
|
|
<version>${mockito.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.parsson</groupId>
|
|
<artifactId>jakarta.json</artifactId>
|
|
<version>1.1.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
<artifactId>jaxb-runtime</artifactId>
|
|
<version>3.0.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
<version>3.0.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- JSON-B Implementation for Tests -->
|
|
<dependency>
|
|
<groupId>org.eclipse</groupId>
|
|
<artifactId>yasson</artifactId>
|
|
<version>3.0.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish</groupId>
|
|
<artifactId>jakarta.json</artifactId>
|
|
<version>2.0.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- HTTP Client -->
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents.client5</groupId>
|
|
<artifactId>httpclient5</artifactId>
|
|
<version>5.2.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
</project> |