Skip to content

Commit

Permalink
Make deployment root directory configurable.
Browse files Browse the repository at this point in the history
Use the following command to deploy the artifacts to a custom directory
(/tmp/temp):

mvn deploy -DsiteDestination=/tmp/temp

Change-Id: I192381ca565bedef15fac93becc1563eb3ca6b93
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
  • Loading branch information
bhufmann committed Jan 12, 2022
1 parent 5b5a922 commit 1ce8c3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pom.xml
Expand Up @@ -39,7 +39,8 @@

<properties>
<manifest-location>META-INF</manifest-location>
<maven-deploy-destination>file:///home/data/httpd/archive.eclipse.org/tracecompass/tracecompass-test-traces/maven/</maven-deploy-destination>
<siteDestination>/home/data/httpd/archive.eclipse.org</siteDestination>
<maven-deploy-destination>file:///${siteDestination}/tracecompass/tracecompass-test-traces/maven/</maven-deploy-destination>
</properties>

<modules>
Expand Down
2 changes: 1 addition & 1 deletion update-site/pom.xml
Expand Up @@ -39,7 +39,7 @@
<packaging>pom</packaging>

<properties>
<p2-deploy-destination>/home/data/httpd/archive.eclipse.org/tracecompass/tracecompass-test-traces/repository/latest/</p2-deploy-destination>
<p2-deploy-destination>${siteDestination}/tracecompass/tracecompass-test-traces/repository/latest/</p2-deploy-destination>
</properties>

<pluginRepositories>
Expand Down

0 comments on commit 1ce8c3d

Please sign in to comment.