diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..54f4d0f --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,2 @@ +github: [uPagge] +custom: ["https://struchkov.dev/blog/about/#донаты", "https://tinkoff.ru/sl/NSGSK7FgEI", "https://paypal.me/upagge"] \ No newline at end of file diff --git a/pom.xml b/pom.xml index 39cade8..fd97038 100644 --- a/pom.xml +++ b/pom.xml @@ -4,40 +4,57 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.sadtech.example + dev.struchkov.example create-annotation - 0.0.1-SNAPSHOT + 0.0.2-SNAPSHOT jar - 11 - 11 + 17 + ${java.version} + ${java.version} + UTF-8 + UTF-8 + + 3.9.0 + 3.2.1 + 3.3.1 com.google.auto.service auto-service - 1.0 + 1.0.1 provided com.google.guava guava - 30.1.1-jre + 31.0.1-jre + + org.apache.maven.plugins + maven-compiler-plugin + ${plugin.maven.compiler.ver} + + ${java.version} + ${java.version} + + org.apache.maven.plugins maven-source-plugin + ${plugin.maven.source.ver} attach-sources - jar + jar-no-fork @@ -45,9 +62,7 @@ org.apache.maven.plugins maven-javadoc-plugin - - ${java.home}/bin/javadoc - + ${plugin.maven.javadoc.ver} attach-javadocs diff --git a/src/main/java/org/sadtech/example/annotation/ClassCreator.java b/src/main/java/dev/struchkov/example/annotation/ClassCreator.java similarity index 90% rename from src/main/java/org/sadtech/example/annotation/ClassCreator.java rename to src/main/java/dev/struchkov/example/annotation/ClassCreator.java index ba01377..c7989e5 100644 --- a/src/main/java/org/sadtech/example/annotation/ClassCreator.java +++ b/src/main/java/dev/struchkov/example/annotation/ClassCreator.java @@ -1,7 +1,7 @@ -package org.sadtech.example.annotation; +package dev.struchkov.example.annotation; -import org.sadtech.example.annotation.domain.ClassDto; -import org.sadtech.example.annotation.domain.FieldDto; +import dev.struchkov.example.annotation.domain.ClassDto; +import dev.struchkov.example.annotation.domain.FieldDto; import javax.annotation.processing.ProcessingEnvironment; import javax.tools.JavaFileObject; diff --git a/src/main/java/org/sadtech/example/annotation/FieldNames.java b/src/main/java/dev/struchkov/example/annotation/FieldNames.java similarity index 87% rename from src/main/java/org/sadtech/example/annotation/FieldNames.java rename to src/main/java/dev/struchkov/example/annotation/FieldNames.java index 8a2710c..fc41344 100644 --- a/src/main/java/org/sadtech/example/annotation/FieldNames.java +++ b/src/main/java/dev/struchkov/example/annotation/FieldNames.java @@ -1,4 +1,4 @@ -package org.sadtech.example.annotation; +package dev.struchkov.example.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/main/java/org/sadtech/example/annotation/domain/ClassDto.java b/src/main/java/dev/struchkov/example/annotation/domain/ClassDto.java similarity index 92% rename from src/main/java/org/sadtech/example/annotation/domain/ClassDto.java rename to src/main/java/dev/struchkov/example/annotation/domain/ClassDto.java index a85d401..832b155 100644 --- a/src/main/java/org/sadtech/example/annotation/domain/ClassDto.java +++ b/src/main/java/dev/struchkov/example/annotation/domain/ClassDto.java @@ -1,4 +1,4 @@ -package org.sadtech.example.annotation.domain; +package dev.struchkov.example.annotation.domain; import java.util.Set; diff --git a/src/main/java/org/sadtech/example/annotation/domain/FieldDto.java b/src/main/java/dev/struchkov/example/annotation/domain/FieldDto.java similarity index 92% rename from src/main/java/org/sadtech/example/annotation/domain/FieldDto.java rename to src/main/java/dev/struchkov/example/annotation/domain/FieldDto.java index 6d8bfc8..919aa16 100644 --- a/src/main/java/org/sadtech/example/annotation/domain/FieldDto.java +++ b/src/main/java/dev/struchkov/example/annotation/domain/FieldDto.java @@ -1,4 +1,4 @@ -package org.sadtech.example.annotation.domain; +package dev.struchkov.example.annotation.domain; /** * // TODO: 07.06.2021 Добавить описание. diff --git a/src/main/java/org/sadtech/example/annotation/processor/FieldNameProcessor.java b/src/main/java/dev/struchkov/example/annotation/processor/FieldNameProcessor.java similarity index 88% rename from src/main/java/org/sadtech/example/annotation/processor/FieldNameProcessor.java rename to src/main/java/dev/struchkov/example/annotation/processor/FieldNameProcessor.java index 29a1665..7037a95 100644 --- a/src/main/java/org/sadtech/example/annotation/processor/FieldNameProcessor.java +++ b/src/main/java/dev/struchkov/example/annotation/processor/FieldNameProcessor.java @@ -1,11 +1,11 @@ -package org.sadtech.example.annotation.processor; +package dev.struchkov.example.annotation.processor; import com.google.auto.service.AutoService; import com.google.common.base.CaseFormat; -import org.sadtech.example.annotation.ClassCreator; -import org.sadtech.example.annotation.FieldNames; -import org.sadtech.example.annotation.domain.ClassDto; -import org.sadtech.example.annotation.domain.FieldDto; +import dev.struchkov.example.annotation.ClassCreator; +import dev.struchkov.example.annotation.FieldNames; +import dev.struchkov.example.annotation.domain.ClassDto; +import dev.struchkov.example.annotation.domain.FieldDto; import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.Processor; @@ -20,7 +20,7 @@ import java.util.Arrays; import java.util.Set; import java.util.stream.Collectors; -@SupportedAnnotationTypes("org.sadtech.example.annotation.FieldNames") +@SupportedAnnotationTypes("dev.struchkov.example.annotation.FieldNames") @SupportedSourceVersion(SourceVersion.RELEASE_11) @AutoService(Processor.class) public class FieldNameProcessor extends AbstractProcessor {