Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: oblac/jodd
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.3.0
Choose a base ref
...
head repository: oblac/jodd
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 17 commits
  • 645 files changed
  • 5 contributors

Commits on Oct 13, 2020

  1. READ me updated

    igr committed Oct 13, 2020
    Copy the full SHA
    4e2d1f1 View commit details

Commits on Jan 6, 2021

  1. Copy the full SHA
    c31c663 View commit details

Commits on Mar 4, 2021

  1. More promotes

    igr committed Mar 4, 2021
    Copy the full SHA
    ad698a3 View commit details
  2. New modules

    igr committed Mar 4, 2021
    Copy the full SHA
    58f0fff View commit details

Commits on Mar 6, 2021

  1. Disable tests

    igr committed Mar 6, 2021
    Copy the full SHA
    39c45dc View commit details
  2. Update README

    igr committed Mar 6, 2021
    Copy the full SHA
    4a2d973 View commit details
  3. Copy the full SHA
    2ba2fec View commit details
  4. Disable tests

    igr committed Mar 6, 2021
    Copy the full SHA
    6828f0f View commit details

Commits on Mar 11, 2021

  1. Readme updated

    igr committed Mar 11, 2021
    Copy the full SHA
    2a841ee View commit details

Commits on Jun 10, 2021

  1. Parameterized test in DbPagerTest

    Signed-off-by: Elvys Soares <eas5@cin.ufpe.br>
    eas5 authored and igr committed Jun 10, 2021
    Copy the full SHA
    38907a9 View commit details

Commits on Aug 21, 2021

  1. Improve Travis CI build Performance

    chenzhang22 authored and igr committed Aug 21, 2021
    Copy the full SHA
    18a7db1 View commit details

Commits on Dec 12, 2021

  1. Upgrade log4j to 2.15.0 - CVE-2021-44228

    rhowe authored and igr committed Dec 12, 2021
    Copy the full SHA
    af1157e View commit details
  2. git submodule updated

    igr committed Dec 12, 2021
    Copy the full SHA
    79cfdcf View commit details

Commits on Feb 19, 2022

  1. Update README.md

    igr authored Feb 19, 2022
    Copy the full SHA
    d87151f View commit details
  2. Update README.md

    igr authored Feb 19, 2022
    Copy the full SHA
    f039c71 View commit details

Commits on Jun 22, 2022

  1. Add test for Option.toString

    lacinoire authored and igr committed Jun 22, 2022
    Copy the full SHA
    6478983 View commit details

Commits on Nov 4, 2023

  1. Update README.md

    igr authored Nov 4, 2023
    Copy the full SHA
    3a0790e View commit details
Showing 645 changed files with 105 additions and 78,949 deletions.
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -16,3 +16,12 @@
[submodule "jodd-props"]
path = jodd-props
url = https://github.com/oblac/jodd-props
[submodule "jodd-proxetta"]
path = jodd-proxetta
url = https://github.com/oblac/jodd-proxetta
[submodule "jodd-petite"]
path = jodd-petite
url = https://github.com/oblac/jodd-petite
[submodule "jodd-db"]
path = jodd-db
url = https://github.com/oblac/jodd-db
17 changes: 6 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
sudo: required
language: java

services:
- docker

jdk:
- openjdk8
# - openjdk11

matrix:
fast_finish: true
allow_failures:
- jdk: openjdk11

before_install:
# Disable services enabled by default
- sudo service mysql stop
- sudo /etc/init.d/postgresql stop

# Run my databases in the background
- docker-compose -f docker/docker-compose-travis.yml up -d

install:
- TERM=dumb ./gradlew assemble

@@ -34,3 +24,8 @@ after_success:

#after_failure:
# - TERM=dumb ./gradlew build testAll --stacktrace

cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
35 changes: 17 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,40 +2,39 @@
<br>

