Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Now there is also a support for p2 sites mirroring in maven using tycho plugins: <a href="http://wiki.eclipse.org/Tycho/Additional_Tools" rel="nofollow">http://wiki.eclipse.org/Tycho/Additional_Tools</a></p> <p>One of the advantage is that you can very precisely specify what installable unites you want to mirror, for which os/ws/arch, ...</p> <p>For instance to mirror Eclipse Indigo you can use following <code>pom.xml</code></p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt; &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt; &lt;groupId&gt;mirroring&lt;/groupId&gt; &lt;artifactId&gt;indigo-mirror&lt;/artifactId&gt; &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt; &lt;packaging&gt;pom&lt;/packaging&gt; &lt;properties&gt; &lt;tycho.version&gt;0.16.0&lt;/tycho.version&gt; &lt;/properties&gt; &lt;build&gt; &lt;pluginManagement&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt; &lt;version&gt;2.5&lt;/version&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.eclipse.tycho&lt;/groupId&gt; &lt;artifactId&gt;tycho-p2-repository-plugin&lt;/artifactId&gt; &lt;version&gt;${tycho.version}&lt;/version&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/pluginManagement&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.eclipse.tycho.extras&lt;/groupId&gt; &lt;artifactId&gt;tycho-p2-extras-plugin&lt;/artifactId&gt; &lt;version&gt;${tycho.version}&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;phase&gt;prepare-package&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;mirror&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;configuration&gt; &lt;source&gt; &lt;!-- source repositories to mirror from --&gt; &lt;repository&gt; &lt;url&gt;http://ftp.sh.cvut.cz/MIRRORS/eclipse/releases/indigo/&lt;/url&gt; &lt;layout&gt;p2&lt;/layout&gt; &lt;!-- supported layouts are "p2-metadata", "p2-artifacts", and "p2" (for joint repositories; default) --&gt; &lt;/repository&gt; &lt;/source&gt; &lt;!-- The destination directory to mirror to. --&gt; &lt;destination&gt;${project.build.directory}/repository&lt;/destination&gt; &lt;!-- Whether only strict dependencies should be followed. --&gt; &lt;!-- "strict" means perfect version match --&gt; &lt;followStrictOnly&gt;false&lt;/followStrictOnly&gt; &lt;!-- Whether or not to follow optional requirements. --&gt; &lt;includeOptional&gt;true&lt;/includeOptional&gt; &lt;!-- Whether or not to follow non-greedy requirements. --&gt; &lt;includeNonGreedy&gt;true&lt;/includeNonGreedy&gt; &lt;!-- include the latest version of each IU --&gt; &lt;latestVersionOnly&gt;false&lt;/latestVersionOnly&gt; &lt;!-- don't mirror artifacts, only metadata --&gt; &lt;mirrorMetadataOnly&gt;false&lt;/mirrorMetadataOnly&gt; &lt;!-- whether to compress the content.xml/artifacts.xml --&gt; &lt;compress&gt;true&lt;/compress&gt; &lt;!-- whether to append to the target repository content --&gt; &lt;append&gt;true&lt;/append&gt; &lt;!-- whether to mirror pack200 artifacts also. Available since tycho-extras 0.17.0 --&gt; &lt;verbose&gt;true&lt;/verbose&gt; &lt;includePacked&gt;true&lt;/includePacked&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/build&gt; &lt;/project&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload