Extended pom.xml to build jar with all dependencies included. Improved Readme.md

This commit is contained in:
Martin Berger 2023-03-08 20:53:25 +01:00
parent 508c05da22
commit 9c1b0045e5
2 changed files with 47 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# Fork of [FueliFinTS](https://github.com/petafuel/FueliFinTS)
# LN-FinTS - A fork of [FueliFinTS](https://github.com/petafuel/FueliFinTS)
Fueli FinTS is a server implementing the financial transaction services (FinTS) protocol for online banking. FinTS was formerly known as home banking computer interface (HBCI).
**This fork of [FueliFinTS](https://github.com/petafuel/FueliFinTS) addresses the following issues:**
**This is a fork of [FueliFinTS](https://github.com/petafuel/FueliFinTS) addresses the following issues:**
1. Persistence layer was missing and has been added after rough reverse-engineering
2. For missing maven dependencies (to handle SEPA payments and account statements) skeleton classes have been implemented and added.
@ -30,3 +30,12 @@ Fueli FinTS is a server implementing the financial transaction services (FinTS)
```bash
$ mysql -u fintsuser -p <password> fints < dbsetup.sql
```
7. Configure `lnbits.properties`
# Run Steps
Use `LN-FinTS-jar-with-dependencies.jar` (containing all needed dependencies) resulting from `mvn package` in a folder where there is a folder `config` with the files `fuelifints.properties` and `lnbits.properties` with the following command:
```bash
$ java -jar LN-FinTS-jar-with-dependencies.jar
```
Logs are written into folder `log`.

38
pom.xml
View file

@ -2,7 +2,7 @@
<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>net.petafuel</groupId>
<artifactId>FueliFinTS</artifactId>
<artifactId>LN-FinTS</artifactId>
<version>2.23-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
@ -10,6 +10,7 @@
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<additionalparam>-Xdoclint:none</additionalparam>
<skipTests>true</skipTests>
</properties>
<description>
***REMOVED***
@ -124,10 +125,20 @@
<artifactId>pw-swift-core</artifactId>
<version>SRU2022-9.3.12</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.3.1</version>
</dependency>
</dependencies>
<build>
<defaultGoal>clean install</defaultGoal>
<finalName>FueliFinTS</finalName>
<finalName>LN-FinTS</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -165,6 +176,29 @@
<includeScope>runtime</includeScope>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archive>
<manifest>
<mainClass>net.petafuel.fuelifints.FinTSServer</mainClass>
</manifest>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>