Skip to content

Commit dceea8c

Browse files
committed
AgeCheck with tests
1 parent 9a8c49c commit dceea8c

File tree

10 files changed

+508
-2
lines changed

10 files changed

+508
-2
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# CI with maven build and scan
2+
#
3+
# version 1.0.0
4+
5+
name: CI maven build and scan test latest
6+
7+
on:
8+
# Trigger analysis when pushing in master or pull requests, and when creating
9+
# a pull request.
10+
push:
11+
branches:
12+
- main
13+
- develop
14+
- branch-preview
15+
pull_request:
16+
types:
17+
- opened
18+
- synchronize
19+
- reopened
20+
21+
jobs:
22+
build:
23+
name: Build
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: fugerit-org/psychic-actions/maven-build-scan@stable
27+
with:
28+
github-token: ${{ secrets.GITHUB_TOKEN }}
29+
sonar-token: ${{ secrets.SONAR_TOKEN }}
30+
disable-maven-dependency-submission: ${{ vars.DISABLE_MAVEN_DEPENDENCY_SUBMISSION }}

.gitignore

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
### Idea Intellij ###
2+
.idea/
3+
*.iml
4+
5+
### Eclipse ###
6+
7+
.DS_Store
8+
9+
.metadata
10+
bin/
11+
tmp/
12+
*.tmp
13+
*.bak
14+
*.swp
15+
*~.nib
16+
local.properties
17+
.settings/
18+
.loadpath
19+
.recommenders
20+
21+
.vscode/
22+
23+
# Eclipse Core
24+
.project
25+
26+
# External tool builders
27+
.externalToolBuilders/
28+
29+
# Locally stored "Eclipse launch configurations"
30+
*.launch
31+
32+
# PyDev specific (Python IDE for Eclipse)
33+
*.pydevproject
34+
35+
# CDT-specific (C/C++ Development Tooling)
36+
.cproject
37+
38+
# JDT-specific (Eclipse Java Development Tools)
39+
.classpath
40+
41+
# Java annotation processor (APT)
42+
.factorypath
43+
44+
# PDT-specific (PHP Development Tools)
45+
.buildpath
46+
47+
# sbteclipse plugin
48+
.target
49+
50+
# Tern plugin
51+
.tern-project
52+
53+
# TeXlipse plugin
54+
.texlipse
55+
56+
# STS (Spring Tool Suite)
57+
.springBeans
58+
59+
# Code Recommenders
60+
.recommenders/
61+
62+
# Scala IDE specific (Scala & Java development for Eclipse)
63+
.cache-main
64+
.scala_dependencies
65+
.worksheet
66+
67+
### Java ###
68+
# Compiled class file
69+
*.class
70+
71+
# Log file
72+
*.log
73+
74+
# BlueJ files
75+
*.ctxt
76+
77+
# Mobile Tools for Java (J2ME)
78+
.mtj.tmp/
79+
80+
# Package Files #
81+
*.jar
82+
*.war
83+
*.ear
84+
*.zip
85+
*.tar.gz
86+
*.rar
87+
88+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
89+
hs_err_pid*
90+
91+
### Maven ###
92+
target/
93+
pom.xml.tag
94+
pom.xml.releaseBackup
95+
pom.xml.versionsBackup
96+
pom.xml.next
97+
release.properties
98+
dependency-reduced-pom.xml
99+
buildNumber.properties
100+
.mvn/timing.properties
101+
102+
# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
103+
!/.mvn/wrapper/maven-wrapper.jar
104+
105+
# End of https://www.gitignore.io/api/java,maven,eclipse
106+
107+
/.apt_generated/
108+
/.apt_generated_tests/

