auto-value
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.google.auto.value</groupId> <artifactId>auto-value</artifactId> <version>1.11.0</version> </dependency>
<?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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <artifactId>auto-value-parent</artifactId> <groupId>com.google.auto.value</groupId> <version>1.11.0</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>auto-value</artifactId> <name>AutoValue Processor</name> <version>1.11.0</version> <description>Immutable value-type code generation for Java 8+.</description> <url>https://github.com/google/auto/tree/main/value</url> <scm> <connection>scm:git:git://github.com/google/auto.git</connection> <developerConnection>scm:git:ssh://git@github.com/google/auto.git</developerConnection> <url>http://github.com/google/auto</url> </scm> <build> <sourceDirectory>../src/main/java</sourceDirectory> <testSourceDirectory>../src/test/java</testSourceDirectory> <resources> <resource> <directory>../src/main/java</directory> <includes> <include>**/*.vm</include> </includes> </resource> </resources> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <executions> <execution> <id>default-testCompile</id> <configuration> <compilerArgs> <arg>-parameters</arg> </compilerArgs> <annotationProcessorPaths> <path> <groupId>com.google.auto.value</groupId> <artifactId>auto-value</artifactId> <version>${project.version}</version> </path> <path> <groupId>com.google.auto.service</groupId> <artifactId>auto-service</artifactId> <version>${auto-service.version}</version> </path> </annotationProcessorPaths> </configuration> </execution> </executions> <configuration> <includes> <include>com/google/auto/value/processor/**/*.java</include> <include>com/google/auto/value/extension/memoized/processor/**/*.java</include> <include>com/google/auto/value/extension/serializable/processor/**/*.java</include> <include>com/google/auto/value/extension/serializable/serializer/**/*.java</include> <include>com/google/auto/value/extension/toprettystring/processor/**/*.java</include> </includes> <compilerArgs> <arg>-AallowedMissingSerializableExtensionClasses=.*TestStringSerializerFactory</arg> </compilerArgs> <annotationProcessorPaths> <path> <groupId>com.google.auto.service</groupId> <artifactId>auto-service</artifactId> <version>${auto-service.version}</version> </path> <path> <groupId>net.ltgt.gradle.incap</groupId> <artifactId>incap-processor</artifactId> <version>1.0.0</version> </path> </annotationProcessorPaths> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>3.2.5</version> <configuration> <argLine>${test.jvm.flags}</argLine> </configuration> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> </plugin> <plugin> <artifactId>maven-invoker-plugin</artifactId> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>3.5.3</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <minimizeJar>true</minimizeJar> <artifactSet> <excludes> <exclude>com.google.code.findbugs:jsr305</exclude> </excludes> </artifactSet> <relocations> <relocation> <pattern>com.google</pattern> <shadedPattern>autovalue.shaded.com.google</shadedPattern> <excludes> <exclude>com.google.auto.value.**</exclude> </excludes> </relocation> <relocation> <pattern>com.squareup.javapoet</pattern> <shadedPattern>autovalue.shaded.com.squareup.javapoet</shadedPattern> </relocation> <relocation> <pattern>net.ltgt.gradle.incap</pattern> <shadedPattern>autovalue.shaded.net.ltgt.gradle.incap</shadedPattern> </relocation> <relocation> <pattern>org.checkerframework</pattern> <shadedPattern>autovalue.shaded.org.checkerframework</shadedPattern> </relocation> <relocation> <pattern>org.jetbrains</pattern> <shadedPattern>autovalue.shaded.org.jetbrains</shadedPattern> </relocation> <relocation> <pattern>org.objectweb</pattern> <shadedPattern>autovalue.shaded.org.objectweb</shadedPattern> </relocation> </relocations> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>disable-java8-doclint</id> <properties> <additionalparam>-Xdoclint:none</additionalparam> </properties> </profile> <profile> <id>open-modules</id> <properties> <test.jvm.flags>--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</test.jvm.flags> </properties> </profile> <profile> <id>exclude-module-tests</id> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <testExcludes> <exclude>**/AutoValueModuleCompilationTest.java</exclude> </testExcludes> </configuration> </plugin> </plugins> </build> </profile> </profiles> <dependencies> <dependency> <groupId>com.google.auto.value</groupId> <artifactId>auto-value-annotations</artifactId> <version>1.11.0</version> <scope>test</scope> </dependency> <dependency> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_type_annotations</artifactId> <version>2.27.1</version> <scope>test</scope> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava-testlib</artifactId> <version>33.2.0-jre</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>hamcrest-core</artifactId> <groupId>org.hamcrest</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.google.truth</groupId> <artifactId>truth</artifactId> <version>1.4.2</version> <scope>test</scope> </dependency> <dependency> <groupId>com.google.truth.extensions</groupId> <artifactId>truth-java8-extension</artifactId> <version>1.4.2</version> <scope>test</scope> </dependency> <dependency> <groupId>com.google.testing.compile</groupId> <artifactId>compile-testing</artifactId> <version>0.21.0</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>auto-value</artifactId> <groupId>com.google.auto.value</groupId> </exclusion> </exclusions> </dependency> </dependencies> <properties> <auto-service.version>1.1.1</auto-service.version> <errorprone.version>2.27.1</errorprone.version> </properties> </project>