У меня есть набор плагинов, сделанных с затмением, и я использую maven для их компиляции. Окончательные строительные работы, однако, у меня есть досадная проблема при выполнении $ MVN установить $: Maven скачать все последние версии Eclipse, XText, Xtend плагинMaven + Eclipse: как отключить выборку всех версий
Очень короткий журнал следующим
[INFO] Adding repository http://download.eclipse.org/releases/mars [INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/mars/ (0B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/mars/201506241002/ (0B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/mars/201510021000/ (0B at 0B/s)
[INFO] Fetching p2.index from http://download.eclipse.org/releases/mars/201602261000/ (0B at 0B/s)
в основном, это делает сборку очень медленно ....
Заинтересованное мастер пОМ часть устанавливается как этот
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tycho-version>0.23.0</tycho-version>
<eclipse-repository>http://download.eclipse.org/releases/mars</eclipse-repository>
<xtext-repository>http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases</xtext-repository>
<orcc-repository>http://www.turnus.co/addons/orcc/</orcc-repository>
</properties>
<repositories>
<repository>
<id>mars</id>
<layout>p2</layout>
<url>${eclipse-repository}</url>
</repository>
<repository>
<id>orcc</id>
<layout>p2</layout>
<url>${orcc-repository}</url>
</repository>
<repository>
<id>xtext</id>
<layout>p2</layout>
<url>${xtext-repository}</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
<configuration>
<pomDependencies>consider</pomDependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${basedir}/src-gen</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<!-- clean output directories -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<id>auto-clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
<configuration>
<filesets>
<fileset>
<directory>${basedir}/src-gen</directory>
<includes>
<include>**</include>
</includes>
</fileset>
<fileset>
<directory>${project.build.directory}</directory>
<includes>
<include>**</include>
</includes>
</fileset>
</filesets>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
вы знаете, как я могу изменить его и ускорить процесс?
Спасибо!
С.
Вы считали, что использовать репозитории, специфичные для конкретной версии, вместо составных. Используйте инструмент, например p2browser, или следуйте файлам composContent.xml | jar вручную. –