Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Checkstyle Results

The following document contains the results of Checkstyle .

Summary

Files Infos Warnings Errors
21 0 0 172

Files

Files I W E
org/apache/maven/artifact/PomRewriter.java 0 0 10
org/apache/maven/artifact/deployer/ArtifactDeployer.java 0 0 23
org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java 0 0 66
org/apache/maven/artifact/deployer/DeployBean.java 0 0 24
org/apache/maven/artifact/deployer/NamedArtifactDeployer.java 0 0 12
org/apache/maven/artifact/deployer/NamedArtifactTypeHandler.java 0 0 1
org/apache/maven/artifact/deployer/RepositoryBuilder.java 0 0 12
org/apache/maven/artifact/deployer/UploadMeter.java 0 0 18
org/apache/maven/artifact/deployer/package.html 0 0 1
org/apache/maven/artifact/package.html 0 0 1
org/apache/maven/artifact/PomRewriterTest.java 0 0 3
org/apache/maven/artifact/package.html 0 0 1

org/apache/maven/artifact/PomRewriter.java

Error Line
Error Line does not match expected header line of '/* ===================================================================='. 3
Error Utility classes should not have a public or default constructor. 48
Error Missing a Javadoc comment. 50
Error 'if' construct must use '{}'s. 54
Error Missing a Javadoc comment. 76
Error '{' is followed by whitespace. 89
Error '{' is followed by whitespace. 91
Error '{' is followed by whitespace. 93
Error ';' is followed by whitespace. 107
Error ';' is followed by whitespace. 124

org/apache/maven/artifact/deployer/ArtifactDeployer.java

Error Line
Error Line does not match expected header line of ' *'. 5
Error Line has trailing spaces. 26
Error Line has trailing spaces. 27
Error Line has trailing spaces. 29
Error Line has trailing spaces. 30
Error Line has trailing spaces. 32
Error Line has trailing spaces. 33
Error Line has trailing spaces. 36
Error Line has trailing spaces. 37
Error Line has trailing spaces. 38
Error Line has trailing spaces. 45
Error Line has trailing spaces. 47
Error Line has trailing spaces. 51
Error Line has trailing spaces. 52
Error Expected @throws tag for 'MavenException'. 55
Error Line has trailing spaces. 60
Error Expected @param tag for 'artifact'. 67
Error Expected @throws tag for 'MavenException'. 68
Error Line has trailing spaces. 73
Error Expected @throws tag for 'MavenException'. 80
Error Line has trailing spaces. 85
Error Expected @param tag for 'artifact'. 91
Error Expected @throws tag for 'MavenException'. 92

org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

Error Line
Error Line does not match expected header line of '/* ===================================================================='. 3
Error Line has trailing spaces. 73
Error Missing a Javadoc comment. 80
Error Missing a Javadoc comment. 82
Error Missing a Javadoc comment. 84
Error 'static' modifier out of order with the JLS suggestions. 89
Error Missing a Javadoc comment. 91
Error Variable 'snapshotSignature' must be private and have accessor methods. 91
Error Missing a Javadoc comment. 93
Error Expected @param tag for 'artifact'. 98
Error Expected @param tag for 'type'. 98
Error Expected @param tag for 'project'. 98
Error Expected @param tag for 'handler'. 99
Error Expected @throws tag for 'MavenException'. 99
Error Expected @param tag for 'artifact'. 107
Error Expected @param tag for 'type'. 107
Error Expected @param tag for 'project'. 107
Error Expected @param tag for 'handler'. 108
Error Expected @throws tag for 'MavenException'. 108
Error Missing a Javadoc comment. 113
Error Expected @param tag for 'artifact'. 170
Error Expected @param tag for 'type'. 170
Error Expected @param tag for 'project'. 170
Error Expected @param tag for 'handler'. 171
Error Expected @throws tag for 'MavenException'. 171
Error Expected @param tag for 'artifact'. 179
Error Expected @param tag for 'type'. 179
Error Expected @param tag for 'project'. 179
Error Expected @param tag for 'handler'. 180
Error Expected @throws tag for 'MavenException'. 180
Error Missing a Javadoc comment. 185
Error Line has trailing spaces. 210
Error Expected @param tag for 'project'. 220
Error Expected @param tag for 'handler'. 221
Error Expected @throws tag for 'MavenException'. 221
Error Missing a Javadoc comment. 236
Error Expression can be simplified. 243
Error Line is longer than 132 characters. 251
Error Missing a Javadoc comment. 255
Error Missing a Javadoc comment. 284
Error More than 7 parameters. 284
Error Line is longer than 132 characters. 340
Error Missing a Javadoc comment. 383
Error More than 7 parameters. 383
Error Missing a Javadoc comment. 393
Error More than 7 parameters. 393
Error ';' is followed by whitespace. 437
Error ';' is followed by whitespace. 445
Error Comment matches to-do format 'TODO:'. 449
Error Missing a Javadoc comment. 482
Error Missing a Javadoc comment. 524
Error Missing a Javadoc comment. 535
Error Expected an @return tag. 559
Error Expected @param tag for 'artifact'. 559
Error Expected @param tag for 'snapshotVersion'. 559
Error Expected @param tag for 'artifactId'. 560
Error Expected @param tag for 'type'. 560
Error Expected @throws tag for 'MavenException'. 560
Error Expected an @return tag. 586
Error Expected @param tag for 'file'. 586
Error Expected @throws tag for 'MavenException'. 587
Error Avoid inline conditionals. 598
Error Missing a Javadoc comment. 651
Error Comment matches to-do format 'TODO:'. 656
Error Missing a Javadoc comment. 680
Error Missing a Javadoc comment. 682

