Skip to content

Commit

Permalink
Merge pull request #5730 from pkriens/master
Browse files Browse the repository at this point in the history
Maven release archive option
  • Loading branch information
pkriens authored Jul 24, 2023
2 parents 28ec868 + 2266e61 commit 588f543
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions biz.aQute.bndlib/src/aQute/bnd/build/Project.java
Original file line number Diff line number Diff line change
Expand Up @@ -1727,6 +1727,7 @@ public Parameters getInstallRepositories() {

private void install(RepositoryPlugin repo, Processor context, File f, Attrs value) throws Exception {
try (Processor p = new Processor(context)) {
p.setBase(context.getBase());
p.getProperties()
.putAll(value);
PutOptions options = new PutOptions();
Expand All @@ -1736,6 +1737,7 @@ private void install(RepositoryPlugin repo, Processor context, File f, Attrs val
} catch (Exception e) {
exception(e, "Cannot install %s into %s because %s", f, repo.getName(), e);
}
context.getInfo(p, f.getName() + ":");
}
}

Expand Down
2 changes: 1 addition & 1 deletion docs/_instructions/maven-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Though this instruction is not specific for a plugin, it was developed in conjun

-maven-release ::= ( 'local'|'remote' ( ';' snapshot )? ) ( ',' option )*
snapshot ::= <value to be used for timestamp>
option ::= sources | javadoc | pom | sign | extra*
option ::= sources | javadoc | pom | sign | archive*
archive ::= 'archive'
( ';path=' ( PATH | '{' PATH '}' )?
( ';classifier=' maven-classifier )?
Expand Down

0 comments on commit 588f543

Please sign in to comment.