# Maven and KAnnotator files

**URL:** <https://discuss.kotlinlang.org/t/maven-and-kannotator-files/795>\
**Category:** Uncategorized\
**Created:** [June 7, 2013, 5:44pm UTC](https://discuss.kotlinlang.org/t/maven-and-kannotator-files/795 "2013-06-07T17:44:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarioArias](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/marioarias/32/1488_2.png) [@MarioArias](https://discuss.kotlinlang.org/u/MarioArias)\
**Post date:** [June 7, 2013, 5:44pm UTC](https://discuss.kotlinlang.org/t/maven-and-kannotator-files/795/1 "2013-06-07T17:44:18Z")

</div>

How I could configure the maven plugin to use the KAnnotator xml files?

I try several combinations but no one works

---

<div class="post-metadata">

**Author:** ![abreslav](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/abreslav/32/8279_2.png) [@abreslav](https://discuss.kotlinlang.org/u/abreslav)\
**Post date:** [June 8, 2013, 4:59pm UTC](https://discuss.kotlinlang.org/t/maven-and-kannotator-files/795/2 "2013-06-08T16:59:25Z")

</div>

This should work:

```kotlin

           <configuration>
                   <annotationPaths>
                   <annotationPath>${path}</annotationPath>
                   </annotationPaths>
           </configuration>

```

---

<div class="post-metadata">

**Author:** ![abreslav](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/abreslav/32/8279_2.png) [@abreslav](https://discuss.kotlinlang.org/u/abreslav)\
**Post date:** [June 8, 2013, 5:03pm UTC](https://discuss.kotlinlang.org/t/maven-and-kannotator-files/795/3 "2013-06-08T17:03:50Z")

</div>

Added to the docs:

[http://confluence.jetbrains.com/display/Kotlin/Kotlin](http://confluence.jetbrains.com/display/Kotlin/Kotlin)+Build+Tools#KotlinBuildTools-Externalannotations
