174 lines
7.0 KiB
XML
174 lines
7.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Copyright (c) 2012-2016 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.7.0</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>
|
|
<patches.location>${basedir}/src/main/patches</patches.location>
|
|
<requirejs.upstream.url>http://requirejs.org/docs/release/${requirejs.upstream.version}/comments/</requirejs.upstream.url>
|
|
<requirejs.upstream.version>2.1.15</requirejs.upstream.version>
|
|
</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.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</dependency>
|
|
<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>javax.validation</groupId>
|
|
<artifactId>validation-api</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-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>
|
|
<resource>
|
|
<directory>target/requirejs-${requirejs.upstream.version}</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>fix_goto_line.diff</patch>
|
|
<patch>fix_focus.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>org.codehaus.mojo</groupId>
|
|
<artifactId>wagon-maven-plugin</artifactId>
|
|
<version>1.0-beta-4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>download-single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<url>${requirejs.upstream.url}</url>
|
|
<fromFile>require.js</fromFile>
|
|
<toFile>${project.build.directory}/requirejs-${requirejs.upstream.version}/org/eclipse/che/ide/editor/orion/public/require.js</toFile>
|
|
</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/built-codeEdit-11.0/**</exclude>
|
|
<exclude>**/patches/built-codeEdit-amd.js.diff</exclude>
|
|
<exclude>**/patches/fix_goto_line.diff</exclude>
|
|
<exclude>**/patches/fix_focus.diff</exclude>
|
|
<exclude>**/patches/embeddedToolingPlugin.js.diff</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|