252 lines
10 KiB
XML
252 lines
10 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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<artifactId>che-plugin-pullrequest-parent</artifactId>
|
|
<groupId>org.eclipse.che.plugin</groupId>
|
|
<version>6.6.0-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>che-plugin-pullrequest-ide</artifactId>
|
|
<packaging>gwt-lib</packaging>
|
|
<name>Che Plugin :: Pull request :: 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</groupId>
|
|
<artifactId>gwt-user</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-auth-shared</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-dto</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-factory-shared</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-factory-shared</artifactId>
|
|
<classifier>sources</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-git-shared</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-git-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-ssh-shared</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-ssh-shared</artifactId>
|
|
<classifier>sources</classifier>
|
|
</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-api-workspace-shared</artifactId>
|
|
<classifier>sources</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-commons-annotations</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.plugin</groupId>
|
|
<artifactId>che-plugin-git-ext-git</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.plugin</groupId>
|
|
<artifactId>che-plugin-pullrequest-shared</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.che.plugin</groupId>
|
|
<artifactId>che-plugin-pullrequest-shared</artifactId>
|
|
<classifier>sources</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.vectomatic</groupId>
|
|
<artifactId>lib-gwt-svg</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.gwt.inject</groupId>
|
|
<artifactId>gin</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.inject</groupId>
|
|
<artifactId>guice</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>net.ltgt.gwt.maven</groupId>
|
|
<artifactId>gwt-maven-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<moduleName>org.eclipse.che.plugin.pullrequest.PullRequest</moduleName>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<executions>
|
|
<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>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>pre-compile</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.eclipse.che.core</groupId>
|
|
<artifactId>che-core-api-dto-maven-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>dto-client</id>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
<configuration>
|
|
<dtoPackages>
|
|
<package>org.eclipse.che.plugin.pullrequest.shared.dto</package>
|
|
</dtoPackages>
|
|
<outputDirectory>${dto-generator-out-directory}</outputDirectory>
|
|
<genClassName>org.eclipse.che.plugin.pullrequest.shared.dto.DtoClientImpls</genClassName>
|
|
<impl>client</impl>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>${project.artifactId}</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>analyze</id>
|
|
<configuration>
|
|
<ignoredUnusedDeclaredDependencies>
|
|
<!-- 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-factory-shared</dep>
|
|
<dep>org.eclipse.che.core:che-core-api-core</dep>
|
|
<dep>org.eclipse.che.core:che-core-api-model</dep>
|
|
<dep>org.eclipse.che.core:che-core-api-git-shared</dep>
|
|
<dep>org.eclipse.che.core:che-core-api-ssh-shared</dep>
|
|
<dep>org.eclipse.che.core:che-core-api-workspace-shared</dep>
|
|
<dep>org.eclipse.che.plugin:che-plugin-pullrequest-shared</dep>
|
|
</ignoredUnusedDeclaredDependencies>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|