office-dynamixs-ai/pom.xml
2026-10-01 09:53:30 +02:00

433 lines
No EOL
17 KiB
XML

<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>ai.dynamixs</groupId>
<artifactId>dynamixs-super-office</artifactId>
<packaging>war</packaging>
<name>Dynamixs Super Office</name>
<version>1.0.0</version>
<description>Dynamixs Super Office - Internal </description>
<organization>
<name>Imixs Software Solutions GmbH</name>
<url>http://www.imixs.com</url>
</organization>
<inceptionYear>2025</inceptionYear>
<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>
<!-- =========================================================
STEP 2: Set the Dynamixs.AI platform version you target.
Ask your Dynamixs.AI partner contact for the current version.
========================================================= -->
<ai.dynamixs.version>1.0.4-SNAPSHOT</ai.dynamixs.version>
<org.imixs.workflow.version>6.2.10-SNAPSHOT</org.imixs.workflow.version>
<org.imixs.office.version>5.1.12-SNAPSHOT</org.imixs.office.version>
<org.imixs.data.version>1.0.5-SNAPSHOT</org.imixs.data.version>
<org.imixs.adapter.version>3.2.5</org.imixs.adapter.version>
<org.imixs.security.version>3.0.2</org.imixs.security.version>
<!-- Jakarta EE -->
<jakarta.version>10.0.0</jakarta.version>
<microprofile.version>6.0</microprofile.version>
<!-- The final WAR name - this will be the context root on Wildfly -->
<custom.applicationname>dynamixs-super-office</custom.applicationname>
</properties>
<!-- =========================================================
Repositories
- Imixs SNAPSHOT artifacts are on Sonatype (public)
- Dynamixs.AI artifacts are on GitHub Packages (partner access required)
========================================================= -->
<repositories>
<repository>
<id>oss-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
<repository>
<id>github-dynamixs</id>
<name>Dynamixs.AI GitHub Packages</name>
<url>https://maven.pkg.github.com/dynamixs-ai/dynamixs-platform-repo</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</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/${custom.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/${custom.applicationname}" />
<arg value="./." />
</exec>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>imixs-cloud</id>
<!-- Imixs Security OIDC -->
<dependencies>
<dependency>
<groupId>org.imixs.security</groupId>
<artifactId>imixs-oidc</artifactId>
<version>${org.imixs.security.version}</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.imixs.security</groupId>
<artifactId>imixs-oidc-marty</artifactId>
<version>${org.imixs.security.version}</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
</dependencies>
<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/${custom.applicationname}" />
<arg value="./" />
</exec>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<!-- =========================================================
Dynamixs.AI Platform Core
Contains all platform services, CDI beans, REST endpoints,
AI integration and workflow engine extensions.
========================================================= -->
<dependency>
<groupId>ai.dynamixs</groupId>
<artifactId>dynamixs-platform-core</artifactId>
<version>${ai.dynamixs.version}</version>
</dependency>
<!-- =========================================================
Dynamixs.AI Platform UI - WAR Overlay Base
This is the base web application. Your files in
src/main/webapp/ will override files from this WAR.
========================================================= -->
<dependency>
<groupId>ai.dynamixs</groupId>
<artifactId>dynamixs-platform-ui</artifactId>
<version>${ai.dynamixs.version}</version>
<type>war</type>
<scope>runtime</scope>
</dependency>
<!-- =========================================================
STEP 3: Add your customer-specific dependencies here.
Examples: ERP connectors, custom REST clients, etc.
This code is owned by your customer - not by Dynamixs.AI.
========================================================= -->
<!--
<dependency>
<groupId>com.acme</groupId>
<artifactId>sap-connector</artifactId>
<version>1.0.0</version>
</dependency>
-->
<!-- Jakarta EE API - provided by Wildfly at runtime -->
<dependency>
<groupId>jakarta.platform</groupId>
<artifactId>jakarta.jakartaee-api</artifactId>
<version>${jakarta.version}</version>
<scope>provided</scope>
</dependency>
<!-- Microprofile - provided by Wildfly at runtime -->
<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>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-workflow-engine</artifactId>
<type>jar</type>
<version>${org.imixs.workflow.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-workflow-jax-rs</artifactId>
<type>jar</type>
<version>${org.imixs.workflow.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-workflow-faces</artifactId>
<type>jar</type>
<version>${org.imixs.workflow.version}</version>
<scope>provided</scope>
</dependency>
<!-- Imixs-Office-Workflow Overlay -->
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-office-workflow-util</artifactId>
<version>${org.imixs.office.version}</version>
<scope>provided</scope>
</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>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-adapters-odf</artifactId>
<version>${org.imixs.adapter.version}</version>
</dependency>
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-data-groups</artifactId>
<version>${org.imixs.data.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-data-views</artifactId>
<version>${org.imixs.data.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-data-documents</artifactId>
<version>${org.imixs.data.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-data-importer</artifactId>
<version>${org.imixs.data.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>${custom.applicationname}</finalName>
<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>
<!-- WAR Overlay: dynamixs-platform-ui is the base layer.
Files in src/main/webapp/ take precedence and override
anything from the base WAR. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</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>ai.dynamixs</groupId>
<artifactId>dynamixs-platform-ui</artifactId>
<excludes>
<exclude>WEB-INF/lib/*.jar</exclude>
</excludes>
</overlay>
</overlays>
-->
</configuration>
</plugin>
<!-- Hot deployment to local Wildfly Docker instance -->
<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>
<autodeployments>
<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/${custom.applicationname}.war</target>
</deployment>
</hotdeployments>
</configuration>
</plugin>
</plugins>
</build>
</project>