che-server/plugins/plugin-orion/che-plugin-orion-editor/pom.xml

147 lines
5.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2014-2015 Codenvy, S.A.
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:
Codenvy, S.A. - 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-orion-parent</artifactId>
<groupId>org.eclipse.che.plugin</groupId>
<version>4.0.0-RC4-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>che-plugin-orion-editor</artifactId>
<packaging>jar</packaging>
<name>Che Plugin :: Orion :: Editor</name>
<properties>
<findbugs.failonerror>false</findbugs.failonerror>
<license_years>2014-2015</license_years>
<patches.location>${basedir}/src/main/patches</patches.location>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<!-- required until api/core cleanup! -->
<groupId>org.eclipse.che.core</groupId>
<artifactId>che-core-ide-app</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-elemental</artifactId>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</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>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>
<!-- required until api/core cleanup! -->
<groupId>org.eclipse.che.core</groupId>
<artifactId>che-core-ide-app</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.che.core</groupId>
<artifactId>che-core-ide-jseditor</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.che.core</groupId>
<artifactId>che-core-ide-ui</artifactId>
</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>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/java</directory>
</resource>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<!-- Apply patches -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-patch-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<id>bugfix-patches</id>
<phase>compile</phase>
<goals>
<goal>apply</goal>
</goals>
<configuration>
<patchDirectory>${patches.location}</patchDirectory>
<patches>
<patch>built-codeEdit-amd.js.diff</patch>
<patch>Bug482536.diff</patch>
<patch>embeddedToolingPlugin.js.diff</patch>
</patches>
<optimizations>false</optimizations>
<strictPatching>true</strictPatching>
<strip>1</strip>
<targetDirectory>${project.build.directory}/classes</targetDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<excludes>
<!-- Orion - EPL License -->
<exclude>**/org/eclipse/che/ide/editor/orion/public/orion/**</exclude>
<exclude>**/org/eclipse/che/ide/editor/orion/public/built-codeEdit-10.0/**</exclude>
<exclude>**/patches/built-codeEdit-amd.js.diff</exclude>
<exclude>**/patches/Bug482536.diff</exclude>
<exclude>**/patches/embeddedToolingPlugin.js.diff</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>