GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - OP-TED/eforms-core-java: Common API and tools for eForms applications.

BranchesTags
Open more actions menu

Latest commit

 

History

312 Commits
312 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.mvn/wrapper
.mvn/wrapper
 
 
src
src
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
mvnw
mvnw
 
 
mvnw.cmd
mvnw.cmd
 
 
pom.xml
pom.xml
 
 

Repository files navigation

eForms Core Library1

Introduction

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.
  • Parsing eForms notice XML documents and extracting metadata (SDK version, subtype, languages).
  • Secure XML document building with XXE prevention (OWASP guidelines).

Using the eForms Core Library

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.

Building

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

Testing

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

  1. 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. ↩

About

Common API and tools for eForms applications.

Topics

eformsjavalibrary

Resources

Readme
EUPL-1.2 license
Activity
Custom properties

Stars

4 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.