che-server/plugins/plugin-java/che-plugin-java-ext-jdt/che-jdt-ext-machine/pom.xml

355 lines
17 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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>che-plugin-java-ext-jdt-parent</artifactId>
<groupId>org.eclipse.che.plugin</groupId>
<version>4.3.0-RC1-SNAPSHOT</version>
</parent>
<artifactId>che-jdt-ext-machine</artifactId>
<packaging>jar</packaging>
<name>Che Plugin :: Java :: Extension Machine JDT</name>
<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>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.birt.runtime</groupId>
<artifactId>org.eclipse.equinox.common</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-dto</artifactId>
</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-project</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.core</groupId>
<artifactId>che-core-commons-schedule</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.che.plugin</groupId>
<artifactId>che-plugin-java-jdt-core-repack</artifactId>
<exclusions>
<exclusion>
<artifactId>org.eclipse.jdt.core</artifactId>
<groupId>org.eclipse.tycho</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.che.plugin</groupId>
<artifactId>org.eclipse.core.filebuffers</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.che.plugin</groupId>
<artifactId>org.eclipse.core.resources</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.che.plugin</groupId>
<artifactId>org.eclipse.jdt.ui</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.che.plugin</groupId>
<artifactId>org.eclipse.jface</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.che.plugin</groupId>
<artifactId>org.eclipse.jface.text</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.che.plugin</groupId>
<artifactId>org.eclipse.ltk.core.refactoring</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.che.plugin</groupId>
<artifactId>org.eclipse.search</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.equinox</groupId>
<artifactId>preferences</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.search</groupId>
<artifactId>org.eclipse.search</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.text</groupId>
<artifactId>org.eclipse.text</artifactId>
<exclusions>
<exclusion>
<artifactId>org.eclipse.equinox.common</artifactId>
<groupId>org.eclipse.equinox</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</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.eclipse.che.core</groupId>
<artifactId>che-core-api-workspace</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.che.core</groupId>
<artifactId>che-core-commons-env</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.che.plugin</groupId>
<artifactId>org.eclipse.ui.ide</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.everrest</groupId>
<artifactId>everrest-integration-guice</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<testSourceDirectory>src/test/java</testSourceDirectory>
<outputDirectory>target/classes</outputDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-tomcat-libs</id>
<phase>process-resources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>${com.google.gwt.version}</version>
<outputDirectory>${project.build.testOutputDirectory}/temp/ws/test</outputDirectory>
<destFileName>gwt-user.jar</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>${version.surefire.plugin}</version>
</dependency>
</dependencies>
<configuration>
<runOrder>random</runOrder>
<excludes>
<exclude>**/jdt/**/*.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/*.svg</exclude>
<exclude>**/*.png</exclude>
<exclude>**/*.gif</exclude>
<exclude>**/*.rscjson</exclude>
<exclude>**/*.zip</exclude>
<exclude>**/*.txt</exclude>
<exclude>**/*.jpg</exclude>
<exclude>**/*.rsc</exclude>
<exclude>**/*.json</exclude>
<exclude>**/readableNames</exclude>
<exclude>**/RenameMethodInInterface/**</exclude>
<exclude>**/RenameNonPrivateField/**</exclude>
<exclude>**/RenamePackage/**</exclude>
<exclude>**/RenameParameters/**</exclude>
<exclude>**/RenamePrivateField/**</exclude>
<exclude>**/RenamePrivateMethod/**</exclude>
<exclude>**/RenameStaticMethod/**</exclude>
<exclude>**/RenameTests18/**</exclude>
<exclude>**/RenameType/**</exclude>
<exclude>**/RenameTypeParameter/**</exclude>
<exclude>**/RenameVirtualMethodInClass/**</exclude>
<exclude>**/projects/**</exclude>
<exclude>**/org/eclipse/che/jdt/javadoc/**</exclude>
<exclude>**/org/eclipse/che/jface/**</exclude>
<exclude>**/org/eclipse/che/jdt/internal/codeassist/**</exclude>
<exclude>**/org/eclipse/core/**</exclude>
<exclude>**/org/eclipse/search/**</exclude>
<exclude>**/org/eclipse/ltk/**</exclude>
<exclude>**/org/eclipse/che/jdt/core/**</exclude>
<exclude>**/org/eclipse/che/jdt/dom/**</exclude>
<exclude>**/org/eclipse/che/jdt/corext/util/**</exclude>
<exclude>**/org/eclipse/che/jdt/util/**</exclude>
<exclude>**/org/eclipse/che/core/**</exclude>
<exclude>**/org/eclipse/che/ltk/**</exclude>
<exclude>**/org/eclipse/che/jdt/**</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/**</exclude>
<exclude>**/org/eclipse/che/jdt/core/launching/IVMInstallType.java</exclude>
<exclude>**/org/eclipse/che/jdt/core/launching/JREContainer.java</exclude>
<exclude>**/org/eclipse/che/jdt/core/launching/LibraryInfo.java</exclude>
<exclude>**/org/eclipse/che/jdt/core/launching/LibraryLocation.java</exclude>
<exclude>**/org/eclipse/che/jdt/core/launching/StandardVMType.java</exclude>
<exclude>**/org/eclipse/che/jdt/core/search/**</exclude>
<exclude>**/org/eclipse/che/jdt/format/**</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/builder/**</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/indexing/**</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/matching/**</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/processing/JobManager.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/AbstractJavaSearchScope.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/AbstractSearchScope.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/BasicSearchEngine.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/HierarchyScope.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/IndexQueryRequestor.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/IndexSelector.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/IRestrictedAccessConstructorRequestor.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/IRestrictedAccessTypeRequestor.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/JavaSearchDocument.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/JavaSearchParticipant.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/JavaSearchScope.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/JavaSearchTypeNameMatch.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/JavaWorkspaceScope.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/PathCollector.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/PatternSearchJob.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/StringOperation.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/SubTypeSearchJob.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/TypeNameMatchRequestorWrapper.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/search/TypeNameRequestorWrapper.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/util/**</exclude>
<exclude>**/org/eclipse/che/jdt/internal/core/ClasspathEntry.java</exclude>
<exclude>**/org/eclipse/che/text/test/Accessor.java</exclude>
<exclude>**/org/eclipse/che/jdt/internal/corext/CorextMessages.properties</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>jdt-tests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>${version.surefire.plugin}</version>
</dependency>
</dependencies>
<configuration>
<excludes>
<exclude>none</exclude>
</excludes>
<includes>
<include>**/jdt/**/*.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>