When running any mvn command (tried 3.0.3 and 3.0.4) on OSX Lion I see numerous 
lines of output similar to below. I added a mac box to my build farm. The Maven 
repo is hosted on a net app box that is visible to all my Redhat, Windows and 
now OSX build nodes via an NFS mount. The build doesn't fail but the log is 
seriously bloated. If I move the same build to a red hat or windows box in my 
build farm I don't see any such warnings. In this particular case I am simply 
running mvn help:effective-settings

[WARNING] Failed to read resolution tracking file 
/Volumes/sharedrepo/repository/org/codehaus/sonar/resolver-status.properties

java.io.IOException: Operation not supported
        at sun.nio.ch.FileChannelImpl.lock0(Native Method)
        at sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:832)
        at 
org.sonatype.aether.impl.internal.TrackingFileManager.lock(TrackingFileManager.java:209)
        at 
org.sonatype.aether.impl.internal.TrackingFileManager.read(TrackingFileManager.java:62)
        at 
org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.read(DefaultUpdateCheckManager.java:478)
        at 
org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkMetadata(DefaultUpdateCheckManager.java:244)
        at 
org.sonatype.aether.impl.internal.DefaultMetadataResolver.resolve(DefaultMetadataResolver.java:299)
        at 
org.sonatype.aether.impl.internal.DefaultMetadataResolver.resolveMetadata(DefaultMetadataResolver.java:177)
        at 
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveMetadata(DefaultRepositorySystem.java:338)
        at 
org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolveFromRepository(DefaultPluginPrefixResolver.java:185)
        at 
org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:90)
        at 
org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:262)
        at 
org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:222)
        at 
org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106)
        at 
org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:98)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)


Any pointers appreciated


Thanks

Reply via email to