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 ebed3e1..f811d02 100644 Binary files a/target/classes/ru/egspt/App.class and b/target/classes/ru/egspt/App.class differ