-
Couldn't load subscription status.
- Fork 184
[MDEP-648] Add location of listed repository. #50
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
Conversation
| <dependency> | ||
| <groupId>org.apache.commons</groupId> | ||
| <artifactId>commons-lang3</artifactId> | ||
| <version>3.6</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this related to the functionality that you've implemented?
| <dependency> | ||
| <groupId>org.apache.maven.wagon</groupId> | ||
| <artifactId>wagon-http-lightweight</artifactId> | ||
| <version>3.3.4</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this related to the functionality that you've implemented?
| * Sets whether the plugin runs in verbose mode. As of plugin version 2.3, the default value is derived from Maven's | ||
| * global debug flag (compare command line switch <code>-X</code>). <br/> | ||
| * | ||
| * @since 3.1.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The @since contradicts the first line of the Javadoc.
|
|
||
| private boolean isVerbose() | ||
| { | ||
| return ( verbose || getLog().isDebugEnabled() ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bit strange that isVerbose checks for log.isDebugEnabled(), while there is a verbose flag already which is triggered (according to its Javadoc) by the -X flag in the CLI.
| this.getLog().info( repo.toString() ); | ||
| String artifactKey = | ||
| ArtifactUtils.key( parent.getGroupId(), parent.getArtifactId(), parent.getVersion() ); | ||
| MavenProject parentPom = getMavenProject( artifactKey ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to me as if you first concatenate groupId, artifactId and version into an artifactKey (line 326), only to pass it to getMavenProject(String) which then uses getArtifactCoordinate to disassemble then into their original values. Why is that?
|
@pmoerenhout thanks also for efforts on it ... we should not use maven-artifact-transfer at all So I close it now. |
|
Resolve #1081 |
After maven-artifact-transfer 0.13.0 has been released, the PR will use the new functions from the maven-artifact-transfer to resolve the used repositories, and in verbose mode, also show the (local) location where this repository is defined.