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,Artifact,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.AbstractArtifact
ENGLISH, NBSP, PORTUGUESE, SPANISH
-
-
Constructor Summary
Constructors Constructor Description ProyectoMaven()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanaddProjectDependency(ProjectDependency dependency)El método addProjectDependency agrega una dependencia a la lista de dependencias adicionales de todos los módulos del proyecto.protected booleanaddProjectDependency(ProjectDependency dependency, ProjectModuleType moduleType)El método addProjectDependency agrega una dependencia a la lista de dependencias adicionales del módulo del proyecto del tipo especificado 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)voidsetGroupId(String groupId)voidsetVersion(String version)-
Methods inherited from class adalid.jee2.meta.proyecto.base.ProyectoJava2
addAttributes, addDirectives, addHolidaysListBeanAttribute, addHolidaysListBeanAttribute, getHelpDocumentAttribute, getHelpFileNameAttribute
-
Methods inherited from class adalid.jee2.meta.proyecto.base.ProyectoJava1
addBeanAttribute, addBeanAttribute, analyze, getDefaultEjbProjectName, getDefaultLibProjectName, getDefaultProjectStage, getDefaultResourcesProjectName, getDefaultRoleBasedAccessControllerName, getDefaultSecurityRealmName, getDefaultSecurityRealmType, getDefaultWebApiAuthMethod, getDefaultWebAuthMethod, getEarProjectName, getEjbProjectName, getEntityNameBundleGetter, getEntityNameBundleGetter, getJobScheduleList, getLibProjectName, getProjectStage, getResourcesProjectName, getRoleBasedAccessControllerName, getRootPackageName, getSecurityRealmName, getSecurityRealmType, getWebApiAuthMethod, getWebApiAuthMethod, getWebApiProjectName, getWebAuthMethod, getWebAuthMethod, getWebProjectName, isAuthenticatedUserAutomaticRegistrationEnabled, isAuthenticatedUserAutomaticSynchronizationEnabled, isExporterShellEnabled, isFlushAfterEachDelete, isFlushAfterEachInsert, isFlushAfterEachUpdate, isInternetAccessAllowed, isProjectMailingEnabled, isProjectRecaptchaEnabled, isProjectRecaptchaSiteVerificationEnabled, isReporterShellEnabled, isSqlAgentShellEnabled, isWebServicesDisabled, isWebServicesEnabled, setAuthenticatedUserAutomaticRegistrationEnabled, setAuthenticatedUserAutomaticSynchronizationEnabled, setEarProjectName, setEjbProjectName, setExporterShellEnabled, setFlushAfterEachDelete, setFlushAfterEachInsert, setFlushAfterEachUpdate, setInternetAccessAllowed, setLibProjectName, setProjectMailingEnabled, setProjectRecaptchaEnabled, setProjectRecaptchaSiteVerificationEnabled, setProjectStage, setReporterShellEnabled, setResourcesProjectName, setRoleBasedAccessControllerName, setRoleBasedAccessControllerName, setRootPackageName, setSecurityRealmName, setSecurityRealmType, setSqlAgentShellEnabled, setWebApiAuthMethod, setWebApiProjectName, setWebAuthMethod, setWebProjectName, setWebServicesEnabled
-
Methods inherited from class adalid.jee2.meta.proyecto.base.ProyectoBase
afterWriting, enableDictionary, enableDictionary, getAdalidProjectVersion, getBaseFolderName, getDatabaseFormerSchemaName, getDatabaseLockingMechanism, getDatabaseName, getDefaultBaseFolderName, getDefaultCrudOperationKeys, getDefaultDatabaseFormerSchemaName, getDefaultDatabaseLockingMechanism, getDefaultDatabaseName, getDefaultMessageDigestAlgorithm, getDefaultRootFolderName, getDictionaryLevel, getDictionaryLoggingLevel, getEntityKeys, getEntityNumber, getEntityNumber, getEntityNumber, getEntityParameterNumber, getEsquemaEntidadesComunes, getMessageDigestAlgorithm, getOperationKeys, getOperationNumber, getOperationNumber, getOperationNumber, getOperationParameterNumber, getPageDataTableColumnSuffix, getPageDataTableFilterID, getPageDataTableID, getPageDetailPanelDivSuffix, getPageDetailPanelGridID, getPageDialogHeaderElementID, getPageFieldSuffix, getPageKeys, getPageMainFormID, getPageMessagesID, getPageNorthFormID, getPageNumber, getPageTreeID, getPageWizardID, getParameterKeys, getParameterNumber, getParameterNumber, getParameterNumber, getParameterNumber, getProjectObjectModel, getRoleCodePrefix, getRootFolderName, getUserDefinedOperationKeys, isDictionaryEnabled, isSqlBusinessAuditTrail, logAdalidProjectVersion, setBaseFolderName, setDatabaseFormerSchemaName, setDatabaseLockingMechanism, setDatabaseName, setDictionaryLevel, setDictionaryLoggingLevel, setMessageDigestAlgorithm, setRoleCodePrefix, setRootFolderName, setSqlBusinessAuditTrail
-
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, configureBuilder, configureGenerator, containsCrossReferencedExpression, fieldsToString, generate, getAddAttributesMethods, getAlertLevel, getAlertLoggingLevel, getAlias, getArtifacts, getBuildDate, getBuildTimestamp, getBusinessOperationConfirmationRequired, getCatalogTablesMap, getConsoleCousinOf, getConsoleSiblingOf, getCrossReferencedExpressionsSet, getDatabaseOperationConfirmationRequired, getDefaultEntityCodeGenBPL, getDefaultEntityCodeGenBWS, getDefaultEntityCodeGenFWS, getDefaultEntityCodeGenGUI, getDefaultEntityCodeGenSMC, getDefaultEntityCodeGenSQL, getDefaultMaxDepth, getDefaultMaxRound, getDefaultPropertyFieldSerializable, getDefaultPropertyFieldSerializableIUID, 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, 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, getSpecialExpressionLevel, getSpecialExpressionLoggingLevel, getSupportedLocales, getTableCousinOf, getTableSiblingOf, getTablesMap, getTrackingLevel, getTrackingLoggingLevel, getTransitionLevel, getTransitionLoggingLevel, getTreeCousinOf, getTreeSiblingOf, getUnnecessaryValueGraphicImageName, getUnusualExpressionLevel, getUnusualExpressionLoggingLevel, getUploadedFileEntity, getUploadedFileEntityClass, getUserEntity, getUserEntityClass, 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, setDefaultEntityCodeGenBPL, setDefaultEntityCodeGenBWS, setDefaultEntityCodeGenFWS, setDefaultEntityCodeGenGUI, setDefaultEntityCodeGenSMC, setDefaultEntityCodeGenSQL, setDefaultMaxDepth, setDefaultMaxRound, setDefaultPropertyFieldSerializable, setDefaultPropertyFieldSerializableIUID, setDetailLevel, setDetailLoggingLevel, setFoliose, setForeignEntityClasses, setForeignEntityClasses, setHelpDocument, setHelpFileAutoName, setHelpFileAutoType, setHelpFileName, setLocale, setMissingValueGraphicImageName, setNullValueGraphicImageName, setPrivateEntityClasses, setPrivateEntityClasses, setSpecialExpressionLevel, setSpecialExpressionLoggingLevel, setSpinose, setSupportedLocales, setThousandSeparator, setTimeFormat, setTimestampFormat, settleAttributes, setTrackingLevel, setTrackingLoggingLevel, setTransitionLevel, setTransitionLoggingLevel, setUnnecessaryValueGraphicImageName, setUnusualExpressionLevel, setUnusualExpressionLoggingLevel, setUploadedFileEntityClass, setUserEntityClass, setVerbose, setWarnose, toString
-
Methods inherited from class adalid.core.AbstractArtifact
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, checkName, classToString, clearAttributes, coalesce, copyLocalizedStrings, defaultLocale, depth, fa, finalise, 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, hashCodeHexString, isAnnotated, isClassInPath, isDeclared, isExpression, isFinalised, isFontAwesomeClass, isInherited, isInheritedFromAbstract, isInheritedFromConcrete, isLocalizedSymbolDefined, isNotDeclared, isNotInherited, isNotInheritedFromAbstract, isNotInheritedFromConcrete, isOperation, isValidEmbeddedDocument, isValidFieldAnnotation, isValidHelpFileName, isValidHelpFileType, isValidJavaClassName, isValidSnippetFileName, isValidTypeAnnotation, localeReadingKey, localeWritingKey, put, repeat, round, 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, 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
protected boolean addProjectDependency(ProjectDependency dependency)
El método addProjectDependency agrega una dependencia a la lista de dependencias adicionales de todos los módulos del proyecto.- Parameters:
dependency- la dependencia a agregar.- Returns:
- true, si la dependencia es válida; en caso contrario no agrega la dependencia y retorna false.
-
addProjectDependency
protected boolean addProjectDependency(ProjectDependency dependency, ProjectModuleType moduleType)
El método addProjectDependency agrega una dependencia a la lista de dependencias adicionales del módulo del proyecto del tipo especificado por el parámetro moduleType.- Parameters:
dependency- la dependencia a agregar.moduleType- el tipo del módulo al que se debe agregar la dependencia.- Returns:
- true, si la dependencia es válida; en caso contrario no agrega la dependencia y retorna 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
-
-