Skip to content

POM top level artifact is not shown in SpecificationDependencyDiagram #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JanWesterkamp-iJUG opened this issue May 23, 2022 · 2 comments

Comments

@JanWesterkamp-iJUG
Copy link
Contributor

JanWesterkamp-iJUG commented May 23, 2022

@DirkMahler I configured the analysis to show the current usage of Jakarta EE dependenies in MicroProfile, which uses a POM type artifact to configure platform component specs.

Here are the used properties for MP 5.0:

<repo.url>https://repo1.maven.org/maven2</repo.url> <repo.filter>org.eclipse.microprofile*:*:*</repo.filter> <platform.groupId>org.eclipse.microprofile</platform.groupId> <platform.artifactId>microprofile</platform.artifactId> <platform.type>pom</platform.type> <platform.version>5.0</platform.version>

In the jakarta-ee-dependencies_SpecificationDependencyDiagram is missing the top level
org.eclipse.microprofile:microprofile:pom:5.0 artifact, while in the PlatformDependencyDiagram is showing it properly.

Is this because a related query does have problems with the artifact type (POM instead of JAR)?

@JanWesterkamp-iJUG
Copy link
Contributor Author

Here the related report SVGs:
jakarta-ee-dependencies_PlatformDependencyDiagram
jakarta-ee-dependencies_SpecificationDependencyDiagram

@DirkMahler
Copy link
Contributor

Just checked: the rules in jqassistant/jakarta-ee-dependencies.xml propagate declared dependencies from POMs to JAR artifacts which then allows queries over artifacts including their transitive dependencies. The POM model itself does not allow that.

I would need to have a closer look at it on how to solve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants