mirror of
https://github.com/jlengrand/error-prone-support.git
synced 2026-03-10 08:11:25 +00:00
Compare commits
2 Commits
v0.19.0
...
rossendrij
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
31e5a8ad23 | ||
|
|
9cb360ea88 |
3
pom.xml
3
pom.xml
@@ -42,6 +42,7 @@
|
||||
<module>error-prone-contrib</module>
|
||||
<module>refaster-compiler</module>
|
||||
<module>refaster-support</module>
|
||||
<module>weird-classpath-issue</module>
|
||||
</modules>
|
||||
|
||||
<scm>
|
||||
@@ -131,7 +132,7 @@
|
||||
<!-- Dependency and plugin versions that are referenced in more than
|
||||
one place. We use these to keep dependencies in sync. Version numbers
|
||||
that need to be referenced only once should *not* be listed here. -->
|
||||
<version.auto-service>1.0.1</version.auto-service>
|
||||
<version.auto-service>1.0</version.auto-service>
|
||||
<version.auto-value>1.9</version.auto-value>
|
||||
<version.error-prone>${version.error-prone-orig}</version.error-prone>
|
||||
<version.error-prone-fork>v${version.error-prone-orig}-picnic-3</version.error-prone-fork>
|
||||
|
||||
89
weird-classpath-issue/pom.xml
Normal file
89
weird-classpath-issue/pom.xml
Normal file
@@ -0,0 +1,89 @@
|
||||
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>tech.picnic.error-prone-support</groupId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<artifactId>weird-classpath-issue</artifactId>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
<name>Try some stuff</name>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.google.auto.service</groupId>
|
||||
<artifactId>auto-service</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<!-- <version>3.9.0</version>-->
|
||||
<configuration>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>com.google.auto.service</groupId>
|
||||
<artifactId>auto-service</artifactId>
|
||||
<version>1.0</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
<parameters>true</parameters>
|
||||
<release>11</release>
|
||||
<!-- Even though `-release X` implies `-source X` and-->
|
||||
<!-- `-target X`, we need to configure these properties-->
|
||||
<!-- explicitily, for otherwise the plugin's default value-->
|
||||
<!-- of `1.6` is passed on. –>-->
|
||||
<source>11</source>
|
||||
<target>11</target>
|
||||
<!-- <!– Erroneously inverted logic... for details, see-->
|
||||
<!-- https://issues.apache.org/jira/browse/MCOMPILER-209. –>-->
|
||||
<useIncrementalCompilation>false</useIncrementalCompilation>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>guava</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<annotationProcessorPaths combine.children="append">
|
||||
<path>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>31.0.1-jre</version>
|
||||
</path>
|
||||
<!-- <path>-->
|
||||
<!-- <groupId>com.github.PicnicSupermarket.error-prone</groupId>-->
|
||||
<!-- <artifactId>error_prone_annotations</artifactId>-->
|
||||
<!-- <version>v2.10.0-picnic-3</version>-->
|
||||
<!-- </path>-->
|
||||
<!-- <path>-->
|
||||
<!-- <groupId>com.github.PicnicSupermarket.error-prone</groupId>-->
|
||||
<!-- <artifactId>error_prone_core</artifactId>-->
|
||||
<!-- <version>v2.10.0-picnic-1</version>-->
|
||||
<!-- </path>-->
|
||||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
@@ -0,0 +1,6 @@
|
||||
package tech.picnic.errorprone.refaster;
|
||||
|
||||
import com.google.auto.service.AutoService;
|
||||
|
||||
//@AutoService(A.class)
|
||||
public class A {}
|
||||
Reference in New Issue
Block a user