mirror of
https://github.com/robertvokac/time-calc.git
synced 2025-03-25 07:27:49 +01:00
Split to modules - initial work
This commit is contained in:
parent
6f52f66675
commit
5f60f85bff
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@ pocasi.txt
|
|||||||
test.txt
|
test.txt
|
||||||
timecalc.conf
|
timecalc.conf
|
||||||
focus.txt
|
focus.txt
|
||||||
|
dist/*
|
||||||
|
65
build.sh
65
build.sh
@ -1,4 +1,61 @@
|
|||||||
mvn clean package
|
#!/bin/bash
|
||||||
#mv target/*jar-with-all-dependencies*.jar C:/Users/Robert/Desktop/rv
|
|
||||||
mv target/*.jar C:/Users/Robert/Desktop/rv
|
MVN_ARG=$1
|
||||||
rm -r target
|
replace () {
|
||||||
|
INPUT=$1
|
||||||
|
OLD=$2
|
||||||
|
NEW=$3
|
||||||
|
OUTPUT=$(echo $INPUT | sed "s/$OLD/$NEW/")
|
||||||
|
echo "$OUTPUT"
|
||||||
|
}
|
||||||
|
replaceInFile() {
|
||||||
|
INPUT=$1
|
||||||
|
OLD=$2
|
||||||
|
NEW=$3
|
||||||
|
echo INPUT=$INPUT
|
||||||
|
echo OLD=$OLD
|
||||||
|
echo NEW=$NEW
|
||||||
|
sed -i 's/$OLD/$NEW/g' $INPUT
|
||||||
|
cat $INPUT
|
||||||
|
}
|
||||||
|
|
||||||
|
echo ... 1. Building
|
||||||
|
mvn clean install $MVN_ARG
|
||||||
|
#Use mvn clean install -o to build offline
|
||||||
|
|
||||||
|
if [ $? -eq 0 ]
|
||||||
|
then
|
||||||
|
echo "Build was finished"
|
||||||
|
else
|
||||||
|
echo "Build failed. Exiting"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo ... 2. Deleting dist directory
|
||||||
|
rm ./dist/*.jar
|
||||||
|
|
||||||
|
echo ... 3. Detecting version
|
||||||
|
cd modules/time-calc-app/target
|
||||||
|
VERSION=`ls time-calc-app-*-jar-with-all-dependencies.jar`
|
||||||
|
VERSION=`replace $VERSION "-jar-with-all-dependencies.jar" ""`
|
||||||
|
VERSION=`replace $VERSION "time-calc-app-" ""`
|
||||||
|
ORIG_VERSION=$VERSION
|
||||||
|
BUILD_TIMESTAMP=`date +'%Y%m%d_%H%M%S'`
|
||||||
|
if [[ `ls time-calc-app-*-jar-with-all-dependencies.jar` == *"SNAPSHOT"* ]];
|
||||||
|
then
|
||||||
|
VERSION=`echo $VERSION-$BUILD_TIMESTAMP`
|
||||||
|
else
|
||||||
|
echo "Release is in progress."
|
||||||
|
fi
|
||||||
|
echo version=$VERSION
|
||||||
|
cd ../../..
|
||||||
|
mkdir dist
|
||||||
|
echo $VERSION>./dist/VERSION
|
||||||
|
|
||||||
|
echo ... 4. Moving new jar file to dist directory
|
||||||
|
mv ./modules/time-calc-app/target/time-calc-app-$ORIG_VERSION-jar-with-all-dependencies.jar ./dist/time-calc-$VERSION.jar
|
||||||
|
rm ./modules/time-calc-app/target/time-calc-app-$ORIG_VERSION.jar
|
||||||
|
|
||||||
|
cp ./dist/time-calc-$VERSION.jar C:/Users/Robert/Desktop/rv
|
||||||
|
|
||||||
|
|
||||||
|
55
modules/time-calc-app/pom.xml
Normal file
55
modules/time-calc-app/pom.xml
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<relativePath>./../../pom.xml</relativePath>
|
||||||
|
<groupId>org.nanoboot.utils</groupId>
|
||||||
|
<artifactId>time-calc</artifactId>
|
||||||
|
<version>0.1.0-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<artifactId>time-calc-app</artifactId>
|
||||||
|
|
||||||
|
<name>time-calc-app</name>
|
||||||
|
<description>time-calc-app</description>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<archive>
|
||||||
|
<manifest>
|
||||||
|
<mainClass>org.nanoboot.utils.timecalc.main.Main</mainClass>
|
||||||
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||||
|
</manifest>
|
||||||
|
<manifestEntries>
|
||||||
|
<Build-Date>${timestamp}</Build-Date>
|
||||||
|
</manifestEntries>
|
||||||
|
</archive>
|
||||||
|
<!-- <descriptorRefs>-->
|
||||||
|
<!-- <descriptorRef>jar-with-dependencies</descriptorRef>-->
|
||||||
|
<!-- </descriptorRefs>-->
|
||||||
|
<descriptors>
|
||||||
|
<descriptor>./src/main/resources/install.xml</descriptor>
|
||||||
|
</descriptors>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>make-assembly</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>single</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
|
||||||
|
</build>
|
||||||
|
|
||||||
|
</project>
|
@ -6,7 +6,7 @@ import java.util.HashSet;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class ComponentRegistry {
|
public class ComponentRegistry {
|
@ -5,7 +5,7 @@ import javax.swing.Timer;
|
|||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class TimeCalcButton extends JButton {
|
public class TimeCalcButton extends JButton {
|
@ -5,7 +5,7 @@ import java.awt.Component;
|
|||||||
import java.awt.HeadlessException;
|
import java.awt.HeadlessException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class TimeCalcWindow extends JFrame {
|
public class TimeCalcWindow extends JFrame {
|
@ -1,7 +1,7 @@
|
|||||||
package org.nanoboot.utils.timecalc.gui.progress;
|
package org.nanoboot.utils.timecalc.gui.progress;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class DayBattery extends Battery{
|
public class DayBattery extends Battery{
|
@ -3,7 +3,7 @@ package org.nanoboot.utils.timecalc.gui.progress;
|
|||||||
import org.nanoboot.utils.timecalc.utils.TimeHM;
|
import org.nanoboot.utils.timecalc.utils.TimeHM;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class HourBattery extends Battery{
|
public class HourBattery extends Battery{
|
@ -1,7 +1,7 @@
|
|||||||
package org.nanoboot.utils.timecalc.gui.progress;
|
package org.nanoboot.utils.timecalc.gui.progress;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class MonthBattery extends Battery{
|
public class MonthBattery extends Battery{
|
@ -20,7 +20,7 @@ import java.util.HashSet;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class WalkingHumanProgressAsciiArt extends JTextPane {
|
public class WalkingHumanProgressAsciiArt extends JTextPane {
|
@ -3,7 +3,7 @@ package org.nanoboot.utils.timecalc.gui.progress;
|
|||||||
import org.nanoboot.utils.timecalc.utils.TimeHM;
|
import org.nanoboot.utils.timecalc.utils.TimeHM;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class WeekBattery extends Battery{
|
public class WeekBattery extends Battery{
|
@ -6,7 +6,7 @@ import org.nanoboot.utils.timecalc.utils.Utils;
|
|||||||
import javax.swing.JOptionPane;
|
import javax.swing.JOptionPane;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class AboutButton extends TimeCalcButton {
|
public class AboutButton extends TimeCalcButton {
|
@ -8,7 +8,7 @@ import javax.swing.JOptionPane;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 31.01.2024
|
* @since 31.01.2024
|
||||||
*/
|
*/
|
||||||
public class Main {
|
public class Main {
|
@ -1,7 +1,7 @@
|
|||||||
package org.nanoboot.utils.timecalc.main;
|
package org.nanoboot.utils.timecalc.main;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class TimeCalcException extends RuntimeException{
|
public class TimeCalcException extends RuntimeException{
|
@ -1,7 +1,7 @@
|
|||||||
package org.nanoboot.utils.timecalc.utils;
|
package org.nanoboot.utils.timecalc.utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author pc00289
|
* @author Robert
|
||||||
* @since 16.02.2024
|
* @since 16.02.2024
|
||||||
*/
|
*/
|
||||||
public class BooleanHolder {
|
public class BooleanHolder {
|
@ -1,7 +1,7 @@
|
|||||||
package org.nanoboot.utils.timecalc.utils;
|
package org.nanoboot.utils.timecalc.utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class Constants {
|
public class Constants {
|
@ -6,7 +6,7 @@ import java.time.format.DateTimeFormatter;
|
|||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class DateFormats {
|
public class DateFormats {
|
@ -3,7 +3,7 @@ package org.nanoboot.utils.timecalc.utils;
|
|||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class FileConstants {
|
public class FileConstants {
|
@ -4,7 +4,7 @@ import java.text.DecimalFormat;
|
|||||||
import java.text.NumberFormat;
|
import java.text.NumberFormat;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Robert
|
* @author pc00289
|
||||||
* @since 21.02.2024
|
* @since 21.02.2024
|
||||||
*/
|
*/
|
||||||
public class NumberFormats {
|
public class NumberFormats {
|
15
modules/time-calc-swing/pom.xml
Normal file
15
modules/time-calc-swing/pom.xml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<relativePath>./../../pom.xml</relativePath>
|
||||||
|
<groupId>org.nanoboot.utils</groupId>
|
||||||
|
<artifactId>time-calc</artifactId>
|
||||||
|
<version>0.1.0-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<artifactId>time-calc-swing</artifactId>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
|
</project>
|
1
modules/time-calc-swing/src/main/java/.gitkeep
Normal file
1
modules/time-calc-swing/src/main/java/.gitkeep
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
1
modules/time-calc-swing/src/main/resources/.gitkeep
Normal file
1
modules/time-calc-swing/src/main/resources/.gitkeep
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
1
modules/time-calc-swing/src/test/java/.gitkeep
Normal file
1
modules/time-calc-swing/src/test/java/.gitkeep
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
154
pom.xml
154
pom.xml
@ -1,83 +1,82 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>org.nanoboot.utils</groupId>
|
<groupId>org.nanoboot.utils</groupId>
|
||||||
<artifactId>time-calc</artifactId>
|
<artifactId>time-calc</artifactId>
|
||||||
<version>0.1.0-SNAPSHOT</version>
|
<version>0.1.0-SNAPSHOT</version>
|
||||||
|
<packaging>pom</packaging>
|
||||||
<name>time-calc</name>
|
<name>Time Calc</name>
|
||||||
<description>time-calc</description>
|
<description>Tool to track time</description>
|
||||||
<packaging>jar</packaging>
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<time-calc.version>0.1.0-SNAPSHOT</time-calc.version>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<maven.compiler.source>8</maven.compiler.source>
|
<maven.compiler.source>8</maven.compiler.source>
|
||||||
<maven.compiler.target>8</maven.compiler.target>
|
<maven.compiler.target>8</maven.compiler.target>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<lib.dir>${basedir}/lib</lib.dir>
|
<lib.dir>${basedir}/lib</lib.dir>
|
||||||
|
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss</maven.build.timestamp.format>
|
||||||
<timestamp>${maven.build.timestamp}</timestamp>
|
<timestamp>${maven.build.timestamp}</timestamp>
|
||||||
<lombok.version>1.18.22</lombok.version>
|
<lombok.version>1.18.22</lombok.version>
|
||||||
|
<checkstyle.config.location>src/main/resources/sun_checks.xml</checkstyle.config.location>
|
||||||
|
<checkstyle.skip>true</checkstyle.skip><!-- TODO : to be removed -->
|
||||||
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
<developers>
|
||||||
|
<developer>
|
||||||
|
<id>robertvokac</id>
|
||||||
|
<name>Robert Vokáč</name>
|
||||||
|
<roles>
|
||||||
|
<role>developer</role>
|
||||||
|
</roles>
|
||||||
|
</developer>
|
||||||
|
</developers>
|
||||||
|
|
||||||
|
<modules>
|
||||||
|
<!-- <module>modules/time-calc-entity</module>-->
|
||||||
|
<!-- <module>modules/time-calc-utils</module>-->
|
||||||
|
<!-- <module>modules/time-calc-persistence-api</module>-->
|
||||||
|
<!-- <module>modules/time-calc-persistence-impl-mock</module>-->
|
||||||
|
<!-- <module>modules/time-calc-persistence-impl-sqlite</module>-->
|
||||||
|
<!-- <module>modules/time-calc-swing</module>-->
|
||||||
|
<module>modules/time-calc-app</module>
|
||||||
|
|
||||||
|
</modules>
|
||||||
|
<dependencies>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.projectlombok</groupId>
|
||||||
|
<artifactId>lombok</artifactId>
|
||||||
|
<version>${lombok.version}</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<dependencyManagement>
|
||||||
|
<dependencies>
|
||||||
|
|
||||||
|
<!-- <dependency>-->
|
||||||
|
<!-- <groupId>private.dme</groupId>-->
|
||||||
|
<!-- <artifactId>jfreechart</artifactId>-->
|
||||||
|
<!-- <version>1.5.3</version>-->
|
||||||
|
<!-- <scope>system</scope>-->
|
||||||
|
<!-- <systemPath>${lib.dir}/jfreechart-1.5.3.jar</systemPath>-->
|
||||||
|
<!-- </dependency>-->
|
||||||
|
|
||||||
|
</dependencies>
|
||||||
|
</dependencyManagement>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
<!-- <finalName>time-calc</finalName>-->
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
|
||||||
<version>3.6.1</version>
|
|
||||||
<configuration>
|
|
||||||
<source>1.8</source>
|
|
||||||
<target>1.8</target>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<configuration>
|
|
||||||
<archive>
|
|
||||||
<manifest>
|
|
||||||
<addClasspath>true</addClasspath>
|
|
||||||
<mainClass>org.nanoboot.utils.timecalc.main.Main</mainClass>
|
|
||||||
</manifest>
|
|
||||||
</archive>
|
|
||||||
</configuration>
|
|
||||||
<!-- Here come other details
|
|
||||||
...
|
|
||||||
-->
|
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- <plugin>-->
|
|
||||||
<!-- <artifactId>maven-assembly-plugin</artifactId>-->
|
|
||||||
<!-- <configuration>-->
|
|
||||||
<!-- <archive>-->
|
|
||||||
<!-- <manifest>-->
|
|
||||||
<!-- <mainClass>Main</mainClass>-->
|
|
||||||
<!-- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>-->
|
|
||||||
<!-- </manifest>-->
|
|
||||||
<!-- <manifestEntries>-->
|
|
||||||
<!-- <Build-Date>${timestamp}</Build-Date>-->
|
|
||||||
<!-- </manifestEntries>-->
|
|
||||||
<!-- </archive>-->
|
|
||||||
<!-- <!– <descriptorRefs>–>-->
|
|
||||||
<!-- <!– <descriptorRef>jar-with-dependencies</descriptorRef>–>-->
|
|
||||||
<!-- <!– </descriptorRefs>–>-->
|
|
||||||
<!-- <descriptors>-->
|
|
||||||
<!-- <descriptor>./src/main/resources/install.xml</descriptor>-->
|
|
||||||
<!-- </descriptors>-->
|
|
||||||
<!-- </configuration>-->
|
|
||||||
<!-- <executions>-->
|
|
||||||
<!-- <execution>-->
|
|
||||||
<!-- <id>make-assembly</id> <!– this is used for inheritance merges –>-->
|
|
||||||
<!-- <phase>package</phase> <!– bind to the packaging phase –>-->
|
|
||||||
<!-- <goals>-->
|
|
||||||
<!-- <goal>single</goal>-->
|
|
||||||
<!-- </goals>-->
|
|
||||||
<!-- </execution>-->
|
|
||||||
<!-- </executions>-->
|
|
||||||
<!-- </plugin>-->
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
@ -96,14 +95,37 @@
|
|||||||
<target>${maven.compiler.target}</target>
|
<target>${maven.compiler.target}</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
|
<version>3.2.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>validate</id>
|
||||||
|
<phase>validate</phase>
|
||||||
|
<configuration>
|
||||||
|
<consoleOutput>true</consoleOutput>
|
||||||
|
<failsOnError>true</failsOnError>
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>check</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
<reporting>
|
||||||
<groupId>org.projectlombok</groupId>
|
<plugins>
|
||||||
<artifactId>lombok</artifactId>
|
<plugin>
|
||||||
<version>1.18.20</version>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<scope>provided</scope>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
</dependency>
|
<version>3.4.1</version>
|
||||||
</dependencies>
|
<configuration>
|
||||||
</project>
|
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</reporting>
|
||||||
|
</project>
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
clock.colorful=false
|
|
||||||
clock.hands.long=false
|
|
||||||
jokes.visible=true
|
|
||||||
battery.waves.enabled=false
|
|
Loading…
x
Reference in New Issue
Block a user