Browse Source

more reformatting

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@359988 13f79535-47bb-0310-9956-ffa450edef68
tags/archiva-0.9-alpha-1
Brett Porter 18 years ago
parent
commit
3ff50d2d3a

+ 1
- 2
maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultMetadataDiscoverer.java View File

@@ -69,8 +69,7 @@ public class DefaultMetadataDiscoverer

for ( int i = 0; i < metadataPaths.length; i++ )
{
RepositoryMetadata metadata = buildMetadata( repositoryBase
.getPath(), metadataPaths[i] );
RepositoryMetadata metadata = buildMetadata( repositoryBase.getPath(), metadataPaths[i] );

if ( metadata != null )
{

+ 4
- 6
maven-repository-reports-standard/src/main/java/org/apache/maven/repository/reporting/LocationArtifactReportProcessor.java View File

@@ -107,16 +107,14 @@ public class LocationArtifactReportProcessor
}
else if ( fsPomLocation == false && pkgPomLocation == true )
{
reporter
.addFailure( artifact,
"The artifact is out of place. It does not match the specified location in the file system pom." );
reporter.addFailure( artifact,
"The artifact is out of place. It does not match the specified location in the file system pom." );

}
else if ( fsPomLocation == true && pkgPomLocation == false )
{
reporter
.addFailure( artifact,
"The artifact is out of place. It does not match the specified location in the packaged pom." );
reporter.addFailure( artifact,
"The artifact is out of place. It does not match the specified location in the packaged pom." );

}
else if ( fsPomLocation == false && pkgPomLocation == false )

Loading…
Cancel
Save