[![GitHub release](https://img.shields.io/github/release/oblac/jodd.svg)](https://jodd.org)
[![Build Status](https://img.shields.io/travis/oblac/jodd.svg)](https://travis-ci.org/oblac/jodd)
[![codecov](https://codecov.io/gh/oblac/jodd/branch/master/graph/badge.svg)](https://codecov.io/gh/oblac/jodd)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/0ce3a0ae3667441fbbd261f6c9e043b0)](https://www.codacy.com/app/igo_rs/jodd)
[![JitPack](https://jitpack.io/v/oblac/jodd.svg)](https://jitpack.io/#oblac/jodd)
[![Stack Overflow](https://img.shields.io/badge/stack%20overflow-jodd-4183C4.svg)](https://stackoverflow.com/questions/tagged/jodd)
[![BSD License](https://img.shields.io/badge/license-BSD--2--Clause-blue.svg)](https://jodd.org/license.html)


> Produce lightweight code and focus on unleashing your full potential. Jodd is a set of developer-friendly and open-source Java micro-frameworks. It's designed to make things simple, but not simpler.
## 👋 Hello!

Welcome to the **Jodd** - a unique, alternative world of Java :) You can find here some micro-frameworks and some handy tools. Nothing more, nothing less.

<h4 align="center">Jodd = tools + ioc + mvc + db + aop + tx + json + html < 1.7 Mb</h4>

Check the official web-site: https://jodd.org
The official web-site: https://jodd.org

# ‼️ THIS IS THE OLD MONOREPO. USE NEW JODD REPOS FOR v6+ ‼️

## ‼️ The Future and Jodd Versions

Version **v6** is the maintained version, working on Java 8 and 11. Only few components are promoted to v6:
**Jodd v6** is the maintained version, working on Java 8 and 11. The following components are promoted to version 6:

+ [jodd-util](https://github.com/oblac/jodd-util)
+ [jodd-mail](https://github.com/oblac/jodd-mail)
+ [jodd-json](https://github.com/oblac/jodd-json)
+ [jodd-lagarto](https://github.com/oblac/jodd-lagarto)
+ [jodd-http](https://github.com/oblac/jodd-http)
+ [jodd-props](https://github.com/oblac/jodd-props)
+ [jodd-petite](https://github.com/oblac/jodd-petite)
+ [jodd-proxetta](https://github.com/oblac/jodd-proxetta)
+ [jodd-db](https://github.com/oblac/jodd-db)

The decision which component is promoted is based on the Maven Central Repo statistics.

Version **v5** contains remaining libraries and frameworks. They are in maintenance mode.

Sorry, I can only do so much.

---

## :zap: Jodd

**Jodd** is set of micro-frameworks and developer-friendly tools and utilities.
@@ -46,16 +45,16 @@ _Use what you like._ **Thank you.** 🙏

+ `jodd-json` - JSON parser and serializer. ⭐
+ `jodd-lagarto` - HTML parser with `Jerry` and `CSSelly` and `Form` tag. ⭐
+ `jodd-http` - tiny HTTP client.
+ `jodd-http` - tiny HTTP client.
+ `jodd-mail` - for easier email sending. ⭐

**Micro-frameworks**:

+ `jodd-madvoc` - slick MVC framework.
+ `jodd-petite` - pragmatic DI container.
+ `jodd-proxetta` - dynamic proxies and `Paramo`.
+ `jodd-db` - thin database layer and object mapper.
+ `jodd-jtx` - transactions management.
+ `jodd-petite` - pragmatic DI container.
+ `jodd-proxetta` - dynamic proxies and `Paramo`.
+ `jodd-db` - thin database layer and object mapper.
+ `jodd-jtx` - transactions management.

**Less used tools**:

@@ -71,10 +70,10 @@ _Use what you like._ **Thank you.** 🙏

+ `jodd-core` - contains many every-day utilities. ⭐
+ `jodd-bean` - our infamous `BeanUtil`, type inspectors and converters. ⭐
+ `jodd-props` - is the super-replacement for Java `Properties`.
+ `jodd-props` - is the super-replacement for Java `Properties`.
+ `jodd-servlet` - with many servlet utilities, including nice tag library.

Read more in our [official documentation](http://jodd.org/doc).
Read more in our [official documentation](http://jodd.org).

## :octocat: Building Jodd from source

4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -69,8 +69,8 @@ ext {
log_logback_core: 'ch.qos.logback:logback-core:[1.2,1.3)',
log_logback_classic: 'ch.qos.logback:logback-classic:[1.2,1.3)',
log_jcl: 'commons-logging:commons-logging:[1.2,1.3)',
log_log4j2: 'org.apache.logging.log4j:log4j-api:[2.8,2.9)',
log_log4j2_core: 'org.apache.logging.log4j:log4j-core:[2.8,2.9)',
log_log4j2: 'org.apache.logging.log4j:log4j-api:[2.15.0,2.16)',
log_log4j2_core: 'org.apache.logging.log4j:log4j-core:[2.15.0,2.16)',

junit5: 'org.junit.jupiter:junit-jupiter:5.6.0',

25 changes: 0 additions & 25 deletions docker/docker-compose-test.yml

This file was deleted.

19 changes: 0 additions & 19 deletions docker/docker-compose-travis.yml

This file was deleted.

11 changes: 0 additions & 11 deletions docker/mssql/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions docker/mssql/create-db.sh

This file was deleted.

7 changes: 0 additions & 7 deletions docker/mssql/create-db.sql

This file was deleted.

15 changes: 15 additions & 0 deletions jodd-core/src/test/java/jodd/cli/CliOptionsTest.java
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@

package jodd.cli;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

import java.util.ArrayList;
@@ -132,4 +133,18 @@ void testOptionWithValue() {
assertEquals("[1, F]", out.toString());
out.clear();
}

@Test
void testToString() throws Exception {
final List<String> out = new ArrayList<>();
final Cli cli = new Cli();
cli.option().shortName("a").hasArg().with(out::add);
cli.option().longName("foo").hasArg().with(out::add);
cli.printUsage("cmd");
cli.accept("-a", "1", "--foo", "F");
out.clear();
cli.accept("-a=1", "--foo=F");
out.clear();
Assertions.assertEquals("--foo", cli.option().longName("foo").hasArg().with(out::add).toString());
}
}
1 change: 1 addition & 0 deletions jodd-db
Submodule jodd-db added at 9eec8f
22 changes: 0 additions & 22 deletions jodd-db/build.gradle

This file was deleted.

Loading