protected FileSystemServer createFileSystemServer ( ArtifactStore artifactStore ) { return new FileSystemServer ( ArtifactUtils . versionlessKey ( project . getGroupId ( ) , project . getArtifactId ( ) ) , Math . max ( 0 , Math . min ( port , 65535 ) ) , new AutoDigestFileSystem ( new ArtifactStoreFileSystem ( artifactStore ) ) , getSettingsServletPath ( ) ) ; }
Creates a file system server from an artifact store .