reorganization
This commit is contained in:
parent
391da04900
commit
c93d148bc2
41 changed files with 510 additions and 46 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -1,13 +1,5 @@
|
|||
#FROM imixs/imixs-office-workflow:5.1.5-wildfly-29.0.1.Final-jdk17
|
||||
FROM imixs/imixs-office-workflow:5.1.6-SNAPSHOT-wildfly-29.0.1.Final-jdk17
|
||||
|
||||
# Debug
|
||||
# Setup configuration
|
||||
#COPY ./docker/configuration/wildfly/standalone-debug.xml /opt/jboss/wildfly/standalone/configuration/
|
||||
|
||||
|
||||
# Deploy artefact
|
||||
RUN rm -r /opt/jboss/wildfly/standalone/deployments/*
|
||||
# Deploy artefact
|
||||
ADD ./dynamixs-ai-app/target/dynamixs-ai*.war /opt/jboss/wildfly/standalone/deployments/
|
||||
|
||||
COPY ./target/*.war /opt/jboss/wildfly/standalone/deployments/
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#FROM imixs/imixs-office-workflow:5.1.5-wildfly-29.0.1.Final-jdk17
|
||||
FROM imixs/imixs-office-workflow:5.1.6-SNAPSHOT-wildfly-29.0.1.Final-jdk17
|
||||
# Deploy artefact
|
||||
RUN rm -r /opt/jboss/wildfly/standalone/deployments/*
|
||||
# Deploy artefact
|
||||
COPY ./target/*.war /opt/jboss/wildfly/standalone/deployments/
|
||||
|
||||
# Run in Debug Mode
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
# Dynamixs AI
|
||||
|
||||
Dies ist das interne Super Office von Dynamixs.ai
|
||||
|
||||
Wir verwenden OIDC / Keyclaok für die Anmeldung
|
||||
|
||||
This repository contains the source code as also build scripts to setup an Dynamixs AI instance.
|
||||
|
||||
**Topics**
|
||||
|
|
|
|||
12
devi
12
devi
|
|
@ -38,7 +38,14 @@ fi
|
|||
|
||||
if [[ "$(strip_dash $1)" == "docker" ]]; then
|
||||
echo " Buld Docker Image..."
|
||||
mvn clean install -Pdocker
|
||||
mvn clean install -Pdebug
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if [[ "$(strip_dash $1)" == "build" ]]; then
|
||||
echo " Build app..."
|
||||
mvn clean install
|
||||
fi
|
||||
|
||||
|
||||
|
|
@ -55,7 +62,8 @@ if [[ $# -eq 0 ]]; then
|
|||
echo " Run with ./dev.sh -XXX"
|
||||
echo " "
|
||||
echo " -start : start Docker Containers"
|
||||
echo " -docker : build the Docker image"
|
||||
echo " -build : build war file"
|
||||
echo " -docker : build the Docker image for debugging"
|
||||
echo " -deploy: Imixs-Cloud Deployment starten "
|
||||
echo " -setup : setup dev environment - rebuild docker containers "
|
||||
echo "_________________________________________"
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ services:
|
|||
# Dynamixs AI
|
||||
#######################
|
||||
app:
|
||||
image: imixs/dynamixs-ai
|
||||
image: imixs/dynamixs-super-office
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
|
|
@ -105,45 +105,40 @@ services:
|
|||
#######################
|
||||
# collabora Office Online
|
||||
#######################
|
||||
collabora:
|
||||
image: collabora/code:25.04.6.2.1
|
||||
ports:
|
||||
- "9980:9980"
|
||||
environment:
|
||||
- username=admin
|
||||
- password=adminadmin
|
||||
- extra_params=--o:ssl.enable=false
|
||||
- aliasgroup1=http://app:8080
|
||||
# volumes:
|
||||
# - ./configuration/collabora/fonts:/usr/share/fonts/truetype/more/
|
||||
# - ./configuration/collabora/fonts:/opt/cool/systemplate/usr/share/fonts/truetype/more/
|
||||
# collabora:
|
||||
# image: collabora/code:25.04.6.2.1
|
||||
# ports:
|
||||
# - "9980:9980"
|
||||
# environment:
|
||||
# - username=admin
|
||||
# - password=adminadmin
|
||||
# - extra_params=--o:ssl.enable=false
|
||||
# - aliasgroup1=http://app:8080
|
||||
|
||||
#######################
|
||||
# Imixs Admin Client
|
||||
#######################
|
||||
imixsadmin:
|
||||
image: imixs/imixs-admin
|
||||
ports:
|
||||
- "8888:8080"
|
||||
# imixsadmin:
|
||||
# image: imixs/imixs-admin
|
||||
# ports:
|
||||
# - "8888:8080"
|
||||
|
||||
prometheus:
|
||||
image: prom/prometheus:latest
|
||||
ports:
|
||||
- "9090:9090"
|
||||
volumes:
|
||||
- ./configuration/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
|
||||
- prometheusdata:/prometheus/
|
||||
# prometheus:
|
||||
# image: prom/prometheus:latest
|
||||
# ports:
|
||||
# - "9090:9090"
|
||||
# volumes:
|
||||
# - ./configuration/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
|
||||
# - prometheusdata:/prometheus/
|
||||
|
||||
grafana:
|
||||
image: grafana/grafana:10.4.0 # Aktuelle stabile Version
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_PASSWORD=admin # Standardpasswort setzen
|
||||
volumes:
|
||||
- grafana-storage:/var/lib/grafana # Persistente Daten
|
||||
#networks:
|
||||
# - monitoring
|
||||
# grafana:
|
||||
# image: grafana/grafana:10.4.0 # Aktuelle stabile Version
|
||||
# ports:
|
||||
# - "3000:3000"
|
||||
# environment:
|
||||
# - GF_SECURITY_ADMIN_PASSWORD=admin # Standardpasswort setzen
|
||||
# volumes:
|
||||
# - grafana-storage:/var/lib/grafana # Persistente Daten
|
||||
|
||||
volumes:
|
||||
dbdata-hai:
|
||||
|
|
|
|||
434
pom.xml
Normal file
434
pom.xml
Normal file
|
|
@ -0,0 +1,434 @@
|
|||
<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>
|
||||
|
||||
<!-- Build Time -->
|
||||
<org.imixs.build.timestamp>${maven.build.timestamp}</org.imixs.build.timestamp>
|
||||
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
|
||||
<jakarta.faces.project_stage>Production</jakarta.faces.project_stage>
|
||||
|
||||
<!-- Dependency Versions -->
|
||||
<jakarta.version>10.0.0</jakarta.version>
|
||||
<microprofile.version>6.0</microprofile.version>
|
||||
<ai.dynamixs.version>1.0.2-SNAPSHOT</ai.dynamixs.version>
|
||||
<org.imixs.office.version>5.1.8-SNAPSHOT</org.imixs.office.version>
|
||||
<org.imixs.marty.version>5.2.0-SNAPSHOT</org.imixs.marty.version>
|
||||
<org.imixs.workflow.version>6.2.7-SNAPSHOT</org.imixs.workflow.version>
|
||||
<org.imixs.security.version>3.0.2</org.imixs.security.version>
|
||||
<org.imixs.archive.version>3.1.3</org.imixs.archive.version>
|
||||
<org.imixs.adapter.version>3.2.2</org.imixs.adapter.version>
|
||||
<org.imixs.data.version>1.0.2</org.imixs.data.version>
|
||||
<org.imixs.ai.version>1.1.8-SNAPSHOT</org.imixs.ai.version>
|
||||
<apache.pdfbox.version>2.0.24</apache.pdfbox.version>
|
||||
|
||||
<!-- Wildfly unpack war -->
|
||||
<custom.unpackTypes>war</custom.unpackTypes>
|
||||
<jakarta.faces.project_stage>Production</jakarta.faces.project_stage>
|
||||
<imixs-office.applicationname>dynamixs-super-office</imixs-office.applicationname>
|
||||
<org.imixs.docker.registry>registry.tikal.imixs.com</org.imixs.docker.registry>
|
||||
|
||||
|
||||
<!-- 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-workflow-index</imixs-office.IndexDir>
|
||||
<imixs-mail-res-ref-name>java:/mail/org.imixs.workflow.mail</imixs-mail-res-ref-name>
|
||||
|
||||
</properties>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>oss-snapshots</id>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
|
||||
<profiles>
|
||||
<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>
|
||||
|
||||
<!-- 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/${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.docker.registry}/imixs/${imixs-office.applicationname}:${project.version}" />
|
||||
</exec>
|
||||
<exec executable="docker">
|
||||
<arg value="push" />
|
||||
<arg
|
||||
value="${org.imixs.docker.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>
|
||||
<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>
|
||||
|
||||
<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>
|
||||
<overlays>
|
||||
<!-- Exclude libs from overlay project -->
|
||||
<overlay>
|
||||
<groupId>ai.dynamixs</groupId>
|
||||
<artifactId>dynamixs-platform-ui</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>
|
||||
</plugins>
|
||||
|
||||
<finalName>${imixs-office.applicationname}</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-Office-Workflow -->
|
||||
<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>
|
||||
|
||||
<!-- Dynamixs.AI Plattform Overlay -->
|
||||
<dependency>
|
||||
<groupId>ai.dynamixs</groupId>
|
||||
<artifactId>dynamixs-platform-ui</artifactId>
|
||||
<type>war</type>
|
||||
<version>${ai.dynamixs.version}</version>
|
||||
</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-Archive -->
|
||||
<dependency>
|
||||
<groupId>org.imixs.workflow</groupId>
|
||||
<artifactId>imixs-archive-api</artifactId>
|
||||
<version>${org.imixs.archive.version}</version>
|
||||
</dependency>
|
||||
<!-- Marty -->
|
||||
<dependency>
|
||||
<groupId>org.imixs.workflow</groupId>
|
||||
<artifactId>imixs-marty</artifactId>
|
||||
<version>${org.imixs.marty.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- -->
|
||||
<dependency>
|
||||
<groupId>org.apache.pdfbox</groupId>
|
||||
<artifactId>pdfbox</artifactId>
|
||||
<version>${apache.pdfbox.version}</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- Imixs-Wopi -->
|
||||
<dependency>
|
||||
<groupId>org.imixs.workflow</groupId>
|
||||
<artifactId>imixs-adapters-wopi</artifactId>
|
||||
<version>${org.imixs.adapter.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.imixs.workflow</groupId>
|
||||
<artifactId>imixs-adapters-odf</artifactId>
|
||||
<version>${org.imixs.adapter.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>
|
||||
|
||||
|
||||
<!-- 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>
|
||||
|
||||
<!-- Imixs-AI -->
|
||||
<dependency>
|
||||
<groupId>org.imixs.workflow</groupId>
|
||||
<artifactId>imixs-ai-workflow</artifactId>
|
||||
<version>${org.imixs.ai.version}</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</project>
|
||||
2
src/main/resources/META-INF/MANIFEST.MF
Normal file
2
src/main/resources/META-INF/MANIFEST.MF
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
Manifest-Version: 1.0
|
||||
|
||||
29
src/main/resources/META-INF/persistence.xml
Normal file
29
src/main/resources/META-INF/persistence.xml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
|
||||
version="2.1">
|
||||
<!--
|
||||
Imixs JPA definition Make sure that the imixs-workflow-jee library
|
||||
version maches the version provided by the EAR/EJB
|
||||
-->
|
||||
<!-- eclipselink -->
|
||||
<persistence-unit name="org.imixs.workflow.jpa" transaction-type="JTA">
|
||||
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
|
||||
<jta-data-source>${imixs-office.jta-data-source}</jta-data-source>
|
||||
<jar-file>lib/imixs-workflow-engine-${org.imixs.workflow.version}.jar</jar-file>
|
||||
<jar-file>lib/imixs-marty-${org.imixs.marty.version}.jar</jar-file>
|
||||
<properties>
|
||||
<!-- target-database Auto MySQL PostgreSQL -->
|
||||
<property name="eclipselink.target-database" value="Auto" />
|
||||
|
||||
<!-- <property name="eclipselink.ddl-generation" value="create-tables" /> -->
|
||||
<!-- optional extend schema... -->
|
||||
<property name="eclipselink.ddl-generation" value="create-or-extend-tables" />
|
||||
<property name="eclipselink.deploy-on-startup" value="true" />
|
||||
<property name="eclipselink.logging.level" value="INFO" />
|
||||
|
||||
</properties>
|
||||
</persistence-unit>
|
||||
|
||||
</persistence>
|
||||
|
Before Width: | Height: | Size: 292 KiB After Width: | Height: | Size: 292 KiB |
|
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 114 KiB |
Loading…
Reference in a new issue