mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-22 04:37:42 +01:00
Update README.md
This commit is contained in:
parent
6ad406eac3
commit
9976adc520
@ -7,7 +7,6 @@ Wiki: https://git.lumine.io/mythiccraft/mmoitems/-/wikis/home
|
||||
|
||||
1. Get the jar file you want to add as a dependency and place it on your desktop
|
||||
2. You'll need to deploy your jar as a maven artifact for Maven to recognize the jar as a potential dependency. For that you can use the command in your command prompt:
|
||||
|
||||
```
|
||||
mvn deploy:deploy-file -Durl=file:///C:\Users\cympe\Desktop -DgroupId=net.Indyuce.mmoitems.lib -Dpackaging=jar -Dfile=<JarFileName>.jar -DartifactId=<ArtifactName> -Dversion=<ArtifactVersion>
|
||||
```
|
||||
@ -23,6 +22,5 @@ This will generate a folder that you can place in the MI local repo.
|
||||
<artifactId>ArtifactName</artifactId>
|
||||
<version>ArtifactVersion</version>
|
||||
</dependency>
|
||||
```
|
||||
The artifact names and versions must match in order for the dependency to be recognized.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user