LuciferYang commented on PR #42465:
URL: https://github.com/apache/spark/pull/42465#issuecomment-1680003768

   > @LuciferYang is there anything that guarantees the
   > 
   > ```
   > [INFO] Spark Project Connect Server ....................... SUCCESS [  
0.001 s]
   > [INFO] Spark Project Connect Client ....................... SUCCESS [  
0.001 s]
   > ```
   > 
   > order now, or is it just a happy accident?
   
   Sorry, I forgot to reply to you, there are roughly two ways to ensure this 
build order:
   1. If the `pom.xml` of `Connect Client ` explicitly specifies a dependency 
on `Connect Server `, then `Connect Server` will be compiled before `Connect 
Client`.
   2. If there is no compile-time dependency between `Connect Client ` and 
`Connect Server `, then the build order will be determined by the order of the 
modules in the `<modules>` section. The current build order is determined by 
the configuration in the Spark parent `pom.xml` as follows:
   
   
https://github.com/apache/spark/blob/2be20e54a2222f6cdf64e8486d1910133b43665f/pom.xml#L105-L108
   


-- 
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