adjust distribution repo definition
diff --git a/pom.xml b/pom.xml
index 0d87b11..9630ffe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -90,19 +90,6 @@
 
     </contributors>
 
-    <distributionManagement>
-        <repository>
-            <id>osbp-nexus-release</id>
-            <name>Nexus Release Repository</name>
-            <url>${distribution.repository.release.url}</url>
-        </repository>
-        <snapshotRepository>
-            <id>osbp-nexus-snapshots</id>
-            <name>Sonatype Nexus Snapshots</name>
-            <url>${distribution.repository.snapshot.url}</url>
-        </snapshotRepository>
-    </distributionManagement>
-
     <scm>
         <url>http://git.eclipse.org/c/uomo/org.eclipse.uomo.git/</url>
     </scm>
@@ -143,6 +130,67 @@
                 <osbp.build.eclipse.platform.p2.url>http://download.eclipse.org/releases/luna</osbp.build.eclipse.platform.p2.url>
             </properties>
         </profile>
+		<profile>
+			<id>isEclipseBuild</id>
+			<activation>
+				<property>
+					<name>!isNotEclipseBuild</name>
+				</property>
+			</activation>
+			<properties>
+				<osbp.build.branch>master</osbp.build.branch>
+				<osbp.stage.p2.dependencies.target.dir.base>${osbp.developer.home.repositories}${osbp.dependencies.repository.label}${file.separator}${osbp.build.eclipse.platform.name}</osbp.stage.p2.dependencies.target.dir.base>
+				<osbp.stage.p2.target.dir.base>/home/data/httpd/download.eclipse.org/osbp${file.separator}${osbp.build.eclipse.platform.name}</osbp.stage.p2.target.dir.base>
+			</properties>
+
+			<distributionManagement>
+				<repository>
+					<id>repo.eclipse.org</id>
+					<name>Project Repository - Releases</name>
+					<url>https://repo.eclipse.org/content/repositories/osbp-releases/</url>
+				</repository>
+				<snapshotRepository>
+					<id>repo.eclipse.org</id>
+					<name>Project Repository - Snapshots</name>
+					<url>https://repo.eclipse.org/content/repositories/osbp-snapshots/</url>
+				</snapshotRepository>
+			</distributionManagement>
+
+		</profile>
+		<profile>
+			<id>isNotEclipseBuild</id>
+			<activation>
+				<property>
+					<name>isNotEclipseBuild</name>
+				</property>
+			</activation>
+
+			<properties>
+				<!-- osbp.build.branch is set from the local settings.xml -->
+				<!-- osbp.build.branch>latest</osbp.build.branch -->
+				<osbp.stage.p2.dependencies.target.dir.base>${osbp.developer.home.repositories}${osbp.dependencies.repository.label}${file.separator}${osbp.build.eclipse.platform.name}</osbp.stage.p2.dependencies.target.dir.base>
+				<osbp.stage.p2.target.dir.base>${osbp.developer.home.repositories}${osbp.federated.repository.label}${file.separator}${osbp.build.eclipse.platform.name}</osbp.stage.p2.target.dir.base>
+			</properties>
+
+			<distributionManagement>
+				<repository>
+					<id>osbp-nexus-release</id>
+					<name>Nexus Release Repository</name>
+					<url>${distribution.repository.release.url}</url>
+				</repository>
+				<snapshotRepository>
+					<id>osbp-nexus-snapshots</id>
+					<name>Sonatype Nexus Snapshots</name>
+					<url>${distribution.repository.snapshot.url}</url>
+				</snapshotRepository>
+				<site>
+					<id>osbp-source-pages</id>
+					<name>OSBP Source Pages</name>
+					<url>${distribution.site.url}</url>
+				</site>
+			</distributionManagement>
+
+		</profile>
     </profiles>