Package adalid.jee2.meta.proyecto.base
Class ProyectoMaven
- java.lang.Object
-
- adalid.core.AbstractArtifact
-
- adalid.core.Project
-
- adalid.jee2.meta.proyecto.base.ProyectoBase
-
- adalid.jee2.meta.proyecto.base.ProyectoJava1
-
- adalid.jee2.meta.proyecto.base.ProyectoJava2
-
- adalid.jee2.meta.proyecto.base.ProyectoMaven
-
- All Implemented Interfaces:
SubjectProject,Wrappable,ProjectBuilder,Artifact,SpecialEntityPack,Comparable<Project>
- Direct Known Subclasses:
ProyectoMavenPrime
public abstract class ProyectoMaven extends ProyectoJava2
- Author:
- Jorge Campins
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringDEFAULT_SLDprotected static StringDEFAULT_TLDprotected static StringDEFAULT_VERSIONprotected static StringPOM_PROPERTIES-
Fields inherited from class adalid.jee2.meta.proyecto.base.ProyectoJava1
consulta, consultaRecursosBasicos, CONTENT_ROOT_DIR_LINUX, CONTENT_ROOT_DIR_WINDOWS, dailyProcessSchedule, ENBG, JAVA_HOME_DIR_LINUX, JAVA_HOME_DIR_WINDOWS, JAVA_VERSION, monthlyProcessSchedule, PAKS, procesamiento, procesamientoRecursosBasicos, registro, registroRecursosBasicos, SUPPORTED_WEB_API_AUTH_METHODS, taskNotifierSchedule, TYPELESS_REALM_NAME, VERSION_JAVA, weeklyProcessSchedule
-
Fields inherited from class adalid.jee2.meta.proyecto.base.ProyectoBase
THIRD_PARTY_DIR_LINUX, THIRD_PARTY_DIR_VERSION, THIRD_PARTY_DIR_WINDOWS, URL_ZIP_THIRD_PARTY_DIR, VERSION_THIRD_PARTY_DIR
-
Fields inherited from class adalid.core.Project
CHARACTER_KEY_MAX_LENGTH, DESCRIPTION_PROPERTY_MAX_LENGTH, FILE_REFERENCE_MAX_LENGTH, NAME_PROPERTY_MAX_LENGTH, STRING_FIELD_MAX_LENGTH, STRING_INDEX_MAX_LENGTH, URL_PROPERTY_MAX_LENGTH
-
Fields inherited from class adalid.core.AbstractArtifact
_de_, _of_, BR, ENGLISH, HT, PORTUGUESE, SPANISH
-
Fields inherited from interface adalid.jee2.features.SpecialEntityPack
ApplicationMessageEntityClass, SegmentSetFactoryEntityClass, TaskNotificationEntityClass, UploadedFileEntityClass, UserEntityClass, VersionEntityClass
-
-
Constructor Summary
Constructors Constructor Description ProyectoMaven()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddProjectDependency(ProjectDependency dependency)El método addProjectDependency agrega una dependencia a la lista de dependencias de todos los módulos y librerias del proyecto.booleanaddProjectDependency(ProjectDependency dependency, ProjectModuleType moduleType)El método addProjectDependency agrega una dependencia a la lista de dependencias del módulo (o librería) del proyecto identificado por el parámetro moduleType.protected voidclearProjectDependencies()protected voidclearProjectDependencies(ProjectModuleType moduleType)StringgetArtifactId()protected StringgetDefaultEarProjectName()protected StringgetDefaultGroupId()protected StringgetDefaultRootPackageName()protected StringgetDefaultVersion()protected StringgetDefaultWebApiProjectName()protected StringgetDefaultWebProjectName()StringgetGroupId()ProjectObjectModelReadergetMetaProjectObjectModel()PropertiesgetPomProperties()List<ProjectDependency>getProjectDependencies(ProjectModuleType moduleType)List<ProjectDependency>getProjectDependencies(String moduleType)StringgetVersion()StringgetVersionNumber()protected booleanreadyToWrite(String platform)booleanremoveProjectDependency(ProjectDependency dependency)El método removeProjectDependency elimina una dependencia de la lista de dependencias de todos los módulos y librerias del proyecto.booleanremoveProjectDependency(ProjectDependency dependency, ProjectModuleType moduleType)El método removeProjectDependency elimina una dependencia de la lista de dependencias del módulo (o librería) del proyecto identificado por el parámetro moduleType.voidsetGroupId(String groupId)voidsetVersion(String version)-
Methods inherited from class adalid.jee2.meta.proyecto.base.ProyectoJava2
addAttributes, addDirectives, addHolidaysListBeanAttribute, addHolidaysListBeanAttribute, getHelpDocumentAttribute, getHelpFileNameAttribute, getHelpPageTextAttribute, getSpecialHelpPageNamesList
-
Methods inherited from class adalid.jee2.meta.proyecto.base.ProyectoJava1
addBeanAttribute, addBeanAttribute, addJobSchedule, analyze, defaultSMSProviderIs, defaultSMSProviderIsNot, getAddOnsProjectName, getDefaultAddOnsProjectName, getDefaultEjbProjectName, getDefaultLibDirProjectName, getDefaultLibProjectName, getDefaultOperatingSystemShellKeepTempFiles, getDefaultProjectStage, getDefaultResourcesProjectName, getDefaultRoleBasedAccessControllerName, getDefaultSecurityRealmName, getDefaultSecurityRealmType, getDefaultShortMessageServiceProvider, getDefaultSMSProvider, getDefaultWebApiAuthMethod, getDefaultWebAuthMethod, getEarProjectName, getEjbProjectName, getEntityNameBundleGetter, getEntityNameBundleGetter, getJobScheduleList, getLibDirProjectName, getLibProjectName, getOperatingSystemShellKeepTempFiles, getProjectStage, getResourcesProjectName, getRoleBasedAccessControllerName, getRootPackageName, getSecurityRealmName, getSecurityRealmType, getWebApiAuthMethod, getWebApiAuthMethod, getWebApiProjectName, getWebAuthMethod, getWebAuthMethod, getWebProjectName, isAuthenticatedUserAutomaticRegistrationEnabled, isAuthenticatedUserAutomaticSynchronizationEnabled, isExporterShellEnabled, isFlushAfterEachDelete, isFlushAfterEachInsert, isFlushAfterEachUpdate, isInternetAccessAllowed, isProjectMailDebuggingEnabled, isProjectMailingEnabled, isProjectRecaptchaEnabled, isProjectRecaptchaSiteVerificationDisabled, isProjectRecaptchaSiteVerificationEnabled, isProjectTextDebuggingEnabled, isProjectTextingEnabled, isReporterShellEnabled, isSqlAgentShellEnabled, isWebServicesDisabled, isWebServicesEnabled, setAddOnsProjectName, setAuthenticatedUserAutomaticRegistrationEnabled, setAuthenticatedUserAutomaticSynchronizationEnabled, setDefaultSMSProvider, setEarProjectName, setEjbProjectName, setExporterShellEnabled, setFlushAfterEachDelete, setFlushAfterEachInsert, setFlushAfterEachUpdate, setInternetAccessAllowed, setLibDirProjectName, setLibProjectName, setOperatingSystemShellKeepTempFiles, setProjectMailDebuggingEnabled, setProjectMailingEnabled, setProjectRecaptchaEnabled, setProjectRecaptchaSiteVerificationEnabled, setProjectStage, setProjectTextDebuggingEnabled, setProjectTextingEnabled, setReporterShellEnabled, setResourcesProjectName, setRoleBasedAccessControllerName, setRoleBasedAccessControllerName, setRootPackageName, setSecurityRealmName, setSecurityRealmType, setSqlAgentShellEnabled, setWebApiAuthMethod, setWebApiProjectName, setWebAuthMethod, setWebProjectName, setWebServicesEnabled
-
Methods inherited from class adalid.jee2.meta.proyecto.base.ProyectoBase
afterWriting, configureBuilder, enableDictionary, enableDictionary, enableProjectBuilderDictionary, getAdalidProjectVersion, getApplicationMessageEntity, getApplicationMessageEntityClass, getBaseFolderName, getDatabaseFormerSchemaName, getDatabaseLockingMechanism, getDatabaseName, getDefaultBaseFolderName, getDefaultCrudOperationKeys, getDefaultDatabaseFormerSchemaName, getDefaultDatabaseLockingMechanism, getDefaultDatabaseName, getDefaultMessageDigestAlgorithm, getDefaultRootFolderName, getDictionaryLevel, getDictionaryLoggingLevel, getEntityKeys, getEntityNumber, getEntityNumber, getEntityNumber, getEntityParameterNumber, getEsquemaEntidadesComunes, getLastVersionCode, getMessageDigestAlgorithm, getModuleNumber, getModuleNumber, getModuleNumber, getOperationKeys, getOperationNumber, getOperationNumber, getOperationNumber, getOperationParameterNumber, getPageDataTableColumnSuffix, getPageDataTableFilterID, getPageDataTableID, getPageDetailPanelDivSuffix, getPageDetailPanelGridID, getPageDetailWritingPanelID, getPageDialogHeaderElementID, getPageFieldSuffix, getPageKeys, getPageMainFormID, getPageMessagesID, getPageNorthFormID, getPageNumber, getPageTreeID, getPageWizardID, getPageWizardLastStepID, getParameterKeys, getParameterNumber, getParameterNumber, getParameterNumber, getParameterNumber, getProjectObjectModel, getRoleCodePrefix, getRootFolderName, getSegmentSetFactoryEntity, getSegmentSetFactoryEntityClass, getSpecialNativeQuerySegments, getTaskNotificationEntityClass, getUploadedFileEntity, getUploadedFileEntityClass, getUserDefinedOperationKeys, getUserEntity, getUserEntityClass, getVersionEntity, getVersionEntityClass, getVersionEnumeration, isDictionaryEnabled, isProjectBuilderDictionaryEnabled, isSqlBusinessAuditTrail, logAdalidProjectVersion, setApplicationMessageEntityClass, setBaseFolderName, setDatabaseFormerSchemaName, setDatabaseLockingMechanism, setDatabaseName, setDictionaryLevel, setDictionaryLoggingLevel, setMessageDigestAlgorithm, setRoleCodePrefix, setRootFolderName, setSegmentSetFactoryEntityClass, setSqlBusinessAuditTrail, setTaskNotificationEntityClass, setUploadedFileEntityClass, setUserEntityClass, setVersionEntityClass, unsetSpecialEntityClasses
-
Methods inherited from class adalid.core.Project
addArtifact, addEntity, addFileExclusionPattern, addFilePreservationPattern, addForeignEntityClasses, addForeignEntityClasses, addPrivateEntityClasses, addPrivateEntityClasses, addQueryTable, annotate, assemble, attachAddAttributesMethods, attachAddAttributesMethods, build, build, clearAddAttributesMethods, clearDirectives, clearForeignEntityClasses, clearPrivateEntityClasses, clearSupportedLocales, compareTo, configureGenerator, containsCrossReferencedExpression, fieldsToString, generate, getAcronym, getAddAttributesMethods, getAlertLevel, getAlertLoggingLevel, getAlias, getArtifacts, getBackslashedEnvironmentVariable, getBuildDate, getBuildTimestamp, getBusinessOperationConfirmationRequired, getCatalogTablesMap, getConsoleCousinOf, getConsoleSiblingOf, getCrossReferencedExpressionsSet, getDatabaseOperationConfirmationRequired, getDefaultCharacterKeyMaxLength, getDefaultDescriptionPropertyMaxLength, getDefaultEntityCodeGenBPL, getDefaultEntityCodeGenBWS, getDefaultEntityCodeGenFWS, getDefaultEntityCodeGenGUI, getDefaultEntityCodeGenSMC, getDefaultEntityCodeGenSQL, getDefaultFileReferenceMaxLength, getDefaultMaxDepth, getDefaultMaxRound, getDefaultNamePropertyMaxLength, getDefaultPropertyFieldSerializable, getDefaultPropertyFieldSerializableIUID, getDefaultStringFieldMaxLength, getDefaultStringIndexMaxLength, getDefaultUrlPropertyMaxLength, getDetailCousinOf, getDetailLevel, getDetailLoggingLevel, getDetailSiblingOf, getDisplaysList, getDisplaysMap, getEntitiesList, getEntitiesMap, getEntity, getEntity, getEntityReferences, getEnvironmentVariable, getEnvironmentVariables, getForeignEntityClasses, getHelpDocument, getHelpFileAutoName, getHelpFileAutoType, getHelpFileName, getHelpFileTypes, getHelpFileTypesCSV, getLocale, getLocallyDeclaredEntityClasses, getLocallyDeclaredEntityClassSimpleNames, getLocallyDeclaredEntityClassSimpleNamesArray, getMaster, getMaximumStringFieldMaxLength, getMaximumStringIndexMaxLength, getMissingValueGraphicImageName, getModule, getModuleRoleTypes, getModuleRoleTypesNumbers, getModuleRoleTypesNumbersString, getModulesList, getModulesMap, getNullValueGraphicImageName, getPrivateEntityClasses, getProcessingConsoleAlternativeTo, getProcessingConsoleDisplayOf, getProcessingGroups, getProject, getProjectReferences, getProjectsList, getProjectsMap, getReadingDetailAlternativeTo, getReadingDetailDisplayOf, getReadingDetailDisplayOf, getReadingTableAlternativeTo, getReadingTableDisplayOf, getReadingTableDisplayOf, getReadingTreeAlternativeTo, getReadingTreeDisplayOf, getSchemasSet, getSecondaryLocales, getSlashedEnvironmentVariable, getSpecialExpressionLevel, getSpecialExpressionLoggingLevel, getSupportedLocales, getTableCousinOf, getTableSiblingOf, getTablesMap, getTrackingLevel, getTrackingLoggingLevel, getTransitionLevel, getTransitionLoggingLevel, getTreeCousinOf, getTreeSiblingOf, getTypifiedEntity, getUnnecessaryValueGraphicImageName, getUnusualExpressionLevel, getUnusualExpressionLoggingLevel, getUserFlows, getValidFieldAnnotations, getValidTypeAnnotations, getWritingDetailAlternativeTo, getWritingDetailDisplayOf, getWritingDetailDisplayOf, getWritingTableAlternativeTo, getWritingTableDisplayOf, getWritingTableDisplayOf, getWritingTreeAlternativeTo, getWritingTreeDisplayOf, increaseErrorCount, increaseParserErrorCount, increaseParserWarningCount, increaseWarningCount, increaseWriterErrorCount, increaseWriterErrors, increaseWriterWarningCount, increaseWriterWarnings, isAcerose, isAnnotatedWithMaster, isAnnotatedWithModule, isAnnotatedWithModuleDocGen, isDatabaseDefaultValuesMustBeSingleEntityExpression, isFoliose, isForeignModule, isMenuModule, isMetaHelpEnabled, isMissingValueGraphicImageNameFontAwesomeClass, isModuleClassDiagramGenEnabled, isNullValueGraphicImageNameFontAwesomeClass, isPrivateModule, isRoleModule, isSpinose, isUnnecessaryValueGraphicImageNameFontAwesomeClass, isVerbose, isWarnose, loadEnvironmentVariables, loadEnvironmentVariables, loadPrivateProperties, loadPrivateProperties, loadPrivateProperties, loadPrivateProperties, logParserMessage, mapsToString, parse, printSummary, putEnvironmentVariable, referencesEntity, referencesEntity, referencesModule, referencesModule, referencesProject, referencesProject, setAcerose, setAlertLevel, setAlertLoggingLevel, setBootstrappingFileName, setBusinessOperationConfirmationRequired, setDatabaseDefaultValuesMustBeSingleEntityExpression, setDatabaseOperationConfirmationRequired, setDateFormat, setDecimalSeparator, setDefaultCharacterKeyMaxLength, setDefaultDescriptionPropertyMaxLength, setDefaultEntityCodeGenBPL, setDefaultEntityCodeGenBWS, setDefaultEntityCodeGenFWS, setDefaultEntityCodeGenGUI, setDefaultEntityCodeGenSMC, setDefaultEntityCodeGenSQL, setDefaultFileReferenceMaxLength, setDefaultMaxDepth, setDefaultMaxRound, setDefaultNamePropertyMaxLength, setDefaultPropertyFieldSerializable, setDefaultPropertyFieldSerializableIUID, setDefaultStringFieldMaxLength, setDefaultStringIndexMaxLength, setDefaultUrlPropertyMaxLength, setDetailLevel, setDetailLoggingLevel, setFoliose, setForeignEntityClasses, setForeignEntityClasses, setHelpDocument, setHelpFileAutoName, setHelpFileAutoType, setHelpFileName, setLocale, setMaximumStringFieldMaxLength, setMaximumStringIndexMaxLength, setMissingValueGraphicImageName, setNullValueGraphicImageName, setPrivateEntityClasses, setPrivateEntityClasses, setSpecialExpressionLevel, setSpecialExpressionLoggingLevel, setSpinose, setSupportedLocales, setThousandSeparator, setTimeFormat, setTimestampFormat, settleAttributes, setTrackingLevel, setTrackingLoggingLevel, setTransitionLevel, setTransitionLoggingLevel, setUnnecessaryValueGraphicImageName, setUnusualExpressionLevel, setUnusualExpressionLoggingLevel, setVerbose, setWarnose, toString
-
Methods inherited from class adalid.core.AbstractArtifact
a, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, b, b, bigDecimal, bigInteger, checkName, classToString, clearAttributes, coalesce, copyLocalizedStrings, defaultLocale, depth, fa, finalise, finish, getAttribute, getAttribute, getAttributes, getAttributesArray, getAttributesArray, getAttributesKeySetByRegex, getBooleanAttribute, getBooleanAttribute, getClassPath, getDeclaringArtifact, getDeclaringEntity, getDeclaringEntityRoot, getDeclaringField, getDeclaringFieldEntityRoot, getDeclaringFieldIndex, getDeclaringFieldNamedClassSimpleName, getDeclaringFieldPersistentEntityRoot, getDeclaringFieldPersistentEntityTableRoot, getDeclaringOperation, getDeclaringPersistentEntity, getDeclaringPersistentEntityRoot, getDefaultCollectionLabel, getDefaultCollectionShortLabel, getDefaultDescription, getDefaultLabel, getDefaultLocale, getDefaultShortDescription, getDefaultShortLabel, getDefaultSymbol, getDefaultTooltip, getDefaultWrapperClass, getFullName, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getLocalizedCollectionLabel, getLocalizedCollectionShortLabel, getLocalizedDescription, getLocalizedLabel, getLocalizedShortDescription, getLocalizedShortLabel, getLocalizedSymbol, getLocalizedTooltip, getName, getPartialName, getPathList, getPathString, getSqlName, getStringAttribute, getStringAttribute, getStringAttribute, getStringAttribute, getTrace, getValueString, getValueString, getWrapper, h1, h2, h3, h4, h5, h6, hashCodeHexString, i, i, ic, ic, isAnnotated, isClassInPath, isDeclared, isExpression, isFinalised, isFinished, isFontAwesomeClass, isInherited, isInheritedFromAbstract, isInheritedFromConcrete, isLocalizedSymbolDefined, isNotDeclared, isNotInherited, isNotInheritedFromAbstract, isNotInheritedFromConcrete, isOperation, isValidEmbeddedDocument, isValidFieldAnnotation, isValidHelpFileName, isValidHelpFileType, isValidJavaClassName, isValidSnippetFileName, isValidTypeAnnotation, localeReadingKey, localeWritingKey, m, m, put, round, s, s, setAlias, setDefaultCollectionLabel, setDefaultCollectionShortLabel, setDefaultDescription, setDefaultLabel, setDefaultShortDescription, setDefaultShortLabel, setDefaultSymbol, setDefaultTooltip, setLocalizedCollectionLabel, setLocalizedCollectionShortLabel, setLocalizedDescription, setLocalizedLabel, setLocalizedShortDescription, setLocalizedShortLabel, setLocalizedSymbol, setLocalizedTooltip, setSqlName, setStaticAttributes, settler, setTrace, specified, specified, specified, specified, specified, specified, toString, toString, toString, toString, u, u, ul, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyNames
-
-
-
-
Field Detail
-
POM_PROPERTIES
protected static final String POM_PROPERTIES
- See Also:
- Constant Field Values
-
DEFAULT_TLD
protected static final String DEFAULT_TLD
- See Also:
- Constant Field Values
-
DEFAULT_SLD
protected static final String DEFAULT_SLD
- See Also:
- Constant Field Values
-
DEFAULT_VERSION
protected static final String DEFAULT_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMetaProjectObjectModel
public ProjectObjectModelReader getMetaProjectObjectModel()
-
addProjectDependency
public boolean addProjectDependency(ProjectDependency dependency)
El método addProjectDependency agrega una dependencia a la lista de dependencias de todos los módulos y librerias del proyecto. Solo se agregan dependencias válidas, es decir, dependencias cuyos identificadores de grupo, artefacto y versión sean válidos.- Parameters:
dependency- la dependencia a agregar.- Returns:
- true, si agrega la dependencia; en caso contrario, false.
-
addProjectDependency
public boolean addProjectDependency(ProjectDependency dependency, ProjectModuleType moduleType)
El método addProjectDependency agrega una dependencia a la lista de dependencias del módulo (o librería) del proyecto identificado por el parámetro moduleType. Solo se agregan dependencias válidas, es decir, dependencias cuyos identificadores de grupo, artefacto y versión sean válidos.- Parameters:
dependency- la dependencia a agregar.moduleType- el módulo (o librería) al que se debe agregar la dependencia.- Returns:
- true, si agrega la dependencia; en caso contrario, false.
-
removeProjectDependency
public boolean removeProjectDependency(ProjectDependency dependency)
El método removeProjectDependency elimina una dependencia de la lista de dependencias de todos los módulos y librerias del proyecto.- Parameters:
dependency- la dependencia a eliminar.- Returns:
- true, si elimina la dependencia; en caso contrario, false.
-
removeProjectDependency
public boolean removeProjectDependency(ProjectDependency dependency, ProjectModuleType moduleType)
El método removeProjectDependency elimina una dependencia de la lista de dependencias del módulo (o librería) del proyecto identificado por el parámetro moduleType.- Parameters:
dependency- la dependencia a eliminar.moduleType- el módulo (o librería) del que se debe eliminar la dependencia.- Returns:
- true, si elimina la dependencia; en caso contrario, false.
-
clearProjectDependencies
protected void clearProjectDependencies()
-
clearProjectDependencies
protected void clearProjectDependencies(ProjectModuleType moduleType)
-
getProjectDependencies
public List<ProjectDependency> getProjectDependencies(String moduleType)
-
getProjectDependencies
public List<ProjectDependency> getProjectDependencies(ProjectModuleType moduleType)
-
readyToWrite
protected boolean readyToWrite(String platform)
- Overrides:
readyToWritein classProject
-
getPomProperties
public Properties getPomProperties()
- Returns:
- the POM properties
-
getGroupId
public String getGroupId()
- Returns:
- the group id
-
setGroupId
public void setGroupId(String groupId)
- Parameters:
groupId- the group id to set
-
getArtifactId
public String getArtifactId()
- Returns:
- the artifact id
-
getVersion
public String getVersion()
- Returns:
- the version
-
setVersion
public void setVersion(String version)
- Parameters:
version- the version to set
-
getVersionNumber
public String getVersionNumber()
-
getDefaultGroupId
protected String getDefaultGroupId()
-
getDefaultVersion
protected String getDefaultVersion()
-
getDefaultEarProjectName
protected String getDefaultEarProjectName()
- Overrides:
getDefaultEarProjectNamein classProyectoJava1
-
getDefaultWebProjectName
protected String getDefaultWebProjectName()
- Overrides:
getDefaultWebProjectNamein classProyectoJava1
-
getDefaultWebApiProjectName
protected String getDefaultWebApiProjectName()
- Overrides:
getDefaultWebApiProjectNamein classProyectoJava1
-
getDefaultRootPackageName
protected String getDefaultRootPackageName()
- Overrides:
getDefaultRootPackageNamein classProyectoJava1
-
-