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
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
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
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
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
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