Re: Packaging from Aether

2018-09-21 Thread Elliotte Rusty Harold
Found it. The type was hiding in the properties. That is, String type = artifact.getProperty(ArtifactProperties.TYPE, "jar"); On Thu, Sep 20, 2018 at 4:05 PM, Elliotte Rusty Harold wrote: > With Eclipse Aether I can read a pom and gather information in the > form of import org.eclipse.aet

Re: Packaging from Aether

2018-09-21 Thread Elliotte Rusty Harold
On Fri, Sep 21, 2018 at 3:21 AM, wrote: > a dependency has a type, but not really a packaging: a packaging is a recipe > to build a project that will produce multiple artifacts, each with its own > type > > see the comparison [1] > > and default artifact handlers [2] gives you informations abou

Re: Packaging from Aether

2018-09-21 Thread Elliotte Rusty Harold
On Thu, Sep 20, 2018 at 10:34 PM, Lennart Jörelid wrote: > Hello Elliotte, > > I usually use the depends-maven-plugin, which collects information about > dependencies within a property file. > The data format within this property file (typically placed within > target/classes/META-INF/maven/depend

Re: Packaging from Aether

2018-09-21 Thread herve . boutemy
2018 22:05:42 Objet: Packaging from Aether With Eclipse Aether I can read a pom and gather information in the form of import org.eclipse.aether.graph.Dependency and org.eclipse.aether.artifact.Artifact objects. Is there some way from these or related objects I can gather the information about the packagi

Re: Packaging from Aether

2018-09-20 Thread Lennart Jörelid
Hello Elliotte, I usually use the depends-maven-plugin, which collects information about dependencies within a property file. The data format within this property file (typically placed within target/classes/META-INF/maven/dependencies.properties is shown below - and the dependency type and classi

Packaging from Aether

2018-09-20 Thread Elliotte Rusty Harold
With Eclipse Aether I can read a pom and gather information in the form of import org.eclipse.aether.graph.Dependency and org.eclipse.aether.artifact.Artifact objects. Is there some way from these or related objects I can gather the information about the packaging of the dependency? That is, the t