# Jetbrains annotations 13.0 source download

**URL:** <https://discuss.kotlinlang.org/t/jetbrains-annotations-13-0-source-download/18408>\
**Category:** Support\
**Created:** [July 10, 2020, 1:50pm UTC](https://discuss.kotlinlang.org/t/jetbrains-annotations-13-0-source-download/18408 "2020-07-10T13:50:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![turloch](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@turloch](https://discuss.kotlinlang.org/u/turloch)\
**Post date:** [July 10, 2020, 1:50pm UTC](https://discuss.kotlinlang.org/t/jetbrains-annotations-13-0-source-download/18408/1 "2020-07-10T13:50:43Z")

</div>

jetbrains annotations 13.0 is a dependency of kotlin I want to get the source for our (Oracle Corporation) internally built repo.

-There is source on mvnrepository [https://mvnrepository.com/artifact/org.jetbrains/annotations/13.0](https://mvnrepository.com/artifact/org.jetbrains/annotations/13.0) - Might not be clean enough (ie download from github/vendor) it does not have a LICENSE.txt I checked one of the source files it has an apache2 copyright header:

-There is an old internal to Oracle mirror.

Thank you for your time,  
Turloch O’Tierney

---

<div class="post-metadata">

**Author:** ![Alexey.Belkov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/alexey.belkov/32/5215_2.png) [@Alexey.Belkov](https://discuss.kotlinlang.org/u/Alexey.Belkov)\
**Post date:** [July 13, 2020, 8:23am UTC](https://discuss.kotlinlang.org/t/jetbrains-annotations-13-0-source-download/18408/2 "2020-07-13T08:23:58Z")

</div>

Judging by [GitHub - JetBrains/java-annotations: Annotations for JVM-based languages.](https://github.com/JetBrains/java-annotations) it has an Apache license. Can you just use [https://mvnrepository.com/artifact/org.jetbrains/annotations/13.0](https://mvnrepository.com/artifact/org.jetbrains/annotations/13.0)?

---

<div class="post-metadata">

**Author:** ![turloch](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@turloch](https://discuss.kotlinlang.org/u/turloch)\
**Post date:** [July 13, 2020, 11:23am UTC](https://discuss.kotlinlang.org/t/jetbrains-annotations-13-0-source-download/18408/3 "2020-07-13T11:23:17Z")

</div>

Hi Alexey,

I will seek guidance from Management/Product Management/Legal about using jar from [https://mvnrepository.com/artifact/org.jetbrains/annotations/13.0](https://mvnrepository.com/artifact/org.jetbrains/annotations/13.0) .

So far I have been able to download and recompile open source dependencies - I would need to clear any change with Management/Product Management Legal. There is always the hope that one more google will find source with clearer License details (the java files have license details at the top).

I am a Java Developer - so I could rebuild from source jar (using java 6) + pom then if it works: seek approval from Management/Legal .

Thank you for your time,  
Turloch

(FYI The rest of this email is earlier drafts - which contains little additional information)

My current task is to download/recompile 3rd party open source dependencies, for future use of Kotlin. I will need to report back any difficulty to Management/Product Management.

The [https://mvnrepository.com/artifact/org.jetbrains/annotations/13.0](https://mvnrepository.com/artifact/org.jetbrains/annotations/13.0) jar is listed internally, there might be precedent for not compiling from source.

I am trying to download/recompile 3rd party open source dependencies, for future use of Kotlin[1].  
I work at [Oracle.com](http://Oracle.com) [2]

Maven central is reset so we manage third party libraries. I have been looking for annotations 13 since Thursday. I will need to summarize my findings up the management/product management chain soon enough.[3]

I had already seen:  
[https://mvnrepository.com/artifact/org.jetbrains/annotations/13.0](https://mvnrepository.com/artifact/org.jetbrains/annotations/13.0)

Which includes pom file and source. (I could rebuild from source jar + pom then if it works: seek approval from Management/Legal) .

I did see the jar internally (compiled 2013)

I was looking for a clean/obvious from vendor/from vendor’s github download.

[Tags · JetBrains/java-annotations · GitHub](https://github.com/JetBrains/java-annotations/tags) goes back to 16.1

[1] (Approval goes first to My manager/Product Manager, then to Legal).  
[2] Never sure how much to say about my role:  
FYI:I work as Java Developer/Senior Member of Technical Staff (i.e. not very senior) at Oracle on Database Tools(free to download but not open source tools) (I can give you more detail about current role/released products I work on, kotlin is not in current released products I work on).

---

<div class="post-metadata">

**Author:** ![turloch](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@turloch](https://discuss.kotlinlang.org/u/turloch)\
**Post date:** [July 13, 2020, 1:46pm UTC](https://discuss.kotlinlang.org/t/jetbrains-annotations-13-0-source-download/18408/4 "2020-07-13T13:46:23Z")

</div>

Hi Alexey,

I can build from source. ( I have not tried the resulting jar in a product).

Regards,  
Turloch

Notes:

> I am a Java Developer - so I could rebuild from source jar (using java 6) + pom then if it works: seek  
> approval from Management/Legal .

I can build from source + pom file using java 1.8 (with source set to 1.5 (latest maven does not run with java6))) with the following minor changes in the pom.xml:  
Path change to source, and skip gpg plugin which I do not have at the moment.

2 of the 16 class files showed diffs (surprised it was so low as different compiler). I have not tried it in any product.

Apache license banner is in each java file and in the pom.xml file.  
TOTIERNE-mac:testbuild totierne java8$ diff pom.xml …/annotations-13.0.pom  
(path changed and gpg removed)
