From b1e3a5b4484568f6b8cf229f836302138b848251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Dyda?= Date: Sat, 12 Nov 2022 20:24:24 +0100 Subject: [PATCH] Functional demo. --- demo/03/.gitignore | 201 +++++++++++++++++++++++++++++++++++++++++++++ demo/03/README.md | 1 + demo/03/pom.xml | 100 ++++++++++++++++++++++ 3 files changed, 302 insertions(+) create mode 100644 demo/03/.gitignore create mode 100644 demo/03/README.md create mode 100644 demo/03/pom.xml diff --git a/demo/03/.gitignore b/demo/03/.gitignore new file mode 100644 index 0000000..2a91258 --- /dev/null +++ b/demo/03/.gitignore @@ -0,0 +1,201 @@ + +# Created by https://www.gitignore.io/api/java,maven,eclipse,intellij+all,visualstudiocode +# Edit at https://www.gitignore.io/?templates=java,maven,eclipse,intellij+all,visualstudiocode + +.metadata +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.settings/ +.loadpath +.recommenders + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# PyDev specific (Python IDE for Eclipse) +*.pydevproject + +# CDT-specific (C/C++ Development Tooling) +.cproject + +# CDT- autotools +.autotools + +# Java annotation processor (APT) +.factorypath + +# PDT-specific (PHP Development Tools) +.buildpath + +# sbteclipse plugin +.target + +# Tern plugin +.tern-project + +# TeXlipse plugin +.texlipse + +# STS (Spring Tool Suite) +.springBeans + +# Code Recommenders +.recommenders/ + +# Annotation Processing +.apt_generated/ + +# Scala IDE specific (Scala & Java development for Eclipse) +.cache-main +.scala_dependencies +.worksheet + +# Eclipse Core +.project + +# JDT-specific (Eclipse Java Development Tools) +.classpath + +# Annotation Processing +.apt_generated + +.sts4-cache/ + +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +# Ignores the whole .idea folder and all .iml files +# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360 + +.idea/ + +# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023 + +*.iml +modules.xml +.idea/misc.xml +*.ipr + +# Sonarlint plugin +.idea/sonarlint + +# Compiled class file +*.class + +# Log file +*.log + +# BlueJ files +*.ctxt + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.nar +*.ear +*.zip +*.tar.gz +*.rar + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties +.mvn/wrapper/maven-wrapper.jar +.flattened-pom.xml + +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json + +# Ignore all local history of files +.history + +# End of https://www.gitignore.io/api/java,maven,eclipse,intellij+all,visualstudiocode \ No newline at end of file diff --git a/demo/03/README.md b/demo/03/README.md new file mode 100644 index 0000000..cbb5bf6 --- /dev/null +++ b/demo/03/README.md @@ -0,0 +1 @@ +# Demonstracja TDD diff --git a/demo/03/pom.xml b/demo/03/pom.xml new file mode 100644 index 0000000..5568ea7 --- /dev/null +++ b/demo/03/pom.xml @@ -0,0 +1,100 @@ + + + 4.0.0 + + pl.amu.edu + demo-03-fp + 1.0-SNAPSHOT + jar + + cw1 + + + UTF-8 + 11 + ${java.version} + ${java.version} + ${java.version} + + 1.18.24 + 5.9.0 + 3.23.1 + 4.8.0 + + + 3.2.2 + 3.8.1 + + + + + + + + org.projectlombok + lombok + ${lombok.version} + provided + + + + + + org.junit.jupiter + junit-jupiter-api + ${junit.version} + test + + + org.junit.jupiter + junit-jupiter-engine + ${junit.version} + test + + + org.junit.jupiter + junit-jupiter-params + ${junit.version} + test + + + org.assertj + assertj-core + ${assertj.version} + test + + + org.mockito + mockito-junit-jupiter + ${mockito.version} + test + + + + + + + + org.apache.maven.plugins + maven-shade-plugin + ${maven.shade} + + + package + + shade + + + + + org.example.App + + + + + + + + +