Skip to content
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

Add properties to parameters of fix-artifacts-metadata mojo #3507

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

public abstract class AbstractRepositoryMojo extends AbstractP2Mojo {

@Parameter
@Parameter(property = "p2.repository.location")
private File repositoryLocation;

protected File getAssemblyRepositoryLocation() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
@Mojo(name = "fix-artifacts-metadata", defaultPhase = LifecyclePhase.PREPARE_PACKAGE, threadSafe = true)
public class FixArtifactsMetadataMetadataMojo extends AbstractRepositoryMojo {

@Parameter(defaultValue = "${project.name}")
@Parameter(defaultValue = "${project.name}", property = "p2.repository.name")
private String repositoryName;

/**
Expand All @@ -48,7 +48,7 @@ public class FixArtifactsMetadataMetadataMojo extends AbstractRepositoryMojo {
* redundant file content.
* </p>
*/
@Parameter(defaultValue = "true")
@Parameter(defaultValue = "true", property = "p2.repository.xz")
private boolean xzCompress;

/**
Expand All @@ -58,7 +58,7 @@ public class FixArtifactsMetadataMetadataMojo extends AbstractRepositoryMojo {
* pre-Mars p2 clients which cannot read XZ-compressed index files.
* </p>
*/
@Parameter(defaultValue = "true")
@Parameter(defaultValue = "true", property = "p2.repository.xz.keep")
private boolean keepNonXzIndexFiles;

@Component
Expand Down
Loading