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
- Host: GitHub
- URL: https://github.com/codota/codota-maven-plugin
- Owner: codota
- License: apache-2.0
- Created: 2015-09-21T12:59:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-10-30T11:50:20.000Z (about 7 years ago)
- Last Synced: 2025-04-20T15:44:29.173Z (9 months ago)
- Language: Java
- Size: 34.2 KB
- Stars: 7
- Watchers: 17
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```