Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2019-08-20 09:11:20 -0400
committerLars Vogel2019-09-10 05:20:00 -0400
commit0c2c5d41f384b03dd6be06ece1a1471a06b5b658 (patch)
tree1e0f4a476e0e02d651d90a06a1669cbfdf2e822c /eclipse-platform-parent/pom.xml
parent3c255cb6aa84ee66f4820b7877f50927bf2ef188 (diff)
downloadeclipse.platform.releng.aggregator-0c2c5d41f384b03dd6be06ece1a1471a06b5b658.tar.gz
eclipse.platform.releng.aggregator-0c2c5d41f384b03dd6be06ece1a1471a06b5b658.tar.xz
eclipse.platform.releng.aggregator-0c2c5d41f384b03dd6be06ece1a1471a06b5b658.zip
Bug 550260 - API Analysis use I-Build as runner, and latest release as baseline
Signed-off-by: Mickael Istria <mistria@redhat.com>
Diffstat (limited to 'eclipse-platform-parent/pom.xml')
-rw-r--r--eclipse-platform-parent/pom.xml33
1 files changed, 27 insertions, 6 deletions
diff --git a/eclipse-platform-parent/pom.xml b/eclipse-platform-parent/pom.xml
index 842df5e19..507addfe3 100644
--- a/eclipse-platform-parent/pom.xml
+++ b/eclipse-platform-parent/pom.xml
@@ -950,9 +950,23 @@
<target>
<condition property="skipAPIAnalysis" value="true">
<not>
- <available file="${basedir}/META-INF/MANIFEST.MF" property="isBundle"/>
+ <available file="${basedir}/META-INF/MANIFEST.MF"/>
</not>
</condition>
+ <echo file="${project.build.directory}/${project.artifactId}-apiBaseline.target">
+ <![CDATA[
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?pde version="3.8"?>
+<target name="${project.artifactId}-apiBaseline" sequenceNumber="1">
+ <locations>
+ <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="false" type="InstallableUnit">
+ <repository location="${previous-release.baseline}"/>
+ <unit id="${project.artifactId}" version="0.0.0"/>
+ </location>
+ </locations>
+</target>
+ ]]>
+ </echo>
</target>
</configuration>
</execution>
@@ -997,7 +1011,7 @@
<args>-project</args>
<args>${project.basedir}</args>
<args>-baseline</args>
- <args>default</args>
+ <args>${project.build.directory}/${project.artifactId}-apiBaseline.target</args>
<args>-dependencyList</args>
<args>${project.build.directory}/dependencies-list.txt</args>
<args>-failOnError</args>
@@ -1008,7 +1022,7 @@
<repositories>
<repository>
<layout>p2</layout>
- <url>${previous-release.baseline}</url>
+ <url>${comparator.repo}</url>
</repository>
</repositories>
<dependencies>
@@ -1021,12 +1035,19 @@
<type>p2-installable-unit</type>
</dependency>
<dependency>
- <artifactId>org.eclipse.osgi.compatibility.state</artifactId>
+ <artifactId>org.eclipse.equinox.p2.transport.ecf</artifactId>
+ <type>p2-installable-unit</type>
+ </dependency>
+ <dependency>
+ <artifactId>org.eclipse.ecf.provider.filetransfer.ssl</artifactId>
<type>p2-installable-unit</type>
</dependency>
- <!-- This will constitute the default baseline -->
<dependency>
- <artifactId>${project.artifactId}</artifactId>
+ <artifactId>org.eclipse.equinox.p2.touchpoint.natives</artifactId>
+ <type>p2-installable-unit</type>
+ </dependency>
+ <dependency>
+ <artifactId>org.eclipse.osgi.compatibility.state</artifactId>
<type>p2-installable-unit</type>
</dependency>
</dependencies>

Back to the top