1 package org.apache.archiva.metadata.repository.jcr;
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License. You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied. See the License for the
18 * specific language governing permissions and limitations
22 import java.time.ZoneId;
25 * Node types and properties defined in the schema.
27 * @author Martin Stockhammer <martin_s@apache.org>
29 public interface JcrConstants
34 String BASE_NODE_TYPE = "archiva:base";
35 String NAMESPACE_NODE_TYPE = "archiva:namespace";
36 String PROJECT_NODE_TYPE = "archiva:project";
37 String PROJECT_VERSION_NODE_TYPE = "archiva:projectVersion";
38 String ARTIFACT_NODE_TYPE = "archiva:artifact";
39 String REPOSITORY_NODE_TYPE = "archiva:repository";
40 String FACET_NODE_TYPE = "archiva:facet";
41 String MIXIN_META_SCM = "archiva:meta_scm";
42 String MIXIN_META_CI = "archiva:meta_ci";
43 String MIXIN_META_ISSUE = "archiva:meta_issue";
44 String MIXIN_META_ORGANIZATION = "archiva:meta_organization";
45 String MIXIN_META_LICENSE = "archiva:meta_license";
46 String MIXIN_META_MAILINGLIST = "archiva:meta_mailinglist";
47 String DEPENDENCY_NODE_TYPE = "archiva:dependency";
48 String CHECKSUM_NODE_TYPE = "archiva:checksum";
50 // Must be alphabetically ordered!
51 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"};