308 lines
12 KiB
XML
308 lines
12 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Copyright (c) 2012-2018 Red Hat, Inc.
|
|
This program and the accompanying materials are made
|
|
available under the terms of the Eclipse Public License 2.0
|
|
which is available at https://www.eclipse.org/legal/epl-2.0/
|
|
|
|
SPDX-License-Identifier: EPL-2.0
|
|
|
|
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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<artifactId>che-plugin-languageserver-parent</artifactId>
|
|
<groupId>org.eclipse.che.plugin</groupId>
|
|
<version>6.17.0-SNAPSHOT</version>
|
|
<relativePath>..</relativePath>
|
|
</parent>
|
|
<artifactId>che-plugin-languageserver-ide</artifactId>
|
|
<packaging>gwt-lib</packaging>
|
|
<name>Che Plugin :: Language Server :: IDE</name>
|
|
<properties>
|
|
<dto-generator-out-directory>${project.build.directory}/generated-sources/dto/</dto-generator-out-directory>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.gwt.inject</groupId>
|
|
<artifactId>gin</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.inject</groupId>
|
|
<artifactId>guice</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.inject.extensions</groupId>
|
|
<artifactId>guice-assistedinject</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.inject</groupId>
|
|
<artifactId>javax.inject</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</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-core</artifactId>
|
|
<classifier>sources</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-languageserver-shared</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-languageserver-shared</artifactId>
|
|
<classifier>sources</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-model</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-model</artifactId>
|
|
<classifier>sources</classifier>
|
|
</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-shared</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-commons-gwt</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-ide-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-ide-app</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-ide-ui</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-orion-editor</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.ls.jdt</groupId>
|
|
<artifactId>jdt.ls.extension.api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.lsp4j</groupId>
|
|
<artifactId>org.eclipse.lsp4j</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>org.eclipse.xtext.xbase.lib</artifactId>
|
|
<groupId>org.eclipse.xtext</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>org.eclipse.xtend.lib</artifactId>
|
|
<groupId>org.eclipse.xtend</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.lsp4j</groupId>
|
|
<artifactId>org.eclipse.lsp4j.jsonrpc</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.xtext</groupId>
|
|
<artifactId>org.eclipse.xtext.xbase.lib.gwt</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.vectomatic</groupId>
|
|
<artifactId>lib-gwt-svg</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-elemental</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-user</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.gwt</groupId>
|
|
<artifactId>gwt-dev</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.gwt.gwtmockito</groupId>
|
|
<artifactId>gwtmockito</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.easytesting</groupId>
|
|
<artifactId>fest-assert</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
</resource>
|
|
<resource>
|
|
<directory>${dto-generator-out-directory}</directory>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>net.ltgt.gwt.maven</groupId>
|
|
<artifactId>gwt-maven-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<moduleName>org.eclipse.che.plugin.languageserver.LanguageServer</moduleName>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/org/eclipse/che/plugin/languageserver/ide/editor/codeassist/LatestCompletionResult.java</exclude>
|
|
<exclude>**/Either.java</exclude>
|
|
<exclude>**/Either3.java</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-languageserver-maven-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-languageserver-shared</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<classes>
|
|
<classe>org.eclipse.che.jdt.ls.extension.api.dto.LinearRange</classe>
|
|
</classes>
|
|
<excludes>
|
|
<exclude>org.eclipse.lsp4j.WatchKind</exclude>
|
|
<exclude>org.eclipse.lsp4j.MarkupKind</exclude>
|
|
<exclude>org.eclipse.lsp4j.CodeActionKind</exclude>
|
|
<exclude>org.eclipse.lsp4j.FoldingRangeKind</exclude>
|
|
</excludes>
|
|
<dtoPackages>
|
|
<package>org.eclipse.lsp4j</package>
|
|
<package>org.eclipse.che.api.languageserver.shared.event</package>
|
|
<package>org.eclipse.che.api.languageserver.shared.model</package>
|
|
<package>org.eclipse.che.api.languageserver.shared.dto</package>
|
|
</dtoPackages>
|
|
<outputDirectory>${dto-generator-out-directory}</outputDirectory>
|
|
<genClassName>org.eclipse.che.api.languageserver.shared.dto.DtoClientImpls</genClassName>
|
|
<impl>client</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>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>analyze</id>
|
|
<configuration>
|
|
<ignoredDependencies>
|
|
<dep>org.eclipse.xtext:org.eclipse.xtext.xbase.lib.gwt</dep>
|
|
<!-- Ignore *-sources.jar analysis due to the fact that analyzer works at bytecode level
|
|
but *-sources.jar is required for including to the GWT source path. -->
|
|
<dep>org.eclipse.che.core:che-core-api-core</dep>
|
|
<dep>org.eclipse.che.core:che-core-api-languageserver-shared</dep>
|
|
<dep>org.eclipse.che.core:che-core-api-model</dep>
|
|
</ignoredDependencies>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|