You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by pr...@apache.org on 2021/04/06 17:00:10 UTC

[ozone] branch master updated: HDDS-5066. Use fixed vesion from pnpm to build recon (#2115)

This is an automated email from the ASF dual-hosted git repository.

prashantpogde pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new d1d4303  HDDS-5066. Use fixed vesion from pnpm to build recon (#2115)
d1d4303 is described below

commit d1d43031f0ec40893dbd8f00c0d12e05a31a9242
Author: Elek, Márton <el...@users.noreply.github.com>
AuthorDate: Tue Apr 6 18:59:57 2021 +0200

    HDDS-5066. Use fixed vesion from pnpm to build recon (#2115)
---
 hadoop-ozone/recon/pom.xml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/hadoop-ozone/recon/pom.xml b/hadoop-ozone/recon/pom.xml
index 4c55e30..6227cff 100644
--- a/hadoop-ozone/recon/pom.xml
+++ b/hadoop-ozone/recon/pom.xml
@@ -23,6 +23,9 @@
   <name>Apache Ozone Recon</name>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>hadoop-ozone-recon</artifactId>
+  <properties>
+    <pnpm.version>5.18.9</pnpm.version>
+  </properties>
   <build>
     <resources>
       <resource>
@@ -104,12 +107,12 @@
             </configuration>
           </execution>
           <execution>
-            <id>set pnpm store path</id>
+            <id>set pnpm@${pnpm.version} store path</id>
             <goals>
               <goal>npx</goal>
             </goals>
             <configuration>
-              <arguments>pnpm config set store-dir ~/.pnpm-store</arguments>
+              <arguments>pnpm@${pnpm.version} config set store-dir ~/.pnpm-store</arguments>
             </configuration>
           </execution>
           <execution>
@@ -118,7 +121,7 @@
               <goal>npx</goal>
             </goals>
             <configuration>
-              <arguments>pnpm install --frozen-lockfile</arguments>
+              <arguments>pnpm@${pnpm.version} install --frozen-lockfile</arguments>
             </configuration>
           </execution>
           <execution>
@@ -127,7 +130,7 @@
               <goal>npx</goal>
             </goals>
             <configuration>
-              <arguments>pnpm run build</arguments>
+              <arguments>pnpm@${pnpm.version} run build</arguments>
             </configuration>
           </execution>
         </executions>

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org