Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHOENIX-5808 Improve shaded artifact naming convetions #764

Closed
wants to merge 2 commits into from

Conversation

stoty
Copy link
Contributor

@stoty stoty commented Apr 16, 2020

provide unversioned symlinks in the assembly for -server and -client
drop the deprecated phoenix--client/server symlinks/jars
update the python lib to look for the unversioned client jar

provide unversioned symlinks in the assembly for -server and -client
drop the deprecated phoenix-<version>-client/server symlinks/jars
update the python lib to look for the unversioned client jar
Copy link
Member

@joshelser joshelser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise, this looks like a super helpful simplification.

</goals>
<configuration>
<executable>ln</executable>
<workingDirectory></workingDirectory>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be ${project.basedir}/../phoenix-client/target? I think this leaves it in phoenix-assembly and is then not reflected in the binary tarball.

$ ll phoenix-5.1.0-SNAPSHOT-hbase-2.2
...
-rw-r--r--   1 jelser  staff   133M Apr 23 11:47 phoenix-client-5.1.0-SNAPSHOT-hbase-2.2.jar
-rw-r--r--   1 jelser  staff    18K Apr 23 11:46 phoenix-client-5.1.0-SNAPSHOT.jar
lrwxr-xr-x   1 jelser  staff    43B Apr 23 11:47 phoenix-client.jar -> phoenix-client-5.1.0-SNAPSHOT-hbase-2.2.jar

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the catch @joshelser
Fixed.
Also added explicit dependency on phoenix-client and phoenix-server so that partial builds work.

add explicit dependencies to phoenix-assembly
@stoty stoty closed this Apr 30, 2020
@stoty stoty deleted the PHOENIX-5808 branch September 16, 2020 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants