001package org.apache.archiva.metadata.repository.jcr; 002 003/* 004 * Licensed to the Apache Software Foundation (ASF) under one 005 * or more contributor license agreements. See the NOTICE file 006 * distributed with this work for additional information 007 * regarding copyright ownership. The ASF licenses this file 008 * to you under the Apache License, Version 2.0 (the 009 * "License"); you may not use this file except in compliance 010 * with the License. You may obtain a copy of the License at 011 * 012 * http://www.apache.org/licenses/LICENSE-2.0 013 * 014 * Unless required by applicable law or agreed to in writing, 015 * software distributed under the License is distributed on an 016 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 017 * KIND, either express or implied. See the License for the 018 * specific language governing permissions and limitations 019 * under the License. 020 */ 021 022import java.time.ZoneId; 023 024/** 025 * Node types and properties defined in the schema. 026 * 027 * @author Martin Stockhammer <martin_s@apache.org> 028 */ 029public interface JcrConstants 030{ 031 032 033 034 String BASE_NODE_TYPE = "archiva:base"; 035 String CONTENT_NODE_TYPE = "archiva:content"; 036 String NAMESPACE_MIXIN_TYPE = "archiva:namespace"; 037 String PROJECT_MIXIN_TYPE = "archiva:project"; 038 String PROJECT_VERSION_NODE_TYPE = "archiva:projectVersion"; 039 String ARTIFACT_NODE_TYPE = "archiva:artifact"; 040 String REPOSITORY_NODE_TYPE = "archiva:repository"; 041 String FACET_NODE_TYPE = "archiva:facet"; 042 String MIXIN_META_SCM = "archiva:meta_scm"; 043 String MIXIN_META_CI = "archiva:meta_ci"; 044 String MIXIN_META_ISSUE = "archiva:meta_issue"; 045 String MIXIN_META_ORGANIZATION = "archiva:meta_organization"; 046 String MAILINGLIST_NODE_TYPE = "archiva:mailinglist"; 047 String MAILINGLISTS_FOLDER_TYPE = "archiva:mailinglists"; 048 String LICENSES_FOLDER_TYPE = "archiva:licenses"; 049 String LICENSE_NODE_TYPE = "archiva:license"; 050 String DEPENDENCY_NODE_TYPE = "archiva:dependency"; 051 String DEPENDENCIES_FOLDER_TYPE = "archiva:dependencies"; 052 String CHECKSUM_NODE_TYPE = "archiva:checksum"; 053 String CHECKSUMS_FOLDER_TYPE = "archiva:checksums"; 054 String FACETS_FOLDER_TYPE = "archiva:facets"; 055 String FACET_ID_CONTAINER_TYPE = "archiva:facetIdContainer"; 056 String FOLDER_TYPE = "archiva:folder"; 057 058 // Must be alphabetically ordered! 059 String[] PROJECT_VERSION_VERSION_PROPERTIES = {"ci.system","ci.url", "description", "incomplete", "issue.system","issue.url", "name", "org.name", "org.url", "url", "scm.connection", "scm.developerConnection", "scm.url"}; 060}