Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.5
-
Fix Version/s: 2.0.9
-
Component/s: Artifacts and Repositories
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
Even though the network is not touched we get logging output like this:
-->8--
[INFO] snapshot org.codehaus.plexus:plexus-appserver-maven-plugin:2.0-alpha-8-SNAPSHOT: checking for updates from apache.snapshots
[DEBUG] System is offline. Cannot resolve metadata:
Repository Metadata
--------------------------
GroupId: org.codehaus.plexus
ArtifactId: plexus-appserver-maven-plugin
Metadata Type: org.apache.maven.artifact.repository.metadata.SnapshotArtifactRepositoryMetadata
-->8--
You mean to not log this information when in offline mode?
Simplest thing would be to just allow metadata resolving when online and ignore when not - but throw no RepositoryMetadataResolutionException, both in DefaultRepositoryMetadataManager#resolveAlways() and in
SnapshotTransformation#resolveLatestSnapshotBuildNumber().
Was this the intended result?