org/apache/maven/artifact/deployer/DeployBean.java

Error Line
Error Line does not match expected header line of ' *'. 5
Error Redundant import from the same package - org.apache.maven.artifact.deployer.NamedArtifactDeployer. 22
Error Redundant import from the same package - org.apache.maven.artifact.deployer.NamedArtifactTypeHandler. 23
Error Line has trailing spaces. 28
Error Line has trailing spaces. 30
Error Missing a Javadoc comment. 36
Error Missing a Javadoc comment. 38
Error Missing a Javadoc comment. 40
Error Missing a Javadoc comment. 42
Error Missing a Javadoc comment. 44
Error Missing a Javadoc comment. 46
Error Missing a Javadoc comment. 48
Error Missing a Javadoc comment. 53
Error 'typeHandler' hides a field. 61
Error Expected @param tag for 'typeHandler'. 61
Error Missing a Javadoc comment. 66
Error 'artifact' hides a field. 74
Error Expected @param tag for 'artifact'. 74
Error Missing a Javadoc comment. 79
Error 'project' hides a field. 87
Error Expected @param tag for 'project'. 87
Error Missing a Javadoc comment. 92
Error 'type' hides a field. 100
Error Expected @param tag for 'type'. 100

org/apache/maven/artifact/deployer/NamedArtifactDeployer.java

Error Line
Error Line does not match expected header line of ' *'. 5
Error Expected @param tag for 'artifact'. 37
Error Expected @param tag for 'type'. 37
Error Expected @param tag for 'project'. 37
Error Expected @param tag for 'handler'. 37
Error Expected @throws tag for 'MavenException'. 38
Error Line is longer than 132 characters. 46
Error Expected @param tag for 'artifact'. 46
Error Expected @param tag for 'type'. 46
Error Expected @param tag for 'project'. 46
Error Expected @param tag for 'handler'. 46
Error Expected @throws tag for 'MavenException'. 47

org/apache/maven/artifact/deployer/NamedArtifactTypeHandler.java

Error Line
Error Line does not match expected header line of ' *'. 5

org/apache/maven/artifact/deployer/RepositoryBuilder.java

Error Line
Error Line does not match expected header line of ' *'. 5
Error Utility classes should not have a public or default constructor. 42
Error Missing a Javadoc comment. 44
Error Missing a Javadoc comment. 46
Error Missing a Javadoc comment. 110
Error Comment matches to-do format 'TODO:'. 112
Error Missing a Javadoc comment. 138
Error Missing a Javadoc comment. 147
Error Missing a Javadoc comment. 152
Error Missing a Javadoc comment. 157
Error Missing a Javadoc comment. 204
Error Missing a Javadoc comment. 234

org/apache/maven/artifact/deployer/UploadMeter.java

Error Line
Error Line does not match expected header line of ' *'. 5
Error Missing a Javadoc comment. 38
Error Missing a Javadoc comment. 40
Error Missing a Javadoc comment. 42
Error Missing a Javadoc comment. 44
Error Missing a Javadoc comment. 46
Error Missing a Javadoc comment. 48
Error Missing a Javadoc comment. 50
Error '20' is a magic number. 52
Error Missing a Javadoc comment. 55
Error 'numHashes' hides a field. 55
Error 'hashChar' hides a field. 55
Error Missing a Javadoc comment. 61
Error Missing a Javadoc comment. 66
Error Missing a Javadoc comment. 73
Error Missing a Javadoc comment. 88
Error Missing a Javadoc comment. 93
Error Missing a Javadoc comment. 98

org/apache/maven/artifact/deployer/package.html

Error Line
Error Missing package documentation file. 0

org/apache/maven/artifact/package.html

Error Line
Error Missing package documentation file. 0

org/apache/maven/artifact/PomRewriterTest.java

Error Line
Error Line does not match expected header line of '/* ===================================================================='. 3
Error Missing a Javadoc comment. 38
Error Missing a Javadoc comment. 47

org/apache/maven/artifact/package.html

Error Line
Error Missing package documentation file. 0