Skip to content
Snippets Groups Projects
Commit a20b2ec3 authored by Pietro Braghieri's avatar Pietro Braghieri Committed by Alberto Debiasi
Browse files

avoid to run the update site installation whether the UpdateSite profile

is not specified
parent ac70f930
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@
<updateSite.mount.dir.root>/tmp</updateSite.mount.dir.root>
<updateSite.mount.dir>www_us</updateSite.mount.dir>
<updateSite.url.root>es@es-static.fbk.eu:/</updateSite.url.root>
<updateSite.skip>true</updateSite.skip>
</properties>
<profiles>
......@@ -23,12 +24,14 @@
<id>DevelopmentUpdateSite</id>
<properties>
<updateSite.dir>${updateSite.root}/aida_chess_devel</updateSite.dir>
<updateSite.skip>false</updateSite.skip>
</properties>
</profile>
<profile>
<id>ProductionUpdateSite</id>
<properties>
<updateSite.dir>${updateSite.root}/aida_chess</updateSite.dir>
<updateSite.skip>false</updateSite.skip>
</properties>
</profile>
</profiles>
......@@ -74,8 +77,9 @@
<goals>
<goal>exec</goal>
</goals>
<phase>install</phase>
<phase>install</phase>
<configuration>
<skip>${updateSite.skip}</skip>
<executable>mkdir</executable>
<workingDirectory>${updateSite.mount.dir.root}</workingDirectory>
<longModulepath>false</longModulepath>
......@@ -92,6 +96,7 @@
</goals>
<phase>install</phase>
<configuration>
<skip>${updateSite.skip}</skip>
<executable>chmod</executable>
<workingDirectory>${updateSite.mount.dir.root}</workingDirectory>
<arguments>
......@@ -107,6 +112,7 @@
</goals>
<phase>install</phase>
<configuration>
<skip>${updateSite.skip}</skip>
<executable>sshfs</executable>
<workingDirectory>${updateSite.mount.dir.root}</workingDirectory>
<arguments>
......@@ -126,6 +132,7 @@
</goals>
<phase>install</phase>
<configuration>
<skip>${updateSite.skip}</skip>
<executable>cp</executable>
<workingDirectory>${basedir}/target/repository</workingDirectory>
<arguments>
......@@ -158,6 +165,7 @@
</goals>
<phase>install</phase>
<configuration>
<skip>${updateSite.skip}</skip>
<executable>fusermount</executable>
<workingDirectory>${updateSite.mount.dir.root}</workingDirectory>
<arguments>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment