Hello, Due to a restructuring in a maven project, I am experiencing problems with the following POM. I have two classes in the maven project below: com.jeanbaptistemartin.annotations.MethodLevelAnnotation (an annotation) com.jeanbaptistemartin.annotations.TestAnnotationsProcessor (my annotation processor)
Here is what I get when I do a build: *Compiling 2 source files to /home/julien/NetBeansProjects/jbm-annotation-processor/target/classes ------------------------------------------------------------------------ [ERROR]BUILD FAILURE ------------------------------------------------------------------------ Compilation failure error: Annotation processor 'com.jeanbaptistemartin.annotations.TestAnnotationsProcessor' not found * Can anyone please help? Thanks in advance, J. <?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"> <modelVersion>4.0.0</modelVersion> <groupId>com.jeanbaptistemartin</groupId> <artifactId>jbm-annotation-processor</artifactId> <packaging>jar</packaging> <version>1.0</version> <name>jbm-annotation-processor</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.2</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> <compilerArguments> <processor>com.jeanbaptistemartin.annotations.TestAnnotationsProcessor</processor> </compilerArguments> </configuration> </plugin> </plugins> </build> </project>