An open API service indexing awesome lists of open source software.

https://github.com/codota/codota-maven-plugin

Maven plugin for indexing java/scala code in Codota
https://github.com/codota/codota-maven-plugin

Last synced: 8 months ago
JSON representation

Maven plugin for indexing java/scala code in Codota

Awesome Lists containing this project

README

          

# Codota maven plugin
Maven plugin for [indexing java/scala code in Codota](https://www.codota.com/index-your-repo)

You can easily send your Java code for indexing by adding this simple maven plugin which collects your artifacts and uploads them to your secure private Codota account.

### Uploading your artifacts for analysis
To submit your code follow these simple steps:
* [Create your private account at Codota](https://www.codota.com/submit-repo/maven)
* Build your project including sources and send to Codota for indexing by running the following command in your project directory

```
mvn clean source:jar source:test-jar jar:test-jar package com.codota:codota-uploader:1.1.0:upload -Dcodota.token={your_token_here} -Dcodota.endpoint=https://upload.codota.com/artifacts -DskipAssembly -DskipTests -Dmaven.javadoc.skip=true -Dgpg.skip
```
Also, you have the following optional parameter:
```
-Dcodota.projectPrefix={prefix}
```
Make sure to use the secure token you receive from Codota. Please make sure to keep your token private and secure.
Indexing usually takes less than an hour - you'll get an email once it's ready

* To permanently add upload to Codota in your build, paste the following in your pom.xml under - make sure to use the secure token you receive from Codota. Please make sure to keep your token private and secure.
```

com.codota
uploader
1.1.0

https://upload.codota.com/artifacts
----------- *put your secure token here* -----------



codota-upload
package


upload




```

Build your project including sources and send to Codota for indexing by running the following command in your project directory

```
mvn clean source:jar source:test-jar jar:test-jar package -DskipAssembly -DskipTests
```