moved repository generation into the product artifact to allow real product updates via p2, otherwisep product metadata is missing from the p2 repo
This commit is contained in:
@@ -0,0 +1,205 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<site pack200="true">
|
||||
<description url="https://spring.io/tools">
|
||||
Spring Tool Suite 4
|
||||
</description>
|
||||
|
||||
<!-- Eclipse Integration Commons -->
|
||||
<category-def name="Uncategorized" label="Uncategorized"/>
|
||||
<category-def name="Core / Eclipse Integration Commons" label="Core / Eclipse Integration Commons"/>
|
||||
<category-def name="Resources / Eclipse Integration Commons" label="Resources / Eclipse Integration Commons"/>
|
||||
|
||||
<feature
|
||||
id="org.springsource.ide.eclipse.commons.quicksearch.feature"
|
||||
version="0.0.0">
|
||||
<category name="Core / Eclipse Integration Commons" />
|
||||
</feature>
|
||||
|
||||
<!-- STS4 branding and custom features -->
|
||||
<category-def name="Spring Tool Suite 4 Distribution" label="Spring Tool Suite 4 Distribution" />
|
||||
|
||||
<feature
|
||||
id="org.springframework.boot.ide.main.feature" version="0.0.0">
|
||||
<category name="Spring Tool Suite 4 Distribution" />
|
||||
</feature>
|
||||
|
||||
<feature
|
||||
id="org.springframework.boot.ide.branding.feature" version="0.0.0">
|
||||
<category name="Spring Tool Suite 4 Distribution" />
|
||||
</feature>
|
||||
|
||||
<!-- Spring IDE -->
|
||||
<category-def name="Core / Spring IDE" label="Core / Spring IDE" />
|
||||
<category-def name="Extensions / Spring IDE" label="Extensions / Spring IDE" />
|
||||
<category-def name="Extensions (Incubation) / Spring IDE" label="Extensions (Incubation) / Spring IDE" />
|
||||
<category-def name="Integrations / Spring IDE" label="Integrations / Spring IDE" />
|
||||
<category-def name="Resources / Spring IDE" label="Resources / Spring IDE" />
|
||||
|
||||
<feature
|
||||
id="org.springframework.ide.eclipse.boot.dash.feature" version="0.0.0">
|
||||
<category name="Extensions / Spring IDE" />
|
||||
</feature>
|
||||
|
||||
<feature
|
||||
id="org.springframework.ide.eclipse.boot.dash.feature.source" version="0.0.0">
|
||||
<category name="Resources / Spring IDE" />
|
||||
</feature>
|
||||
|
||||
<!-- Language Server -->
|
||||
<category-def name="Spring Tool Suite 4 Language Server Integrations for Eclipse" label="Spring Tool Suite 4 Language Server Integrations for Eclipse"/>
|
||||
|
||||
<feature
|
||||
id="org.springframework.tooling.cloudfoundry.manifest.ls.feature" version="0.0.0">
|
||||
<category name="Spring Tool Suite 4 Language Server Integrations for Eclipse" />
|
||||
</feature>
|
||||
|
||||
<feature
|
||||
id="org.springframework.tooling.cloudfoundry.manifest.ls.integration.feature" version="0.0.0">
|
||||
<category name="Spring Tool Suite 4 Language Server Integrations for Eclipse" />
|
||||
</feature>
|
||||
|
||||
<feature
|
||||
id="org.springframework.tooling.boot.ls.feature" version="0.0.0">
|
||||
<category name="Spring Tool Suite 4 Language Server Integrations for Eclipse" />
|
||||
</feature>
|
||||
|
||||
<feature
|
||||
id="org.springframework.tooling.bosh.ls.feature" version="0.0.0">
|
||||
<category name="Spring Tool Suite 4 Language Server Integrations for Eclipse" />
|
||||
</feature>
|
||||
|
||||
<feature
|
||||
id="org.springframework.tooling.concourse.ls.feature" version="0.0.0">
|
||||
<category name="Spring Tool Suite 4 Language Server Integrations for Eclipse" />
|
||||
</feature>
|
||||
|
||||
<bundle id="org.springframework.tooling.ls.eclipse.commons">
|
||||
<category name="Spring Tool Suite 4 Language Server Integrations for Eclipse"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.springframework.tooling.jdt.ls.commons">
|
||||
<category name="Spring Tool Suite 4 Language Server Integrations for Eclipse"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.springframework.tooling.ls.eclipse.gotosymbol">
|
||||
<category name="Spring Tool Suite 4 Language Server Integrations for Eclipse"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.springsource.ide.eclipse.commons.core">
|
||||
<category name="Core / Eclipse Integration Commons"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.springsource.ide.eclipse.commons.ui">
|
||||
<category name="Core / Eclipse Integration Commons"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.springsource.ide.eclipse.commons.frameworks.core">
|
||||
<category name="Core / Eclipse Integration Commons"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.springsource.ide.eclipse.commons.frameworks.ui">
|
||||
<category name="Core / Eclipse Integration Commons"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.springsource.ide.eclipse.commons.livexp">
|
||||
<category name="Core / Eclipse Integration Commons"/>
|
||||
</bundle>
|
||||
<!--
|
||||
<bundle id="io.projectreactor.reactor-core">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.reactivestreams.reactive-streams">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
-->
|
||||
<bundle id="javax.activation" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
<bundle id="javax.activation.source" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="javax.xml.bind" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
<bundle id="javax.xml.bind.source" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="javax.xml.stream" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.dadacoalition.yedit">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.yaml.snakeyaml">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
|
||||
<feature id="tm-feature">
|
||||
<category name="Uncategorized"/>
|
||||
</feature>
|
||||
|
||||
<bundle id="org.eclipse.lsp4e">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.eclipse.lsp4j">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.eclipse.lsp4j.jsonrpc">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.eclipse.xtext.xbase.lib">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="com.google.gson">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.jcodings">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="org.joni">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
|
||||
<bundle id="bcpkix" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
<bundle id="bcpkix.source" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
<bundle id="bcprov" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
<bundle id="bcprov.source" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
<bundle id="com.hierynomus.sshj" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
<bundle id="com.hierynomus.sshj.source" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
<bundle id="com.jcraft.jzlib" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
<bundle id="com.jcraft.jzlib.source" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
<bundle id="net.i2p.crypto.eddsa" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
<bundle id="net.i2p.crypto.eddsa.source" version="0.0.0">
|
||||
<category name="Uncategorized"/>
|
||||
</bundle>
|
||||
|
||||
</site>
|
||||
@@ -25,6 +25,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<version>2.5.2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-install</id>
|
||||
@@ -259,6 +260,81 @@
|
||||
</goals>
|
||||
</execution>
|
||||
|
||||
<execution>
|
||||
<id>zip-sts-repository</id>
|
||||
<phase>install</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
|
||||
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />
|
||||
<taskdef resource="org/springframework/build/aws/ant/antlib.xml" />
|
||||
|
||||
<property name="dist.full.version" value="${unqualifiedVersion}.${p2.qualifier}-${dist.target}" />
|
||||
<property name="dist.file.name" value="${dist.project}-${dist.full.version}-updatesite.zip" />
|
||||
|
||||
<zip zipfile="${project.build.directory}/repository/${dist.file.name}" filesonly="true">
|
||||
<zipfileset
|
||||
dir="${project.build.directory}/repository">
|
||||
<exclude name="*.zip" />
|
||||
<exclude name="**/*.gz" />
|
||||
</zipfileset>
|
||||
</zip>
|
||||
|
||||
<checksum file="${project.build.directory}/repository/${dist.file.name}" algorithm="SHA1" fileext=".sha1" />
|
||||
<checksum file="${project.build.directory}/repository/${dist.file.name}" algorithm="MD5" fileext=".md5" />
|
||||
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
|
||||
<execution>
|
||||
<id>upload-sts-repository</id>
|
||||
<phase>deploy</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
|
||||
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />
|
||||
<taskdef resource="org/springframework/build/aws/ant/antlib.xml" />
|
||||
|
||||
<s3 accessKey="${dist.accessKey}" secretKey="${dist.secretKey}">
|
||||
|
||||
<delete bucketName="${dist.bucket}">
|
||||
<fileset dir="${dist.path.repo}">
|
||||
<include name="p2.index" />
|
||||
<include name="site.xml" />
|
||||
<include name="content.jar" />
|
||||
<include name="artifacts.xml.xz" />
|
||||
<include name="content.jar" />
|
||||
<include name="content.xml.xz" />
|
||||
<include name="plugins/**" />
|
||||
<include name="features/**" />
|
||||
<include name="binary/**" />
|
||||
<include name="*.zip" />
|
||||
<include name="*.sha1" />
|
||||
<include name="*.md5" />
|
||||
</fileset>
|
||||
</delete>
|
||||
|
||||
<upload bucketName="${dist.bucket}" toDir="${dist.path.repo}" publicRead="true">
|
||||
<fileset
|
||||
dir="${project.build.directory}/repository">
|
||||
<include name="**/*" />
|
||||
<include name="**" />
|
||||
</fileset>
|
||||
</upload>
|
||||
|
||||
</s3>
|
||||
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
|
||||
</executions>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
||||
Reference in New Issue
Block a user