Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Le Fevre - CEA2015-12-08 14:34:02 +0000
committerFrancois Le Fevre - CEA2015-12-08 14:47:46 +0000
commit410b72213be968594777b307995ce6e69d4ec935 (patch)
tree364f927fe8128d19538c0f001e8fc69b97a39def
parente4ecae4da86fee1ea8805537498a855a842e65d0 (diff)
downloadorg.eclipse.papyrus-sysml-410b72213be968594777b307995ce6e69d4ec935.tar.gz
org.eclipse.papyrus-sysml-410b72213be968594777b307995ce6e69d4ec935.tar.xz
org.eclipse.papyrus-sysml-410b72213be968594777b307995ce6e69d4ec935.zip
Bug 483800: [SysML 1.4][web] configure the infrastructure to be able to
deploy into the web git repository Change-Id: I90f6f692a1cb103e290a8285f22ba1ed81bd1e5c Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=483800 Signed-off-by: Francois Le Fevre - CEA <francois.le-fevre@cea.fr>
-rw-r--r--pom.xml27
1 files changed, 19 insertions, 8 deletions
diff --git a/pom.xml b/pom.xml
index 73c387d1..b61a93ae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,10 +47,6 @@
<!-- Platform properties -->
<env.ui.test>-Xms512m -Xmx2048m -XX:MaxPermSize=512M</env.ui.test>
-
- <!-- Web properties -->
- <web.absoluteResourceURL>https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/</web.absoluteResourceURL>
- <web.href>https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/index.html</web.href>
</properties>
<mailingLists>
@@ -91,7 +87,7 @@
</snapshotRepository>
<site>
<id>git.eclipse.org.server</id>
- <url>scm:git:ssh://git.eclipse.org:29418/www.eclipse.org/papyrus-sysml.git</url>
+ <url>scm:git:https://git.eclipse.org/gitroot/www.eclipse.org/papyrus-sysml</url>
</site>
</distributionManagement>
<organization>
@@ -673,11 +669,11 @@
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.1</version>
<configuration>
- <!-- checkoutDirectory>${scmPubCheckoutDirectory}</checkoutDirectory -->
+ <checkoutDirectory>${siteMainDirectory}</checkoutDirectory>
<content>${siteMainDirectory}</content>
<tryUpdate>true</tryUpdate>
- <scmBranch>gh-pages</scmBranch>
- <pubScmUrl>scm:git:ssh://git.eclipse.org:29418/www.eclipse.org/papyrus-symsl.git</pubScmUrl>
+ <scmBranch>master</scmBranch>
+ <pubScmUrl>scm:git:https://git.eclipse.org/gitroot/www.eclipse.org/papyrus-sysml</pubScmUrl>
</configuration>
<executions>
<execution>
@@ -1052,5 +1048,20 @@
</profile>
<!-- Profiles to manage the OS environment end -->
+ <!-- Profile for web publication -->
+ <profile>
+ <id>web.staging</id>
+ <properties>
+ <web.absoluteResourceURL>https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/${project.version}/</web.absoluteResourceURL>
+ <web.href>https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/${project.version}/index.html</web.href>
+ </properties>
+ </profile>
+ <profile>
+ <id>web.release</id>
+ <properties>
+ <web.absoluteResourceURL>https://www.eclipse.org/papyrus-sysml/${project.version}/</web.absoluteResourceURL>
+ <web.href>https://www.eclipse.org/papyrus-sysml/${project.version}/index.html</web.href>
+ </properties>
+ </profile>
</profiles>
</project> \ No newline at end of file

Back to the top