<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.github.simplicitesoftware</groupId> <artifactId>java-language-server</artifactId> <version>1.0.7</version> <name>Simplicite Java LSP</name> <description>Simplicite Java Language Server - EXPERIMENTAL - forked from georgewfraser/java-language-server</description> <url>https://github.com/simplicitesoftware/java-language-server/blob/main/README.md</url> <licenses> <license> <name>MIT License</name> <url>http://www.opensource.org/licenses/mit-license.php</url> </license> </licenses> <scm> <url>https://github.com/simplicitesoftware/java-language-server</url> <connection>scm:git:git://github.com/simplicitesoftware/java-language-server.git</connection> <developerConnection>scm:git:ssh://github.com:simplicitesoftware/java-language-server.git</developerConnection> </scm> <organization> <name>Simplicite Software</name> <url>https://www.simplicitesoftware.com</url> </organization> <developers> <developer> <name>Simplicite Software</name> <email>contact@simplicitesoftware.com</email> <organization>Simplicite Software</organization> <organizationUrl>https://www.simplicitesoftware.com</organizationUrl> </developer> </developers> <packaging>jar</packaging> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> </properties> <build> <!--finalName>simplicite-lsp-${project.version}</finalName --> <plugins> <!-- Build a plain JAR and copy dependencies in target/lib <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.10.0</version> <executions> <execution> <id>copy-dependencies</id> <phase>prepare-package</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/lib</outputDirectory> <overWriteReleases>false</overWriteReleases> <overWriteSnapshots>false</overWriteSnapshots> <overWriteIfNewer>true</overWriteIfNewer> </configuration> </execution> </executions> </plugin --> <!-- Build a bundle JAR <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>3.8.0</version> <executions> <execution> <phase>package</phase> <goals><goal>single</goal></goals> </execution> </executions> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> </plugin --> <!-- Specifying Compiler Arguments for full-local project (no server) --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.15.0</version> <configuration> <compilerArgs> <arg>--add-exports</arg><arg>jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg> <arg>--add-exports</arg><arg>jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg> <arg>--add-exports</arg><arg>jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg> <arg>--add-exports</arg><arg>jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg> <arg>--add-exports</arg><arg>jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg> <arg>--add-exports</arg><arg>jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg> <arg>--add-exports</arg><arg>jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg> <arg>--add-opens</arg><arg>jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg> </compilerArgs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.12.0</version> <executions> <execution> <goals> <goal>jar</goal> </goals> <phase>package</phase> </execution> </executions> <configuration> <additionalOptions> <option>--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</option> <option>--add-exports jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</option> <option>--add-exports jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</option> <option>--add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</option> <option>--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</option> <option>--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</option> <option>--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</option> <option>--add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</option> </additionalOptions> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.4.0</version> <executions> <execution> <goals> <goal>jar</goal> </goals> <phase>package</phase> </execution> </executions> </plugin> <plugin> <groupId>net.nicoulaj.maven.plugins</groupId> <artifactId>checksum-maven-plugin</artifactId> <version>1.11</version> <executions> <execution> <goals> <goal>artifacts</goal> </goals> <phase>package</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.2.8</version> <executions> <execution> <goals> <goal>sign</goal> </goals> <phase>package</phase> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.10.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.13.2</version> </dependency> <dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> <version>4.34.1</version> </dependency> </dependencies> </project>
<dependency> <groupId>io.github.simplicitesoftware</groupId> <artifactId>java-language-server</artifactId> <version>1.0.7</version> </dependency>
io.github.simplicitesoftware:java-language-server:1.0.7