Re: Can't import HttpAuthTypes for JanusGraph 0.3.0..


Jason Plurad <plu...@...>
 

Rather than mvnrepository, I tend to use search.maven.org.
https://search.maven.org/#artifactdetails%7Corg.janusgraph%7Cjanusgraph-es%7C0.3.0%7Cjar



I'm not sure why mvnrepository added that test scope.


On Wednesday, August 8, 2018 at 1:58:31 AM UTC-4, AaronCH5 wrote:
Tks, i see it, i mean that only have a test scope dependency for  janusgraph-es on mvnrepository, it's wrong, it need to be rewritten for remove the scope for test, As you say, it's only a test scope dependency for test,so in product should remove it.
 
在 2018年8月8日星期三 UTC+8上午10:02:49,Jason Plurad写道:
Your screen shot doesn't indicate what directory your Java source file is under. Is this class a test file or part of your application?

If you are declaring janusgraph-es as a test scope dependency, your Java source file that is using HttpAuthTypes should be located under src/test/java/janusgraph (because you declared the package name as `janusgraph`).

https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope

On Tuesday, August 7, 2018 at 9:46:49 PM UTC-4, AaronCH5 wrote:
I see the mvnpository has been janusgraph 0.3.0, but it is test for janusgrpah-es, when i introduce this in my pom.xml for my poroject, the HttpAuthTypes is wrong.


Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.