Skip to content

Commit a82d348

Browse files
elharochingor13
authored andcommitted
fix: move autovalue into annotation processor path instead of classpath (#358)
1 parent f4f05be commit a82d348

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

oauth2_http/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,6 @@
6666
<groupId>com.google.auto.value</groupId>
6767
<artifactId>auto-value-annotations</artifactId>
6868
</dependency>
69-
<dependency>
70-
<groupId>com.google.auto.value</groupId>
71-
<artifactId>auto-value</artifactId>
72-
<scope>provided</scope>
73-
</dependency>
7469
<dependency>
7570
<groupId>com.google.code.findbugs</groupId>
7671
<artifactId>jsr305</artifactId>

pom.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,6 @@
107107
<artifactId>auto-value-annotations</artifactId>
108108
<version>${project.autovalue.version}</version>
109109
</dependency>
110-
<dependency>
111-
<groupId>com.google.auto.value</groupId>
112-
<artifactId>auto-value</artifactId>
113-
<version>${project.autovalue.version}</version>
114-
<scope>provided</scope>
115-
</dependency>
116110
<dependency>
117111
<groupId>com.google.code.findbugs</groupId>
118112
<artifactId>jsr305</artifactId>
@@ -225,6 +219,13 @@
225219
<target>1.7</target>
226220
<encoding>UTF-8</encoding>
227221
<compilerArgument>-Xlint:unchecked</compilerArgument>
222+
<annotationProcessorPaths>
223+
<path>
224+
<groupId>com.google.auto.value</groupId>
225+
<artifactId>auto-value</artifactId>
226+
<version>${project.autovalue.version}</version>
227+
</path>
228+
</annotationProcessorPaths>
228229
</configuration>
229230
</plugin>
230231
<plugin>

0 commit comments

Comments
 (0)