From dc1b2fbc5809c29dcd477a928252aa943be55685 Mon Sep 17 00:00:00 2001 From: esoe Date: Wed, 15 Jun 2022 13:19:29 +0300 Subject: [PATCH] qq --- dependency-reduced-pom.xml | 181 +++++++++++++++++++++++++ pom copy.xml | 214 ++++++++++++++++++++++++++++++ pom.xml | 52 +++----- src/main/java/ru/egspt/App.java | 2 +- target/checkstyle-cachefile | 3 - target/checkstyle-checker.xml | 175 ------------------------ target/checkstyle-result.xml | 122 ----------------- target/classes/ru/egspt/App.class | Bin 2821 -> 2840 bytes 8 files changed, 417 insertions(+), 332 deletions(-) create mode 100644 dependency-reduced-pom.xml create mode 100644 pom copy.xml delete mode 100644 target/checkstyle-cachefile delete mode 100644 target/checkstyle-checker.xml delete mode 100644 target/checkstyle-result.xml diff --git a/dependency-reduced-pom.xml b/dependency-reduced-pom.xml new file mode 100644 index 0000000..9f1a770 --- /dev/null +++ b/dependency-reduced-pom.xml @@ -0,0 +1,181 @@ + + + 4.0.0 + ru.egspt + moodle-anyreport + 0.1 + + + + maven-enforcer-plugin + ${maven-enforcer-plugin.version} + + + + enforce + + + + + 3.6.3 + + + true + + + + + + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + org.jacoco + jacoco-maven-plugin + ${jacoco-maven-plugin.version} + + + pre-unit-test + + prepare-agent + + + + post-unit-test + test + + report + + + + check-unit-test + test + + check + + + ${project.build.directory}/jacoco.exec + + + BUNDLE + + + INSTRUCTION + COVEREDRATIO + ${jacoco.unit-tests.limit.instruction-ratio} + + + BRANCH + COVEREDRATIO + ${jacoco.unit-tests.limit.branch-ratio} + + + + + CLASS + + + COMPLEXITY + TOTALCOUNT + ${jacoco.unit-tests.limit.class-complexity} + + + + + METHOD + + + COMPLEXITY + TOTALCOUNT + ${jacoco.unit-tests.limit.method-complexity} + + + + + + + + + + maven-shade-plugin + + + + shade + + + true + + + org.baeldung.executable.ExecutableMavenJar + + + + + + + + + + + org.junit.jupiter + junit-jupiter-api + 5.6.0 + test + + + apiguardian-api + org.apiguardian + + + opentest4j + org.opentest4j + + + junit-platform-commons + org.junit.platform + + + + + org.junit.jupiter + junit-jupiter-engine + 5.6.0 + test + + + junit-platform-engine + org.junit.platform + + + apiguardian-api + org.apiguardian + + + + + + + + maven-javadoc-plugin + ${maven-javadoc-plugin.version} + + + + + 5 + 3.0.0 + 5.6.0 + 8.39 + 0% + 0.8.4 + 3.0.0-M5 + 1.8 + UTF-8 + 3.0.0-M3 + 3.1.2 + 0% + 1.8 + 20 + + diff --git a/pom copy.xml b/pom copy.xml new file mode 100644 index 0000000..4331c9d --- /dev/null +++ b/pom copy.xml @@ -0,0 +1,214 @@ + + 4.0.0 + ru.egspt + moodle-anyreport + 0.1 + jar + + 1.8 + 1.8 + UTF-8 + 5.6.0 + 3.0.0-M3 + 3.1.2 + 8.39 + 3.0.0-M5 + 0.8.4 + 3.0.0 + + 0% + 0% + 20 + 5 + + + + org.apache.poi + poi + 5.2.2 + + + org.apache.poi + poi-ooxml + 5.2.2 + + + org.apache.poi + poi-ooxml-schemas + 4.1.2 + + + org.apache.poi + poi-scratchpad + 5.2.2 + + + org.apache.poi + ooxml-schemas + 1.1 + + + org.apache.logging.log4j + log4j-to-slf4j + 2.8.2 + + + org.apache.cassandra + cassandra-all + 4.0.3 + + + mysql + mysql-connector-java + 8.0.28 + + + org.junit.jupiter + junit-jupiter-api + ${junit.version} + test + + + org.junit.jupiter + junit-jupiter-engine + ${junit.version} + test + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + ${maven-enforcer-plugin.version} + + + + enforce + + + + + 3.6.3 + + + true + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + ${maven-checkstyle-plugin.version} + + + com.puppycrawl.tools + checkstyle + ${checkstyle.version} + + + com.github.ngeor + checkstyle-rules + 4.8.0 + + + + com/github/ngeor/checkstyle.xml + true + ${skipTests} + + + + checkstyle + validate + + check + + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + org.jacoco + jacoco-maven-plugin + ${jacoco-maven-plugin.version} + + + pre-unit-test + + prepare-agent + + + + post-unit-test + test + + report + + + + check-unit-test + test + + check + + + ${project.build.directory}/jacoco.exec + + + BUNDLE + + + INSTRUCTION + COVEREDRATIO + ${jacoco.unit-tests.limit.instruction-ratio} + + + BRANCH + COVEREDRATIO + ${jacoco.unit-tests.limit.branch-ratio} + + + + + CLASS + + + COMPLEXITY + TOTALCOUNT + ${jacoco.unit-tests.limit.class-complexity} + + + + + METHOD + + + COMPLEXITY + TOTALCOUNT + ${jacoco.unit-tests.limit.method-complexity} + + + + + + + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven-javadoc-plugin.version} + + + + diff --git a/pom.xml b/pom.xml index 13cf78e..5931135 100644 --- a/pom.xml +++ b/pom.xml @@ -3,6 +3,7 @@ ru.egspt moodle-anyreport 0.1 + jar 1.8 1.8 @@ -96,37 +97,6 @@ - - org.apache.maven.plugins - maven-checkstyle-plugin - ${maven-checkstyle-plugin.version} - - - com.puppycrawl.tools - checkstyle - ${checkstyle.version} - - - com.github.ngeor - checkstyle-rules - 4.8.0 - - - - com/github/ngeor/checkstyle.xml - true - ${skipTests} - - - - checkstyle - validate - - check - - - - org.apache.maven.plugins maven-surefire-plugin @@ -199,6 +169,26 @@ + + org.apache.maven.plugins + maven-shade-plugin + + + + shade + + + true + + + org.baeldung.executable.ExecutableMavenJar + + + + + + diff --git a/src/main/java/ru/egspt/App.java b/src/main/java/ru/egspt/App.java index 90fdd77..5e7cdd1 100644 --- a/src/main/java/ru/egspt/App.java +++ b/src/main/java/ru/egspt/App.java @@ -26,7 +26,7 @@ public class App extends JPanel{ this.setVisible(true); } public void initFrame(){ - JFrame mainframe = new JFrame("mainframe"); + JFrame mainframe = new JFrame("moodle-anyreport"); mainframe.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); mainframe.add(this); mainframe.setSize(640, 480); diff --git a/target/checkstyle-cachefile b/target/checkstyle-cachefile deleted file mode 100644 index 8338d3a..0000000 --- a/target/checkstyle-cachefile +++ /dev/null @@ -1,3 +0,0 @@ -#Wed May 11 16:06:06 MSK 2022 -module-resource*?\:checkstyle/suppressions.xml=3B4ADFBFB42AA213119FAA5299E87F0537A02AFD -configuration*?=9FACA937F0890BA0B556BC18568485F706CFAEA2 diff --git a/target/checkstyle-checker.xml b/target/checkstyle-checker.xml deleted file mode 100644 index 5f4800f..0000000 --- a/target/checkstyle-checker.xml +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/target/checkstyle-result.xml b/target/checkstyle-result.xml deleted file mode 100644 index 5951f20..0000000 --- a/target/checkstyle-result.xml +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/target/classes/ru/egspt/App.class b/target/classes/ru/egspt/App.class index ebed3e19d4cac0026782ee0d7ea08895be8c530a..f811d023071531fddd32dc31171ee4daf9260cc0 100644 GIT binary patch delta 274 zcmZn_n<2(^>ff$?3=9k=46`3toSCW&*#lXlQ4k9M;FeEdGfLK#D zZ)ekF;x1>X0CE@^DjBLKzvi%Fu4bs2tifr;T+2{5IhFGxb3H@DfRKSfauY+dQ0F#=?%fQGk=q$2_-Joqmff$?3=9k=3^O-!$*^#7<|bz5r4=RSrcO3zSuy!F%U-!=hE{fl7Dfhv zti-ZJ{hY+Sbp7DU;*!){9)>oC_Q}Us6&O1wKWAOS*3Hn%&d@V?BAbL_A43)+1A9SH zW?o579v1^6gE)wo$itA#AOd1d-h7HplZiW>p&ZCzWT;@Mocxc&in)rRda^aA6>|+k z?c@s1kIZ!p^^p7`k>dFh*`?==agy#xMbh fCr!S{r6)OsVJc9K00Sq(GzJH-4by>qCWaXRe9=GJ