CHANGELOG.md

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
## [1.2.1] - 2024-05-24
11+
12+
### Fixed
13+
14+
- fj-universe-tool parent set to 2.3.1
15+
16+
### Fixed
17+
18+
- vulnerable dependancies
19+
20+
### Added
21+
22+
## [1.2.0] - 2024-05-24
23+
24+
- handles param 'assignee_date_mode' (when set to 'skip' the report is much faster)
25+
26+
## [1.1.0] - 2024-05-22
27+
28+
### Added
29+
30+
- 'xlsx' output format (simple specify xlsx extension for file path)
31+
32+
## [1.0.0] - 2024-02-19
33+
34+
### Changed
35+
36+
- parent set to fj-universe-tool 0.5.8
37+
38+
### Fixed
39+
40+
- cell content over 32767 is now truncated, see [Worksheet and workbook specifications and limits](https://support.microsoft.com/en-gb/office/excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3)
41+
42+
## [0.7.0] - 2023-09-28
43+
44+
### Added
45+
46+
- 'help' and 'github-token' parameter parameter
47+
- command line reference
48+
49+
### Changed
50+
51+
- parent set to fj-universe-tool 0.4.7
52+
53+
### Fixed
54+
55+
- removed link from Java and Maven badges
56+
- placeholder in LICENSE set
57+
- software version links
58+
59+
## [0.6.2] - 2023-09-24
60+
61+
### Added
62+
63+
- src/main/config/log4j2.xml configuration to use on singlepackage profile
64+
65+
### Changed
66+
67+
- now a github token is expected instead of the password, the github user is ignored (anyway github does not support anymore user/pass basic auth)
68+
- in GUI github password renamed in github token
69+
70+
### Security
71+
72+
- [Basic authentication should not be used](https://github.com/fugerit-org/github-issue-export/issues/22)
73+
74+
## [0.6.1] - 2023-09-24
75+
76+
### Changed
77+
78+
- update code of conduct and added badge
79+
- fj-bom set to 1.4.4
80+
- increased test coverage
81+
- substituted XMLResourceBundleControl with the class in fj-core
82+
83+
### Removed
84+
85+
- Sonar cloud workflow yml removed. (after being merged with maven build)
86+
87+
## [0.6.0] - 2023-09-24
88+
89+
### Added
90+
91+
- [workflow deploy on branch deploy](.github/workflows/deploy_maven_package.yml)
92+
- [Sonar cloud workflow merged in maven build](.github/workflows/deploy_maven_package.yml)
93+
- keep a changelog and coverage badge
94+
- fj-bom version set to 1.4.2
95+
96+
### Changed
97+
98+
- Workflow adapted for gui test (running on windows)
99+
- fj-core version set to 8.3.8
100+
101+
### Security
102+
103+
- fixed dependabot issues
104+
105+
## [0.5.1] - 2019-06-08
106+
107+
### Added
108+
109+
- Repository authentication implemeneted (api limits are higher this way)
110+
111+
## [0.4.0] - 2018-01-12
112+
113+
### Added
114+
115+
- support for assign date cache
116+
117+
## [0.3.0] - 2017-09-29
118+
119+
### Added
120+
121+
- save configuration in GUI
122+
123+
## [0.3.0] - 2017-09-25
124+
125+
### Added
126+
127+
- CODE_OF_CONDUCT.md, CONTRIBUTING.md, LICENSE
128+
- gui interface (with english and italian it18n)
129+
- proxy support

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Code of conduct
2+
3+
refer to [fugerit-org](https://github.com/fugerit-org) [code of conduct](https://github.com/fugerit-org/fj-universe/blob/main/CODE_OF_CONDUCT.md).

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Please if u want to contribute contact :
2+
3+
m@fugerit.org

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
1-
# code-samples
2-
Library of code samples
1+
# code samples
2+
3+
My collection of code samples
4+
5+
[![Keep a Changelog v1.1.0 badge](https://img.shields.io/badge/changelog-Keep%20a%20Changelog%20v1.1.0-%23E05735)](https://github.com/fugerit-org/code-samples/blob/master/CHANGELOG.md)
6+
[![Maven Central](https://img.shields.io/maven-central/v/org.fugerit.java/code-samples.svg)](https://mvnrepository.com/artifact/org.fugerit.java/code-samples)
7+
[![license](https://img.shields.io/badge/License-Apache%20License%202.0-teal.svg)](https://opensource.org/licenses/Apache-2.0)
8+
[![code of conduct](https://img.shields.io/badge/conduct-Contributor%20Covenant-purple.svg)](https://github.com/fugerit-org/fj-universe/blob/main/CODE_OF_CONDUCT.md)
9+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=fugerit-org_code-samples&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=fugerit-org_code-samples)
10+
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=fugerit-org_code-samples&metric=coverage)](https://sonarcloud.io/summary/new_code?id=fugerit-org_code-samples)
11+
12+
[![Java runtime version](https://img.shields.io/badge/run%20on-java%208+-%23113366.svg?style=for-the-badge&logo=openjdk&logoColor=white)](https://universe.fugerit.org/src/docs/versions/java11.html)
13+
[![Java build version](https://img.shields.io/badge/build%20on-java%2011+-%23ED8B00.svg?style=for-the-badge&logo=openjdk&logoColor=white)](https://universe.fugerit.org/src/docs/versions/java11.html)
14+
[![Apache Maven](https://img.shields.io/badge/Apache%20Maven-3.9.0+-C71A36?style=for-the-badge&logo=Apache%20Maven&logoColor=white)](https://universe.fugerit.org/src/docs/versions/maven3_9.html)
15+
[![Fugerit Github Project Conventions](https://img.shields.io/badge/Fugerit%20Org-Project%20Conventions-1A36C7?style=for-the-badge&logo=Onlinect%20Playground&logoColor=white)](https://universe.fugerit.org/src/docs/conventions/index.html)
16+
17+
## Quickstart
18+
19+
This is just a collection of code snipplet

pom.xml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<artifactId>code-samples</artifactId>
6+
7+
<parent>
8+
<groupId>org.fugerit.java</groupId>
9+
<artifactId>fj-bom</artifactId>
10+
<version>1.6.5</version>
11+
<relativePath/>
12+
</parent>
13+
14+
<name>Fugerit Code Samples</name>
15+
<description>My code samples.</description>
16+
<version>1.0.0-SNAPSHOT</version>
17+
18+
<licenses>
19+
<license>
20+
<name>Apache License, Version 2.0</name>
21+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
22+
<distribution>repo</distribution>
23+
</license>
24+
</licenses>
25+
26+
<properties>
27+
<fj-version>8.6.4</fj-version>
28+
</properties>
29+
30+
<scm>
31+
<connection>scm:git:git://github.com/fugerit-org/code-samples.git</connection>
32+
<developerConnection>scm:git:ssh://github.com/fugerit-org/code-samples.git</developerConnection>
33+
<url>https://github.com/fugerit-org/code-samples.git</url>
34+
<tag>HEAD</tag>
35+
</scm>
36+
37+
<issueManagement>
38+
<system>GitHub</system>
39+
<url>https://github.com/fugerit-org/code-samples/issues</url>
40+
</issueManagement>
41+
42+
<dependencies>
43+
44+
<dependency>
45+
<groupId>org.fugerit.java</groupId>
46+
<artifactId>fj-core</artifactId>
47+
<version>${fj-version}</version>
48+
</dependency>
49+
50+
<dependency>
51+
<groupId>org.projectlombok</groupId>
52+
<artifactId>lombok</artifactId>
53+
<scope>provided</scope>
54+
</dependency>
55+
56+
<dependency>
57+
<groupId>org.slf4j</groupId>
58+
<artifactId>slf4j-simple</artifactId>
59+
<scope>test</scope>
60+
</dependency>
61+
62+
<dependency>
63+
<groupId>com.fasterxml.jackson.dataformat</groupId>
64+
<artifactId>jackson-dataformat-yaml</artifactId>
65+
</dependency>
66+
67+
<dependency>
68+
<groupId>org.junit.jupiter</groupId>
69+
<artifactId>junit-jupiter</artifactId>
70+
<scope>test</scope>
71+
</dependency>
72+
73+
</dependencies>
74+
75+
<organization>
76+
<url>https://www.fugerit.org</url>
77+
<name>Fugerit</name>
78+
</organization>
79+
80+
<url>https://www.fugerit.org/</url>
81+
82+
</project>

0 commit comments

Comments
 (0)