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

[MNG-8023] New method + javadoc on Project #1387

Merged
merged 20 commits into from
Jan 23, 2024
Merged

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Jan 19, 2024

Introduce new method that returns POM and project Artifact in sensible manner (so install or deploy and other does not need to figure out anything).

Also, javadoc the class.


https://issues.apache.org/jira/browse/MNG-8023

Introduce new method that returns POM and project Artifact
in sensible manner (so install or deploy and other does not
need to figure out anything).

Also, javadoc the class.

---

https://issues.apache.org/jira/browse/MNG-8023
@cstamas cstamas requested a review from gnodet January 19, 2024 15:19
@cstamas cstamas self-assigned this Jan 19, 2024
@cstamas cstamas added this to the 4.0.0-alpha-13 milestone Jan 19, 2024
Copy link
Member

@michael-o michael-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last nit

@Nonnull
String getPackaging();

/**
* Returns the project POM artifact, that is the artifact of the POM of this project. Every project have POM
* artifact, while the existence of backing POM file is NOT a requirement (i.e. for some transient projects).
Copy link
Contributor

@gnodet gnodet Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Returns the project POM artifact, which is the artifact of the POM of this project. Every project have a POM
artifact, even if the existence of backing POM file is NOT a requirement (i.e. for some transient projects).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we're at it, we're missing a paragraph to explain the behaviour in case a ModelParser is used (for example to parse a POM in a different syntax/language). I'll need to have a look at that.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

K, will wait for your evaluation...

Copy link
Contributor

@gnodet gnodet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I've raised a possible follow-up PR with #1389

@cstamas
Copy link
Member Author

cstamas commented Jan 23, 2024

Superseded by #1389 For start we go with this, and will see later on

@cstamas cstamas merged commit f2595c8 into apache:master Jan 23, 2024
18 checks passed
@cstamas cstamas deleted the MNG-8023 branch January 23, 2024 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants