adoroszlai opened a new pull request, #443:
URL: https://github.com/apache/ranger/pull/443

   ## What changes were proposed in this pull request?
   
   `ranger-nestedstructure-plugin` is not built on Linux, because it is not 
part of the `linux` profile.
   
   This can be reproduced simply on Linux by running `mvn clean`.  The plugin 
is not part of the build.
   
   ```
   $ mvn clean | grep -i nested | wc -l
   0
   ```
   
   `distro` still depends on it.  This causes CI to try to download it from 
remote repo (since CI runs on Linux).
   
   ```
   [ERROR] Failed to execute goal on project ranger-distro: Could not resolve 
dependencies for project org.apache.ranger:ranger-distro:jar:3.0.0-SNAPSHOT: 
Failed to collect dependencies at 
org.apache.ranger:ranger-nestedstructure-plugin:jar:3.0.0-SNAPSHOT: Failed to 
read artifact descriptor for 
org.apache.ranger:ranger-nestedstructure-plugin:jar:3.0.0-SNAPSHOT: Could not 
transfer artifact 
org.apache.ranger:ranger-nestedstructure-plugin:pom:3.0.0-SNAPSHOT from/to 
apache.snapshots (https://repository.apache.org/snapshots): transfer failed for 
https://repository.apache.org/snapshots/org/apache/ranger/ranger-nestedstructure-plugin/3.0.0-SNAPSHOT/ranger-nestedstructure-plugin-3.0.0-SNAPSHOT.pom:
 Connect to repository.apache.org:443 [repository.apache.org/65.109.119.155] 
failed: Connection timed out (Connection timed out)
   ```
   
   https://issues.apache.org/jira/browse/RANGER-5067
   
   ## How was this patch tested?
   
   Verified that `ranger-nestedstructure-plugin` is included in the build:
   
   ```
   $ mvn clean | grep -i nested
   [INFO] NestedStructure Security Plugin                                    
[jar]
   [INFO] ----------< org.apache.ranger:ranger-nestedstructure-plugin 
>-----------
   [INFO] Building NestedStructure Security Plugin 3.0.0-SNAPSHOT          
[32/67]
   [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ 
ranger-nestedstructure-plugin ---
   [INFO] Deleting 
/home/adoroszlai/src/apache/ranger/plugin-nestedstructure/target
   [INFO] NestedStructure Security Plugin .................... SUCCESS [  0.003 
s]
   ```
   
   CI:
   
https://github.com/adoroszlai/ranger/actions/runs/12251237734/job/34175538812#step:5:4990
   
   ```
   [INFO] ----------< org.apache.ranger:ranger-nestedstructure-plugin 
>-----------
   [INFO] Building NestedStructure Security Plugin 3.0.0-SNAPSHOT          
[35/67]
   [INFO]   from plugin-nestedstructure/pom.xml
   ...
   ```


-- 
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: dev-unsubscr...@ranger.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to