swamirishi commented on code in PR #6182:
URL: https://github.com/apache/ozone/pull/6182#discussion_r1498510922


##########
hadoop-hdds/rocks-native/pom.xml:
##########
@@ -113,79 +111,80 @@
       <build>
         <plugins>
           <plugin>
-            <groupId>com.googlecode.maven-download-plugin</groupId>
-            <artifactId>download-maven-plugin</artifactId>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>exec-maven-plugin</artifactId>
             <executions>
               <execution>
-                <id>rocksdb source download</id>
-                <phase>generate-sources</phase>
-                <goals>
-                  <goal>wget</goal>
-                </goals>
-                <configuration>
-                  
<url>https://github.com/facebook/rocksdb/archive/refs/tags/v${rocksdb.version}.tar.gz</url>
-                  
<outputFileName>rocksdb-v${rocksdb.version}.tar.gz</outputFileName>
-                  
<outputDirectory>${project.build.directory}/rocksdb</outputDirectory>
-                </configuration>
-              </execution>
-              <execution>
-                <id>zlib source download</id>
-                <phase>generate-sources</phase>
-                <goals>
-                  <goal>wget</goal>
-                </goals>
-                <configuration>
-                  <url>${zlib.url}</url>
-                  <outputFileName>zlib-${zlib.version}.tar.gz</outputFileName>
-                  
<outputDirectory>${project.build.directory}/zlib</outputDirectory>
-                </configuration>
-              </execution>
-              <execution>
-                <id>bzip2 source download</id>
-                <phase>generate-sources</phase>
+                <id>set-property</id>
+                <phase>initialize</phase>
                 <goals>
-                  <goal>wget</goal>
+                  <goal>java</goal>
                 </goals>
                 <configuration>
-                  <url>${bzip2.url}</url>
-                  
<outputFileName>bzip2-v${bzip2.version}.tar.gz</outputFileName>
-                  
<outputDirectory>${project.build.directory}/bzip2</outputDirectory>
+                  
<mainClass>org.apache.hadoop.hdds.utils.db.managed.JniLibNamePropertyWriter</mainClass>
+                  <arguments>
+                    
<argument>${project.build.directory}/propertyFile.txt</argument>
+                  </arguments>
                 </configuration>
               </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>properties-maven-plugin</artifactId>
+            <executions>
               <execution>
-                <id>lz4 source download</id>
-                <phase>generate-sources</phase>
+                <id>read-property-from-file</id>
+                <phase>initialize</phase> <!-- Choose the appropriate phase -->

Review Comment:
   the value is right. Removed the comment.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to