<plugin>

....
   <dependencies>
     <dependency>
       g/a/v of where your annotation processor is
    </dependency>
   </dependencies>
  </plugin>

On Wed, Nov 24, 2010 at 3:43 PM, Julien Martin <bal...@gmail.com> wrote:
> Thanks Benson,
> What do you mean? How do I do that?
> J.
>
> 2010/11/24 Benson Margulies <bimargul...@gmail.com>
>
>> A guess: also add it as a dependency to the compiler plugin?
>>
>> On Wed, Nov 24, 2010 at 3:36 PM, Julien Martin <bal...@gmail.com> wrote:
>> > Hello,
>> >
>> > I am trying for maven to process my annotation processor.
>> > Here is what I tried:
>> >            <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.util.TestAnnotationsProcessor</processor>
>> >
>> > <processorpath>${basedir}/src/main/java</processorpath>
>> >                    </compilerArguments>
>> >                </configuration>
>> >            </plugin>
>> >
>> > Here is what I get:
>> > Compilation failure
>> > error: Annotation processor
>> > 'com.jeanbaptistemartin.util.TestAnnotationsProcessor' not found
>> >
>> > Can anyone please help?
>> >
>> > Thanks in advance,
>> >
>> > Julien.
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to