JFramework is a modular Java library designed to simplify application development by providing a set of ready-to-use components.
- Authentication: Secure authentication mechanisms.
- Cryptography: Encrypts and decrypts data using a client-server protocol.
- Network: Utilities for network communication.
- ORM: Object-Relational Mapping supporting MySQL and Derby.
- System: System info and utilities.
- Utility: General purpose helper functions.
The project is a multi-module Maven project. It generates:
- A single comprehensive JAR containing all modules (
jframework). - Individual JARs for each module (
auth,crypto,network, etc.), allowing you to import only what you need.
- Java 17 or higher
- Maven 3.6+
You can import JFramework using GitHub Packages.
Repository Configuration (~/.m2/settings.xml):
<settings>
<servers>
<server>
<id>github</id>
<username>YOUR_GITHUB_USERNAME</username>
<password>YOUR_GITHUB_TOKEN</password>
</server>
</servers>
</settings>Repository in pom.xml:
<repositories>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/richkmeli/JFramework</url>
</repository>
</repositories>Dependency:
<dependency>
<groupId>it.richkmeli.jframework</groupId>
<artifactId>jframework</artifactId>
<version>1.2.15</version>
</dependency>Note: GitHub Packages requires authentication. Create a Personal Access Token with read:packages scope.
To build the project locally:
-
Prerequisites:
- Java 11+
- Maven
-
Build:
mvn package
-
Output: Artifacts will be generated in the
release/folder.