205 lines
8.4 KiB
XML
205 lines
8.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Copyright (c) 2012-2018 Red Hat, Inc.
|
|
All rights reserved. This program and the accompanying materials
|
|
are made available under the terms of the Eclipse Public License v1.0
|
|
which accompanies this distribution, and is available at
|
|
http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
Contributors:
|
|
Red Hat, Inc. - initial API and implementation
|
|
|
|
-->
|
|
<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>
|
|
<parent>
|
|
<artifactId>che-plugin-java-parent</artifactId>
|
|
<groupId>org.eclipse.che.plugin</groupId>
|
|
<version>6.7.0-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>che-plugin-java-server</artifactId>
|
|
<name>Che Plugin :: Java :: Language Server</name>
|
|
<properties>
|
|
<dto-generator-out-directory>${project.build.directory}/generated-sources/dto/</dto-generator-out-directory>
|
|
<findbugs.failonerror>false</findbugs.failonerror>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.inject</groupId>
|
|
<artifactId>guice</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.inject.extensions</groupId>
|
|
<artifactId>guice-multibindings</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.annotation</groupId>
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.inject</groupId>
|
|
<artifactId>javax.inject</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-debug-shared</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-dto</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-languageserver</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-languageserver-shared</artifactId>
|
|
<version>6.7.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-project</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-project-shared</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-workspace</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-commons-inject</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-commons-lang</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.ls.jdt</groupId>
|
|
<artifactId>jdt.ls.extension.api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.plugin</groupId>
|
|
<artifactId>che-plugin-java-ext-lang-server</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.plugin</groupId>
|
|
<artifactId>che-plugin-java-ext-lang-shared</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.lsp4j</groupId>
|
|
<artifactId>org.eclipse.lsp4j</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.lsp4j</groupId>
|
|
<artifactId>org.eclipse.lsp4j.jsonrpc</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-languageserver-maven-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-languageserver</artifactId>
|
|
<version>${che.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.ls.jdt</groupId>
|
|
<artifactId>jdt.ls.extension.api</artifactId>
|
|
<version>${che.ls.jdt.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.lsp4j</groupId>
|
|
<artifactId>org.eclipse.lsp4j</artifactId>
|
|
<version>${lsp4j.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<classes>
|
|
<classe>org.eclipse.lsp4j.SymbolInformation</classe>
|
|
<classe>org.eclipse.lsp4j.Location</classe>
|
|
<classe>org.eclipse.lsp4j.Range</classe>
|
|
<classe>org.eclipse.lsp4j.Position</classe>
|
|
<classe>org.eclipse.lsp4j.WorkspaceEdit</classe>
|
|
<classe>org.eclipse.lsp4j.ResourceChange</classe>
|
|
<classe>org.eclipse.lsp4j.TextEdit</classe>
|
|
<classe>org.eclipse.lsp4j.TextDocumentEdit</classe>
|
|
<classe>org.eclipse.lsp4j.VersionedTextDocumentIdentifier</classe>
|
|
</classes>
|
|
<dtoPackages>
|
|
<package>org.eclipse.che.jdt.ls.extension.api.dto</package>
|
|
</dtoPackages>
|
|
<outputDirectory>${dto-generator-out-directory}</outputDirectory>
|
|
<genClassName>org.eclipse.che.plugin.java.languageserver.dto.DtoServerImpls</genClassName>
|
|
<impl>server</impl>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>add-resource</id>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>add-resource</goal>
|
|
</goals>
|
|
<configuration>
|
|
<resources>
|
|
<resource>
|
|
<directory>${dto-generator-out-directory}/META-INF</directory>
|
|
<targetPath>META-INF</targetPath>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>add-source</id>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>add-source</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>${dto-generator-out-directory}</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|