Commit ce3369c5 authored by Greg Watson's avatar Greg Watson
Browse files

Issue #190: fix for repo issue


Signed-off-by: Greg Watson's avatarGreg Watson <g.watson@computer.org>
parent 1652da57
......@@ -27,8 +27,8 @@
<version>2.1.8-SNAPSHOT</version>
<packaging>pom</packaging>
<!-- Provide a reference to the repository containing the CBI plugins -->
<pluginRepositories>
<!-- Provide a reference to the repository containing the CBI plugins -->
<pluginRepository>
<id>eclipse-repo</id>
<url>${eclipse-repo.url}</url>
......@@ -39,6 +39,17 @@
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<!-- Plugin repos for jboss repository-utils support -->
<pluginRepository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
</pluginRepository>
<pluginRepository>
<id>jboss-snapshots-repository</id>
<name>JBoss Snapshots Repository</name>
<url>http://repository.jboss.org/nexus/content/repositories/snapshots/</url>
</pluginRepository>
</pluginRepositories>
<profiles>
......
......@@ -13,6 +13,61 @@
<name>ICE Repository</name>
<artifactId>org.eclipse.ice.repository</artifactId>
<packaging>eclipse-repository</packaging>
<!-- Properties used by jboss repository-utils to customize index.html -->
<properties>
<update.site.name>ICE</update.site.name>
<update.site.description>Nightly Build</update.site.description>
<update.site.version>${unqualifiedVersion}.${buildQualifier}</update.site.version>
<update.site.url>http://download.eclipse.org/ice/builds/${releaseName}</update.site.url>
<target.eclipse.version>Neon</target.eclipse.version>
</properties>
<build>
<plugins>
<!-- Disable xz compression as it is not supported by jboss repository-utils yet -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<xzCompress>false</xzCompress>
</configuration>
</plugin>
<!-- Configure jboss repository-utils to use our index.html and add the nebula update
site to the repository references. This shouldn't be needed once nebula is included
in the simrel repo
-->
<plugin>
<groupId>org.jboss.tools.tycho-plugins</groupId>
<artifactId>repository-utils</artifactId>
<version>0.23.3</version>
<executions>
<execution>
<id>generate-facade</id>
<phase>package</phase>
<goals>
<goal>generate-repository-facade</goal>
</goals>
<configuration>
<symbols>
<update.site.name>${update.site.name}</update.site.name>
<update.site.description>${update.site.description}</update.site.description>
<update.site.version>${update.site.version}</update.site.version>
<update.site.url>${update.site.url}</update.site.url>
<target.eclipse.version>${target.eclipse.version}</target.eclipse.version>
</symbols>
<siteTemplateFolder>siteTemplateFolder/</siteTemplateFolder>
<associateSites>
<site>http://download.eclipse.org/eavp/builds/next</site>
</associateSites>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
......
<html>
<head>
<title>${update.site.name} - ${update.site.description} Update Site: ${update.site.version}</title>
<link rel="stylesheet" type="text/css" href="web/site.css">
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
<center>
<table cellspacing="0" cellpadding="0" class="table">
<tr>
<td>&#160;&#160;&#160;&#160;&#160;&#160;</td>
<td>&#160;&#160;&#160;&#160;&#160;&#160;</td>
<td>&#160;&#160;&#160;&#160;&#160;&#160;</td>
</tr>
<tr>
<td>&#160;&#160;&#160;&#160;&#160;&#160;</td>
<td>
<h2 class="title">${update.site.name} - ${update.site.description} Update Site</h2>
<table width="100%">
<tr class="header">
<td class="sub-header" width="100%"><span>Latest Build: ${update.site.version}</span></td>
</tr>
<tr class="light-row" style="height: 30px">
<td class="bodyText">
<p class="bodyText">This is the <b>${update.site.description}</b>
Update Site for ${update.site.name}.
<blockquote style="border: 1px dashed #1778be; padding: 2px">
<ol>
<li>To <a class="link"
href="${update.site.url}">install</a>
from this site, start up Eclipse ${target.eclipse.version}, then do:
<ul>
<code><strong>Help > Install New Software... ></strong></code>
</ul>
</li>
<li>Copy this site's URL into Eclipse, and hit Enter.</li>
<li>When the site loads, select the features to install,
or click the <code><strong>Select All</strong></code> button.</li>
<li>To properly resolve all dependencies, check
<ul><code><strong>[x] Contact all update sites during install to find required software</strong></code></ul>
<li>Click <code><strong>Next</strong></code>, agree to the license
terms, and install.</li>
</ol>
</blockquote>
</td>
</tr>
</table>
</td>
<td>&#160;&#160;&#160;&#160;&#160;&#160;</td>
</tr>
<tr>
<td></td>
<td>
${site.contents}
</td>
<td></td>
</tr>
</table>
</center>
</html>
<
STYLE type ="text/css">td.spacer {
padding-bottom: 10px;
padding-top: 10px;
}
.title {
font-family: sans-serif;
color: #1778be;
}
.table {
margin-top: 0px;
margin-left: 0px;
width: 920px;
}
.bodyText {
font-family: sans-serif;
font-size: 9pt;
color: #000000;
width: 100%
}
.sub-header {
font-family: sans-serif;
font-style: normal;
font-weight: bold;
font-size: 9pt;
color: white;
}
.log-text {
font-family: sans-serif;
font-style: normal;
font-weight: lighter;
font-size: 8pt;
color: black;
}
.big-header {
font-family: sans-serif;
font-style: normal;
font-weight: bold;
font-size: 9pt;
color: white;
border-top: 10px solid white;
}
.light-row {
background: #FFFFFF
}
.dark-row {
background: #EEEEEE
}
.header {
background: #445562
}
#indent {
word-wrap: break-word;
width: 300px;
text-indent: 10px;
}
.link {
color: #187dc6;
}
.column-header {
font-size:small;
}
</
STYLE
>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment