Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
teletha committed Jan 6, 2024
1 parent a055260 commit 3aeebd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/bee/api/Repository.java
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ public void install(Project project, File classes, File sources, File javadoc) {
try {
InstallRequest request = new InstallRequest();
request.addArtifact(jar);
request.addArtifact(new SubArtifact(jar, "", "pom", Locator.temporaryFile().text(project.toString()).asJavaFile()));
request.addArtifact(new SubArtifact(jar, "", "pom", Locator.temporaryFile().text(project.toMavenDefinition()).asJavaFile()));
if (sources != null && sources.isPresent()) {
request.addArtifact(new SubArtifact(jar, "sources", "jar", sources.asJavaFile()));
}
Expand Down

0 comments on commit 3aeebd7

Please sign in to comment.