Bug 499550 - [Components][web] introduce a local web directory to test
the site locally
Change-Id: Ic59b81884a18b7ed8ac092976e59e701dece1e95
Signed-off-by: Francois Le Fevre - CEA <francois.le-fevre@cea.fr>
diff --git a/components/org.eclipse.papyrus.components.parent/pom.xml b/components/org.eclipse.papyrus.components.parent/pom.xml
index 7e99d8f..684a895 100644
--- a/components/org.eclipse.papyrus.components.parent/pom.xml
+++ b/components/org.eclipse.papyrus.components.parent/pom.xml
@@ -1223,6 +1223,14 @@
</profile>
<!-- Profiles to manage the OS environment end -->
<!-- Profile for web publication -->
+ <!-- Generate locally your web site: mvn clean install site site:stage-deploy -Pdocumentation,documentation-pdf,web.local -->
+ <profile>
+ <id>web.local</id>
+ <properties>
+ <web.absoluteResourceURL>${siteMainDirectory}</web.absoluteResourceURL>
+ <web.href>${web.absoluteResourceURL}/index.html</web.href>
+ </properties>
+ </profile>
<profile>
<id>web.gerrit</id>
<properties>