Looking at https://repo.maven.apache.org/maven2/org/apache/phoenix/phoenix/4.10.0-HBase-1.2/ , there is only test jar.
You need to specify a module under https://repo.maven.apache.org/maven2/org/apache/phoenix/ e.g. https://repo.maven.apache.org/maven2/org/apache/phoenix/phoenix-core/4.11.0-HBase-1.2/ FYI On Thu, Jun 29, 2017 at 7:23 AM, Juvenn Woo <mach...@gmail.com> wrote: > Hi Ted, > > Thanks for quick reply. I’ve setup a new app with just phoenix as > dependency, you can find the `mvn -X dependency:tree` output here: > > http://termbin.com/qm3q > > Best, > -- > Juvenn Woo > Sent with Sparrow <http://www.sparrowmailapp.com/?sig> > > On Thursday, June 29, 2017 at 9:37 PM, Ted Yu wrote: > > Can you add -X to mvn command and pastebin the output? > > Ghanks > > -------- Original message -------- > From: Juvenn Woo <mach...@gmail.com> > Date: 6/29/17 6:26 AM (GMT-08:00) > To: user@phoenix.apache.org > Subject: Specify maven dependency > > Hi all, > > For convenience of deployment, I am trying to specify phoenix as maven > dependency instead of put client jar in the git repo. > > While I am able to find phoenix on maven central: > > ``` > <dependency> > <groupId>org.apache.phoenix</groupId> > <artifactId>phoenix</artifactId> > <version>4.10.0-HBase-1.2</version> > </dependency> > ``` > > Yet it fails to download it, and complains with following error: > > ``` > Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: > Could not find artifact org.apache.phoenix:phoenix:jar:4.10.0-HBase-1.2 > in central > ``` > > Do I miss anything here? Or is the manual bundling client jar the only > option? > > Thanks! > > -- > Juvenn Woo > Sent with Sparrow <http://www.sparrowmailapp.com/?sig> > > >