Re: maven-artifact-transfer: How to build the classpath for arbitrary GAVs?

2017-11-22 Thread Andreas Sewe
Hi Robert, > have a look at > https://maven.apache.org/shared/maven-artifact-transfer/comparison.html > that should explain the difference between type/package/file-extension > > If it is still not clear enough, please help imrpove the documentation. One way to improve the documentation is to

Re: maven-artifact-transfer: How to build the classpath for arbitrary GAVs?

2017-11-21 Thread Robert Scholte
Hi Andreas, have a look at https://maven.apache.org/shared/maven-artifact-transfer/comparison.html that should explain the difference between type/package/file-extension If it is still not clear enough, please help imrpove the documentation. There's a reason why it is not yet a 1.0.0. I

Re: maven-artifact-transfer: How to build the classpath for arbitrary GAVs?

2017-11-21 Thread Andreas Sewe
Hi Robert, thank you for the pointer. > This should be the information you were looking for, Alas, the information doesn't quite solve my problems -- but maybe I'm just being obtuse. Let's say I want to built (and resolve) the test-scoped classpath of

Re: maven-artifact-transfer: How to build the classpath for arbitrary GAVs?

2017-11-20 Thread Robert Scholte
Hi Andreas, DependencyResolver is indeed the correct class to use. Any of the overloaded methods will do: When you have the dependecy, you can use it directly. In other cases use DependableCoordinate, which represents an instance that can contain dependencies. That can either be a

maven-artifact-transfer: How to build the classpath for arbitrary GAVs?

2017-11-20 Thread Andreas Sewe
Hi, I am currently struggling with the maven-artifact-transfer 0.9.1 API. Here's what I am trying to accomplish: Given an arbitrary GAV and a scope (compile or test), construct the compile- or test-scoped flat classpath for that GAV. DependencyResolver seems to be the class I am after, but I