eForms Core Library1
This library provides a set of classes that can be used to solve some common "problems" in eForms Applications:
- Automatically discovering and downloading new versions of the eForms SDK.
- Maintaining and instantiating at runtime the correct application component versions for different major versions of the SDK.
- Basic parsing and processing of XPath expressions.
The eForms Core library requires Java 11 or later.
It is available as a Maven package on Maven Central and can be used by adding the following to the project's pom.xml
.
<dependencies>
...
<dependency>
<groupId>eu.europa.ted.eforms</groupId>
<artifactId>eforms-core-java</artifactId>
<version>${eforms-core.version}</version>
</dependency>
...
</dependencies>
Replace ${eforms-core.version}
with the latest version available, or define the corresponding property in your pom.xml
.
Requirements:
- Java 11 or higher
- Maven 3.8, other versions probably also work
Execute the following on the root folder of this project:
mvn clean install
Unit tests are available under src/test/java/
.
After running the unit tests with mvn test
, you can generate a coverage report with mvn jacoco:report
.
The report is available under target/site/jacoco/
, in HTML, CSV, and XML format.
Footnotes
-
Copyright 2022 European Union
Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission – subsequent versions of the EUPL (the "Licence"); You may not use this work except in compliance with the Licence. You may obtain a copy of the Licence here.
Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Licence for the specific language governing permissions and limitations under the Licence. ↩