Skip to content

Commit

Permalink
Providing the link to the hosted jar file in sonatype
Browse files Browse the repository at this point in the history
  • Loading branch information
dsalathe committed Nov 24, 2023
1 parent 1a5dadc commit d67f7bf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
File renamed without changes.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ Usually the client has responsibility to start the server. They first communicat

## Getting Started

You can either [download](https://oss.sonatype.org/content/repositories/snapshots/io/smartdatalake/sdl-lsp/1.0-SNAPSHOT/) the jar and jump directly to [Setting a basic LSP client in Intellij](#Setting-a-basic-LSP-client-in-Intellij) or compile and generate the jar yourself.

To download it, go [here](https://oss.sonatype.org/content/repositories/snapshots/io/smartdatalake/sdl-lsp/1.0-SNAPSHOT/) and take the one finishing with `XXX-jar-with-dependencies.jar`.
You can now read [Setting a basic LSP client in Intellij](#Setting-a-basic-LSP-client-in-Intellij).

If you prefer build the jar, follow the instructions below.

### Dependencies
To be able to build an executable jar with this project, you will need:
* maven
Expand All @@ -32,17 +39,12 @@ To be able to build an executable jar with this project, you will need:
* Click on the gear aside `Marketplace` and `Installed` and click on `Install Plugin from disk...`. Add the downloaded plugin.
* Go to `Settings > Languages & Frameworks > Language Server Protocol > Server definitions`
* Choose `Raw command | Extension: conf | Command: java -jar ${path-to-project}/target/sdl-lsp-1.0-SNAPSHOT-jar-with-dependencies.jar`. Be sure you ran `mvn clean package` before.
Please adapt the name if you downloaded the jar.
* A red, yellow or green dot should have appeared in the bottom of your IDE. Red just means the LSP is inactive, yellow means the LSP is initializing and green means up and running. You can check timeouts, restart the server or check the connected files.


## Authors
[scalathe](https://github.com/dsalathe)

## License
TODO

This project is licensed under the [NAME HERE] License - see the LICENSE.md file for details

## Acknowledgments

TODO
This project is licensed under the GNU General Public License (GPL) version 3 - see the LICENSE.txt file for details
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@
</distributionManagement>
<build>
<plugins>
<!-- Builds an empty javadoc jar to be able to publish the jar into sonatype.
There is incompatibilities with scala-maven-plugin with the goal doc-jar and scala 3 currently (2023-11-24).
Please feel free to actually generate the javadoc once the incompatibility is resolved. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
Expand Down

0 comments on commit d67f7bf

Please sign in to comment.