mbien commented on issue #7328:
URL: https://github.com/apache/netbeans/issues/7328#issuecomment-2073922372
How do you run the annotation processor? Anything special there?
I couldn't reproduce it either, no exceptions even without the dependency.
```java
package dev.mbien.mavenproject1;
import com.google.auto.service.AutoService;
public class Mavenproject1 {
public interface FooService {
String translate(String message);
}
@AutoService(FooService.class)
public class FooServiceProvider implements FooService {
@Override
public String translate(String message) {
return null;
}
}
}
```
```xml
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>dev.mbien</groupId>
<artifactId>mavenproject1</artifactId>
<version>0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<dependencies>
<!--
<dependency>
<groupId>com.google.auto.service</groupId>
<artifactId>auto-service</artifactId>
<version>1.1.1</version>
<scope>compile</scope>
</dependency>
-->
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<exec.mainClass>dev.mbien.mavenproject1.Mavenproject1</exec.mainClass>
<maven.compiler.release>21</maven.compiler.release>
</properties>
</project>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists