code: public long getMetadataLastModified( String path )
          throws IOException, MetadataNotFoundException
      {
          Metadata metadata = getMetadata( path );
          if ( metadata != null )
          {
              if ( !StringUtils.isEmpty( metadata.getGroupId() ) || !StringUtils.isEmpty( metadata.getArtifactId() )
                  || !StringUtils.isEmpty( metadata.getVersion() )
                  || ( metadata.getPlugins() != null && !metadata.getPlugins().isEmpty() ) || (
                  metadata.getVersioning() != null && ( !StringUtils.isEmpty( metadata.getVersioning().getLastUpdated() )
                      || !StringUtils.isEmpty( metadata.getVersioning().getLatest() )
                      || !StringUtils.isEmpty( metadata.getVersioning().getRelease() )
                      || ( metadata.getVersioning().getVersions() != null
                      && !metadata.getVersioning().getVersions().isEmpty() ) || ( metadata.getVersioning().getSnapshot()
                      != null ) ) ) )
              {
                  return System.currentTimeMillis();
              }
          }
          throw new MetadataNotFoundException( path );
      }
docs: {@inheritDoc}