Skip to content
Permalink
Browse files
Javadoc typos.
  • Loading branch information
garydgregory committed May 29, 2018
1 parent ff15774 commit 8c1a2483453a22012f7f2b6ffe45efed1853d6ff
Showing 1 changed file with 10 additions and 10 deletions.
@@ -40,9 +40,9 @@
import org.apache.maven.project.MavenProject;

/**
* The purpose of this maven mojo is to detach the artifacts generated by the maven-assembly-plugin,
* The purpose of this Maven mojo is to detach the artifacts generated by the maven-assembly-plugin,
* which for the Apache Commons Project do not get uploaded to Nexus, and putting those artifacts
* in the dev distribution location for apache projects.
* in the dev distribution location for Apache projects.
*
* @author chtompki
* @since 1.0
@@ -54,7 +54,7 @@
public class CommonsDistributionDetachmentMojo extends AbstractMojo {

/**
* A list of "artifact types" in the maven vernacular, to
* A list of "artifact types" in the Maven vernacular, to
* be detached from the deployment. For the time being we want
* all artifacts generated by the maven-assembly-plugin to be detached
* from the deployment, namely *-src.zip, *-src.tar.gz, *-bin.zip,
@@ -71,8 +71,8 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo {
}

/**
* This list is supposed to hold the maven references to the aformentioned artifacts so that we
* can upload them to svn after they've been detached from the maven deployment.
* This list is supposed to hold the Maven references to the aforementioned artifacts so that we
* can upload them to svn after they've been detached from the Maven deployment.
*/
private List<Artifact> detachedArtifacts = new ArrayList<>();

@@ -153,7 +153,7 @@ public void execute() throws MojoExecutionException {

/**
* Takes an attached artifact and puts the signature in the map.
* @param artifact is a maven {@link Artifact} taken from the project at start time of mojo.
* @param artifact is a Maven {@link Artifact} taken from the project at start time of mojo.
* @throws MojoExecutionException if an {@link IOException} occurs when getting the sha1 of the
* artifact.
*/
@@ -181,7 +181,7 @@ private void putAttachedArtifactInSha1Map(Artifact artifact) throws MojoExecutio

/**
* Takes an attached artifact and puts the signature in the map.
* @param artifact is a maven {@link Artifact} taken from the project at start time of mojo.
* @param artifact is a Maven {@link Artifact} taken from the project at start time of mojo.
* @throws MojoExecutionException if an {@link IOException} occurs when getting the sha1 of the
* artifact.
*/
@@ -224,7 +224,7 @@ private void logAllArtifactsInSha1PropertiesFile() throws MojoExecutionException
/**
* Writes to ./target/commons-release-plugin/sha256.properties the artifact sha256's.
*
* @throws MojoExecutionException if we cant write the file due to an {@link IOException}.
* @throws MojoExecutionException if we can't write the file due to an {@link IOException}.
*/
private void logAllArtifactsInSha256PropertiesFile() throws MojoExecutionException {
File propertiesFile = new File(workingDirectory, "sha256.properties");
@@ -240,7 +240,7 @@ private void logAllArtifactsInSha256PropertiesFile() throws MojoExecutionExcepti
* so that the {@link CommonsDistributionStagingMojo} can find the artifacts later.
*
* @throws MojoExecutionException if some form of an {@link IOException} occurs, we want it
* properly wrapped so that maven can handle it.
* properly wrapped so that Maven can handle it.
*/
private void copyRemovedArtifactsToWorkingDirectory() throws MojoExecutionException {
StringBuffer copiedArtifactAbsolutePath;
@@ -262,7 +262,7 @@ private void copyRemovedArtifactsToWorkingDirectory() throws MojoExecutionExcept
* the {@link CommonsDistributionStagingMojo}.
*
* @throws MojoExecutionException if some form of an {@link IOException} occurs, we want it
* properly wrapped so that maven can handle it.
* properly wrapped so that Maven can handle it.
*/
private void hashArtifacts() throws MojoExecutionException {
for (Artifact artifact : detachedArtifacts) {

0 comments on commit 8c1a248

Please sign in to comment.