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

[MDEPLOY-295] Drop MAT #25

Closed
wants to merge 3 commits into from
Closed

[MDEPLOY-295] Drop MAT #25

wants to merge 3 commits into from

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Jun 20, 2022

Now that Maven is 3.2.5 no need for MAT anymore.


https://issues.apache.org/jira/browse/MDEPLOY-295

Now that Maven is 3.2.5 no need for MAT anymore.
@cstamas cstamas requested a review from michael-o June 20, 2022 14:22
@cstamas cstamas self-assigned this Jun 20, 2022
@cstamas cstamas requested a review from slachiewicz June 20, 2022 14:28
@cstamas cstamas changed the title Drop MAT [MDEPLOY-295] Drop MAT Jun 20, 2022
@cstamas cstamas marked this pull request as ready for review June 20, 2022 15:37

private RemoteRepository getRemoteRepository( ArtifactRepository remoteRepository )
{
RemoteRepository aetherRepo = RepositoryUtils.toRepo( remoteRepository );
Copy link
Member

Choose a reason for hiding this comment

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

Should we still use the old term aether?

if ( count + 1 < retryFailedDeploymentCounter )
{
getLog().warn( "Encountered issue during deployment: " + e.getLocalizedMessage() );
getLog().debug( e.getMessage() );
Copy link
Member

Choose a reason for hiding this comment

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

Honestly, just use warn with e and that's it. No brain magic.

@@ -137,12 +135,6 @@
@Parameter( property = "maven.deploy.skip", defaultValue = "false" )
private String skip = Boolean.FALSE.toString();
Copy link
Member

Choose a reason for hiding this comment

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

Wow, why is that a string :-D

Copy link
Member

@olamy olamy left a comment

Choose a reason for hiding this comment

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

0
see comment

import org.apache.maven.rtinfo.RuntimeInformation;
import org.eclipse.aether.RepositorySystem;
Copy link
Member

Choose a reason for hiding this comment

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

and soon we will change to org.apache.maven package... ?
maybe think in the other way… why we have not yet change package from maven-resolver?

Copy link
Member Author

@cstamas cstamas Jun 21, 2022

Choose a reason for hiding this comment

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

Unsure what you talk about:

  • if you refer to package change for resolver, yes, it will happen, somewhere around Maven 5, but that will not affect you, as
  • Maven 4 introduces new API and seals Maven internals off from plugins, hence from 4.1 or so, plugin will not "tamper" with resolver and other internal things of Maven anymore, will have to go for Maven API
  • in short, resolver package change, if that's you refer to will NOT affect you, and if the "soon we will change to" refers to Maven API 4.x, is still WIP and of course non existent in Maven 3.x line.

@olamy
Copy link
Member

olamy commented Jun 21, 2022

-0 same comment as here apache/maven-install-plugin#31 (comment)

@michael-o
Copy link
Member

@cstamas Please process my comments

@cstamas
Copy link
Member Author

cstamas commented Jul 12, 2022

Superseded by #26

@cstamas cstamas closed this Jul 12, 2022
@cstamas cstamas deleted the drop-mat branch July 12, 2022 11:18
@olamy
Copy link
Member

olamy commented Jul 13, 2022

interesting to close this one and quickly open and merge (in less than 2 hours) a new one without without taking care of comments....
very community oriented.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants