Skip to content

Commit 5391e00

Browse files
committed
Update release logging to use bndProject name
Finetune and reduce logging noise Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
1 parent 1ff4716 commit 5391e00

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • gradle-plugins/biz.aQute.bnd.gradle/src/main/java/aQute/bnd/gradle

gradle-plugins/biz.aQute.bnd.gradle/src/main/java/aQute/bnd/gradle/BndPlugin.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,8 @@ public void execute(Task tt) {
611611
.count();
612612

613613
// helpful while you validate:
614-
project.getLogger()
615-
.lifecycle("bnd: release tasks in execution graph = {}", count);
614+
//project.getLogger()
615+
// .lifecycle("bnd: release tasks in execution graph = {}", count);
616616

617617
releaseCounter.get()
618618
.setInitialCount((int) count);
@@ -645,13 +645,13 @@ public void execute(Task tt) {
645645

646646
if (!isLastBundle) {
647647
tt.getLogger()
648-
.lifecycle("bnd: Release bundle ({}) {}", count, jar.getName());
648+
.lifecycle("bnd: Release bundle ({}) {}", count, bndProject.getName());
649649
bndProject.release();
650650
} else {
651651
// releasing last bundle in workspace (special
652652
// case for sonatype release)
653653
tt.getLogger()
654-
.lifecycle("bnd: Last release bundle ({}) {}", count, jar.getName());
654+
.lifecycle("bnd: Last release bundle ({}) {}", count, bndProject.getName());
655655
bndProject.release(new ReleaseParameter(null, false, true));
656656
}
657657
} catch (Exception e) {

0 commit comments

Comments
 (0)