Bug 562212 - [15] Run Gerrit builds for JDT UI BETA_JAVA15 branch with
latest Y-build

Change-Id: Ib4e9700845d37a13c09a6a4d0163c42e8bba238e
Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
diff --git a/pom.xml b/pom.xml
index 959032c..ecedaf2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-  Copyright (c) 2012, 2019 Eclipse Foundation and others.
+  Copyright (c) 2012, 2020 Eclipse Foundation and others.
   All rights reserved. This program and the accompanying materials
   are made available under the terms of the Eclipse Distribution License v1.0
   which accompanies this distribution, and is available at
@@ -36,6 +36,10 @@
   <profiles>
     <profile>
       <id>build-individual-bundles</id>
+      <properties>
+      	<eclipse-p2-repo.url>http://download.eclipse.org/eclipse/updates/Y-builds</eclipse-p2-repo.url>
+      	<skipAPIAnalysis>true</skipAPIAnalysis>
+ 	  </properties>
       <repositories>
         <repository>
           <releases>
@@ -48,6 +52,26 @@
           <url>https://repo.eclipse.org/content/repositories/eclipse/</url>
         </repository>
       </repositories>
+      <build>
+      	<plugins>
+      		<plugin>
+      			<groupId>org.eclipse.tycho.extras</groupId>
+      			<artifactId>tycho-p2-extras-plugin</artifactId>
+      			<version>${tycho.version}</version>
+      			<executions>
+      				<execution> <!-- Checks versions are properly bumped from one stream to the other -->
+      					<id>compare-attached-artifacts-with-release</id>
+      					<goals>
+      						<goal>compare-version-with-baselines</goal>
+      					</goals>
+      					<configuration>
+      						<skip>true</skip>
+      					</configuration>
+      				</execution>
+      			</executions>
+      		</plugin>
+      	</plugins>
+      </build>
     </profile>
   </profiles>