Skip to content

Commit

Permalink
enhancement - add groupId, artifactId and version attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko Milic committed Nov 5, 2024
1 parent 4104198 commit 1c66653
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,9 @@ private List<IClasspathEntry> getDependencyJars(DependencyModulesResult dependen
attributes.add(optionalAttribute);
}
attributes.add(buildServerAttribute);
attributes.add(JavaCore.newClasspathAttribute("groupId", mavenDependencyModule.getOrganization()));
attributes.add(JavaCore.newClasspathAttribute("artifactId", mavenDependencyModule.getName()));
attributes.add(JavaCore.newClasspathAttribute("version", mavenDependencyModule.getVersion()));

dependencyEntries.add(JavaCore.newLibraryEntry(
new Path(artifact.getAbsolutePath()),
Expand Down

0 comments on commit 1c66653

Please sign in to comment.