mirror of
https://github.com/Example-uPagge/creating-annotation.git
synced 2024-06-14 11:22:32 +03:00
update version
This commit is contained in:
parent
06adcbab9d
commit
eb1a0df741
2
.github/FUNDING.yml
vendored
Normal file
2
.github/FUNDING.yml
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
github: [uPagge]
|
||||
custom: ["https://struchkov.dev/blog/about/#донаты", "https://tinkoff.ru/sl/NSGSK7FgEI", "https://paypal.me/upagge"]
|
35
pom.xml
35
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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.sadtech.example</groupId>
|
||||
<groupId>dev.struchkov.example</groupId>
|
||||
<artifactId>create-annotation</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>0.0.2-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>11</maven.compiler.source>
|
||||
<maven.compiler.target>11</maven.compiler.target>
|
||||
<java.version>17</java.version>
|
||||
<maven.compiler.source>${java.version}</maven.compiler.source>
|
||||
<maven.compiler.target>${java.version}</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
|
||||
<plugin.maven.compiler.ver>3.9.0</plugin.maven.compiler.ver>
|
||||
<plugin.maven.source.ver>3.2.1</plugin.maven.source.ver>
|
||||
<plugin.maven.javadoc.ver>3.3.1</plugin.maven.javadoc.ver>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.google.auto.service</groupId>
|
||||
<artifactId>auto-service</artifactId>
|
||||
<version>1.0</version>
|
||||
<version>1.0.1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>30.1.1-jre</version>
|
||||
<version>31.0.1-jre</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>${plugin.maven.compiler.ver}</version>
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>${plugin.maven.source.ver}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
@ -45,9 +62,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
|
||||
</configuration>
|
||||
<version>${plugin.maven.javadoc.ver}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
|
@ -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;
|
@ -1,4 +1,4 @@
|
||||
package org.sadtech.example.annotation;
|
||||
package dev.struchkov.example.annotation;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
@ -1,4 +1,4 @@
|
||||
package org.sadtech.example.annotation.domain;
|
||||
package dev.struchkov.example.annotation.domain;
|
||||
|
||||
import java.util.Set;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.sadtech.example.annotation.domain;
|
||||
package dev.struchkov.example.annotation.domain;
|
||||
|
||||
/**
|
||||
* // TODO: 07.06.2021 Добавить описание.
|
@ -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 {
|
Loading…
Reference in New Issue
Block a user