001/* 002 * JDrupes Builder 003 * Copyright (C) 2025 Michael N. Lipp 004 * 005 * This program is free software: you can redistribute it and/or modify 006 * it under the terms of the GNU Affero General Public License as 007 * published by the Free Software Foundation, either version 3 of the 008 * License, or (at your option) any later version. 009 * 010 * This program is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 013 * GNU Affero General Public License for more details. 014 * 015 * You should have received a copy of the GNU Affero General Public License 016 * along with this program. If not, see <https://www.gnu.org/licenses/>. 017 */ 018 019package org.jdrupes.builder.mvnrepo; 020 021import org.jdrupes.builder.api.ResourceType; 022 023/// A collection of Maven specific [ResourceType]s. 024/// 025@SuppressWarnings({ "PMD.FieldNamingConventions", "PMD.DataClass" }) 026public final class MvnRepoTypes { 027 028 private MvnRepoTypes() { 029 } 030 031 /// The maven repository resource type. 032 public static final ResourceType<MvnRepoResource> MvnRepoResourceType 033 = new ResourceType<>() {}; 034 035 /// The maven repository dependency type. 036 public static final ResourceType< 037 MvnRepoDependency> MvnRepoDependencyType = new ResourceType<>() {}; 038 039 /// The maven repository dependencies type. 040 public static final ResourceType< 041 MvnRepoDependencies> MvnRepoDependenciesType 042 = new ResourceType<>() {}; 043 044 /// The maven publication type. 045 public static final ResourceType<MvnPublication> MvnPublicationType 046 = new ResourceType<>() {}; 047 048 /// A jar file from the maven repository. 049 public static final ResourceType<MvnRepoJarFile> MvnRepoJarFileType 050 = new ResourceType<>() {}; 051 052 /// The POM file type. 053 public static final ResourceType<PomFile> PomFileType 054 = new ResourceType<>() {}; 055 056}