Compile error in 2.33.3-SNAPSHOT

mvn clean -DskipTests=true install

[INFO] Scanning for projects…
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.hisp.dhis:dhis-service-audit-consumer:jar:2.33.3-SNAPSHOT
[WARNING] ‘dependencies.dependency.(groupId:artifactId:type:classifier)’ must be unique: org.hisp.dhis:dhis-support-artemis:jar -> duplicate declaration of version (?) @ line 32, column 17
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[WARNING] The project org.hisp.dhis:dhis:pom:2.33.3-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] DHIS 2 [pom]
[INFO] DHIS API [jar]
[INFO] DHIS Support Parent Project [pom]
[INFO] DHIS Support Commons [jar]
[INFO] DHIS External Support [jar]
[INFO] DHIS Database Migration Support [jar]
[INFO] DHIS Hibernate Support [jar]
[INFO] DHIS Test Support [jar]
[INFO] DHIS System Support [jar]
[INFO] DHIS Services Parent Project [pom]
[INFO] DHIS Schema service [jar]
[INFO] DHIS Settings service [jar]
[INFO] DHIS Logging Support [jar]
[INFO] DHIS ACL service [jar]
[INFO] DHIS Node service [jar]
[INFO] DHIS Artemis AMQP/JMS Support [jar]
[INFO] DHIS Audit consumer service [jar]
[INFO] DHIS JDBC Service [jar]
[INFO] DHIS Expression Parser Support [jar]
[INFO] DHIS Core API Implementations [jar]
[INFO] DHIS Validation Service [jar]
[INFO] DHIS Program Rule Service [jar]
[INFO] DHIS Mobile Service [jar]
[INFO] DHIS Administration Service [jar]
[INFO] DHIS DXF 2 Data Exchange [jar]
[INFO] DHIS Analytics [jar]
[INFO] DHIS Reporting Service [jar]
[INFO] DHIS Tracker services [jar]
[INFO]
[INFO] -------------------------< org.hisp.dhis:dhis >-------------------------
[INFO] Building DHIS 2 2.33.3-SNAPSHOT [1/28]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ dhis —
[INFO]
[INFO] — maven-install-plugin:2.4:install (default-install) @ dhis —
[INFO] Installing /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/pom.xml to /Users/gaurav/.m2/repository/org/hisp/dhis/dhis/2.33.3-SNAPSHOT/dhis-2.33.3-SNAPSHOT.pom
[INFO]
[INFO] -----------------------< org.hisp.dhis:dhis-api >-----------------------
[INFO] Building DHIS API 2.33.3-SNAPSHOT [2/28]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ dhis-api —
[INFO]
[INFO] — maven-resources-plugin:2.5:resources (default-resources) @ dhis-api —
[debug] execute contextualize
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/resources
[INFO]
[INFO] — maven-compiler-plugin:2.3.2:compile (default-compile) @ dhis-api —
[INFO] Compiling 1086 source files to /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceAudit 2.java:[46,7] error: class TrackedEntityInstanceAudit is public, should be declared in a file named TrackedEntityInstanceAudit.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/scheduling/parameters/jackson/PredictorJobParametersDeserializer 2.java:[34,7] error: class PredictorJobParametersDeserializer is public, should be declared in a file named PredictorJobParametersDeserializer.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/PastPeriodPredicate 2.java:[36,7] error: class PastPeriodPredicate is public, should be declared in a file named PastPeriodPredicate.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramTempOwnershipAuditStore 2.java:[37,7] error: interface ProgramTempOwnershipAuditStore is public, should be declared in a file named ProgramTempOwnershipAuditStore.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataanalysis/FollowupParams 2.java:[33,7] error: class FollowupParams is public, should be declared in a file named FollowupParams.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/category/CategoryComboMap 2.java:[48,7] error: class CategoryComboMap is public, should be declared in a file named CategoryComboMap.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/cache/Cache 3.java:[35,7] error: interface Cache is public, should be declared in a file named Cache.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/programstagefilter/EventQueryCriteria 2.java:[47,7] error: class EventQueryCriteria is public, should be declared in a file named EventQueryCriteria.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/AssignedUserSelectionMode 2.java:[43,7] error: enum AssignedUserSelectionMode is public, should be declared in a file named AssignedUserSelectionMode.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/comparator/OrganisationUnitDisplayNameComparator 2.java:[35,7] error: class OrganisationUnitDisplayNameComparator is public, should be declared in a file named OrganisationUnitDisplayNameComparator.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/patch/PatchParams 2.java:[36,7] error: class PatchParams is public, should be declared in a file named PatchParams.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackerOwnershipManager 2.java:[39,7] error: interface TrackerOwnershipManager is public, should be declared in a file named TrackerOwnershipManager.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/eventdatavalue/EventDataValue 3.java:[43,7] error: class EventDataValue is public, should be declared in a file named EventDataValue.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/AccessLevel 3.java:[35,7] error: enum AccessLevel is public, should be declared in a file named AccessLevel.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/sms/outbound/BulkSmsRequestEntity 2.java:[40,7] error: class BulkSmsRequestEntity is public, should be declared in a file named BulkSmsRequestEntity.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/engine/DataValueUpdatedEvent 2.java:[37,7] error: class DataValueUpdatedEvent is public, should be declared in a file named DataValueUpdatedEvent.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/minmax/MinMaxValueParams 3.java:[37,7] error: class MinMaxValueParams is public, should be declared in a file named MinMaxValueParams.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/scheduling/parameters/jackson/SmsJobParametersDeserializer 3.java:[34,7] error: class SmsJobParametersDeserializer is public, should be declared in a file named SmsJobParametersDeserializer.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/category/comparator/CategoryComboSizeComparator 3.java:[41,7] error: class CategoryComboSizeComparator is public, should be declared in a file named CategoryComboSizeComparator.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/feedback/TypedIndexedObjectContainer 2.java:[42,7] error: class TypedIndexedObjectContainer is public, should be declared in a file named TypedIndexedObjectContainer.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/programstagefilter/ProgramStageInstanceFilterService 2.java:[37,7] error: interface ProgramStageInstanceFilterService is public, should be declared in a file named ProgramStageInstanceFilterService.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Series 2.java:[43,7] error: class Series is public, should be declared in a file named Series.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramInstanceAudit 3.java:[47,7] error: class ProgramInstanceAudit is public, should be declared in a file named ProgramInstanceAudit.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramTempOwnershipAuditQueryParams 2.java:[39,7] error: class ProgramTempOwnershipAuditQueryParams is public, should be declared in a file named ProgramTempOwnershipAuditQueryParams.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/AccessLevel 2.java:[35,7] error: enum AccessLevel is public, should be declared in a file named AccessLevel.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/sms/outbound/BulkSmsRequestEntity 3.java:[40,7] error: class BulkSmsRequestEntity is public, should be declared in a file named BulkSmsRequestEntity.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataanalysis/FollowupParams.java:[33,7] error: duplicate class: org.hisp.dhis.dataanalysis.FollowupParams
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/PastPeriodPredicate 3.java:[36,7] error: class PastPeriodPredicate is public, should be declared in a file named PastPeriodPredicate.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramTempOwnershipAudit 2.java:[47,7] error: class ProgramTempOwnershipAudit is public, should be declared in a file named ProgramTempOwnershipAudit.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/category/CategoryOptionGroupStore 2.java:[37,7] error: interface CategoryOptionGroupStore is public, should be declared in a file named CategoryOptionGroupStore.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/engine/StageScheduledEvaluationEvent 2.java:[37,7] error: class StageScheduledEvaluationEvent is public, should be declared in a file named StageScheduledEvaluationEvent.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/predictor/PredictorGroup 3.java:[48,7] error: class PredictorGroup is public, should be declared in a file named PredictorGroup.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceAudit 3.java:[45,7] error: class TrackedEntityInstanceAudit is public, should be declared in a file named TrackedEntityInstanceAudit.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/notification/ProgramNotificationInstance 2.java:[46,7] error: class ProgramNotificationInstance is public, should be declared in a file named ProgramNotificationInstance.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/cache/Cache 2.java:[35,7] error: interface Cache is public, should be declared in a file named Cache.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/category/CategoryComboMap 3.java:[48,7] error: class CategoryComboMap is public, should be declared in a file named CategoryComboMap.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/SixMonthlyNovemberPeriodType 2.java:[39,7] error: class SixMonthlyNovemberPeriodType is public, should be declared in a file named SixMonthlyNovemberPeriodType.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/category/CategoryOptionCombo 2.java:[57,7] error: class CategoryOptionCombo is public, should be declared in a file named CategoryOptionCombo.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/scheduling/parameters/jackson/MonitoringJobParametersDeserializer 2.java:[34,7] error: class MonitoringJobParametersDeserializer is public, should be declared in a file named MonitoringJobParametersDeserializer.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/interpretation/Mention 2.java:[44,7] error: class Mention is public, should be declared in a file named Mention.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/feedback/IndexedObjectContainer 3.java:[43,7] error: class IndexedObjectContainer is public, should be declared in a file named IndexedObjectContainer.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/engine/DataValueUpdatedEvent.java:[36,7] error: duplicate class: org.hisp.dhis.programrule.engine.DataValueUpdatedEvent
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/configuration/SettingType 3.java:[34,7] error: enum SettingType is public, should be declared in a file named SettingType.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/notification/ProgramNotificationInstance.java:[46,7] error: duplicate class: org.hisp.dhis.program.notification.ProgramNotificationInstance
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/Coordinate/CoordinateObject 4.java:[38,7] error: interface CoordinateObject is public, should be declared in a file named CoordinateObject.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramTempOwnershipAuditService 2.java:[37,7] error: interface ProgramTempOwnershipAuditService is public, should be declared in a file named ProgramTempOwnershipAuditService.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/sqlview/SqlViewQuery 2.java:[41,7] error: class SqlViewQuery is public, should be declared in a file named SqlViewQuery.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentitycomment/TrackedEntityCommentStore 3.java:[35,7] error: interface TrackedEntityCommentStore is public, should be declared in a file named TrackedEntityCommentStore.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/category/CategoryOptionGroupSetDimension 2.java:[49,7] error: class CategoryOptionGroupSetDimension is public, should be declared in a file named CategoryOptionGroupSetDimension.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityProgramOwnerStore 2.java:[37,7] error: interface TrackedEntityProgramOwnerStore is public, should be declared in a file named TrackedEntityProgramOwnerStore.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/programstagefilter/EventQueryCriteria.java:[48,7] error: duplicate class: org.hisp.dhis.programstagefilter.EventQueryCriteria
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/programstagefilter/DatePeriodType 2.java:[37,7] error: enum DatePeriodType is public, should be declared in a file named DatePeriodType.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/icon/Icon 2.java:[39,7] error: enum Icon is public, should be declared in a file named Icon.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/category/CategoryOptionGroup 2.java:[52,7] error: class CategoryOptionGroup is public, should be declared in a file named CategoryOptionGroup.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentitycomment/TrackedEntityCommentStore 2.java:[35,7] error: interface TrackedEntityCommentStore is public, should be declared in a file named TrackedEntityCommentStore.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceAuditService 2.java:[37,7] error: interface TrackedEntityInstanceAuditService is public, should be declared in a file named TrackedEntityInstanceAuditService.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/scheduling/parameters/jackson/PredictorJobParametersDeserializer.java:[34,7] error: duplicate class: org.hisp.dhis.scheduling.parameters.jackson.PredictorJobParametersDeserializer
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataanalysis/DataAnalysisParams 3.java:[35,7] error: class DataAnalysisParams is public, should be declared in a file named DataAnalysisParams.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramTempOwnershipAuditQueryParams.java:[39,7] error: duplicate class: org.hisp.dhis.program.ProgramTempOwnershipAuditQueryParams
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/category/comparator/CategoryComboSizeComparator 2.java:[41,7] error: class CategoryComboSizeComparator is public, should be declared in a file named CategoryComboSizeComparator.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/relationship/RelationshipItem 2.java:[42,7] error: class RelationshipItem is public, should be declared in a file named RelationshipItem.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/eventdatavalue/EventDataValue 2.java:[43,7] error: class EventDataValue is public, should be declared in a file named EventDataValue.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/deduplication/PotentialDuplicateStore 2.java:[35,7] error: interface PotentialDuplicateStore is public, should be declared in a file named PotentialDuplicateStore.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/PastPeriodPredicate.java:[36,7] error: duplicate class: org.hisp.dhis.period.PastPeriodPredicate
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/deduplication/PotentialDuplicate 2.java:[38,7] error: class PotentialDuplicate is public, should be declared in a file named PotentialDuplicate.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramOwnershipHistoryService 2.java:[35,7] error: interface ProgramOwnershipHistoryService is public, should be declared in a file named ProgramOwnershipHistoryService.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/icon/Icon.java:[39,7] error: duplicate class: org.hisp.dhis.icon.Icon
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/CurrentUserStore 2.java:[34,7] error: interface CurrentUserStore is public, should be declared in a file named CurrentUserStore.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/Coordinate/CoordinateObject 2.java:[38,7] error: interface CoordinateObject is public, should be declared in a file named CoordinateObject.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/category/CategoryComboMap.java:[46,7] error: duplicate class: org.hisp.dhis.category.CategoryComboMap
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataanalysis/ValidationRuleExpressionDetails 2.java:[41,7] error: class ValidationRuleExpressionDetails is public, should be declared in a file named ValidationRuleExpressionDetails.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/scheduling/parameters/jackson/AnalyticsJobParametersDeserializer 2.java:[34,7] error: class AnalyticsJobParametersDeserializer is public, should be declared in a file named AnalyticsJobParametersDeserializer.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/scheduling/parameters/jackson/SmsJobParametersDeserializer 2.java:[34,7] error: class SmsJobParametersDeserializer is public, should be declared in a file named SmsJobParametersDeserializer.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/patch/Patch 2.java:[44,7] error: class Patch is public, should be declared in a file named Patch.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/icon/Icon 3.java:[39,7] error: enum Icon is public, should be declared in a file named Icon.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/relationship/RelationshipEntity 2.java:[31,7] error: enum RelationshipEntity is public, should be declared in a file named RelationshipEntity.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/fileresource/events/FileSavedEvent 2.java:[37,7] error: class FileSavedEvent is public, should be declared in a file named FileSavedEvent.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/fileresource/FileResourceKeyUtil 2.java:[37,7] error: class FileResourceKeyUtil is public, should be declared in a file named FileResourceKeyUtil.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/fileresource/events/BinaryFileSavedEvent 3.java:[35,7] error: class BinaryFileSavedEvent is public, should be declared in a file named BinaryFileSavedEvent.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/category/CategoryOptionGroupSet 2.java:[57,7] error: class CategoryOptionGroupSet is public, should be declared in a file named CategoryOptionGroupSet.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/category/CategoryOptionGroup.java:[50,7] error: duplicate class: org.hisp.dhis.category.CategoryOptionGroup
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/category/CategoryOptionGroupSetStore 2.java:[41,7] error: interface CategoryOptionGroupSetStore is public, should be declared in a file named CategoryOptionGroupSetStore.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/relationship/RelationshipItem.java:[42,7] error: duplicate class: org.hisp.dhis.relationship.RelationshipItem
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/engine/StageScheduledEvaluationEvent.java:[36,7] error: duplicate class: org.hisp.dhis.programrule.engine.StageScheduledEvaluationEvent
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/feedback/ObjectIndexProvider 2.java:[42,7] error: interface ObjectIndexProvider is public, should be declared in a file named ObjectIndexProvider.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/Coordinate/CoordinateObject.java:[38,7] error: duplicate class: org.hisp.dhis.common.Coordinate.CoordinateObject
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/sqlview/SqlViewQuery 3.java:[41,7] error: class SqlViewQuery is public, should be declared in a file named SqlViewQuery.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/translation/Translation 3.java:[45,7] error: class Translation is public, should be declared in a file named Translation.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/programstagefilter/ProgramStageInstanceFilter 2.java:[46,7] error: class ProgramStageInstanceFilter is public, should be declared in a file named ProgramStageInstanceFilter.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Series 3.java:[43,7] error: class Series is public, should be declared in a file named Series.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/deduplication/DeduplicationStatus 2.java:[31,7] error: enum DeduplicationStatus is public, should be declared in a file named DeduplicationStatus.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/scheduling/parameters/jackson/AbstractJobParametersDeserializer 3.java:[61,16] error: class AbstractJobParametersDeserializer is public, should be declared in a file named AbstractJobParametersDeserializer.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/event/ApplicationCacheClearedEvent 2.java:[36,7] error: class ApplicationCacheClearedEvent is public, should be declared in a file named ApplicationCacheClearedEvent.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/relationship/RelationshipConstraint 2.java:[45,7] error: class RelationshipConstraint is public, should be declared in a file named RelationshipConstraint.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/util/DateUtils 3.java:[68,7] error: class DateUtils is public, should be declared in a file named DateUtils.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataanalysis/ValidationRulesAnalysisParams 2.java:[33,7] error: class ValidationRulesAnalysisParams is public, should be declared in a file named ValidationRulesAnalysisParams.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/datasummary/DataSummary 3.java:[43,7] error: class DataSummary is public, should be declared in a file named DataSummary.java
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/util/DateUtils.java:[70,7] error: duplicate class: org.hisp.dhis.util.DateUtils
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceAuditService.java:[37,7] error: duplicate class: org.hisp.dhis.trackedentity.TrackedEntityInstanceAuditService
[ERROR] /Users/gaurav/Documents/Gaurav/Work/Source/blackbird/dhis2-core/dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataanalysis/ValidationRuleExpressionDetails.java:[41,7] error: duplicate class: org.hisp.dhis.dataanalysis.ValidationRuleExpressionDetails
[INFO] 100 errors

Java -version

java version “13.0.2” 2020-01-14

Java™ SE Runtime Environment (build 13.0.2+8)

Java HotSpot™ 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)

Hi there :slight_smile: so first of all JDK 13 is not officially supported, and probably won’t be for a while (JDK 11 is supported from 2.35 , although it should also work in 2.34).

The errors you are seeing are however not related to that, so that is something else… please make sure you have made no local modifications, and also that you are using the very latest 2.33 from today.

Let us know how it goes

Thanks,
Morten

1 Like

Did a clean pull and dialed down to JDK 8. Resolved.

1 Like