Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6653

DefaultProjectBuildingRequest copy constructor does not copy all fields

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.6.1
    • 3.6.2
    • Core
    • None

    Description

          public DefaultProjectBuildingRequest( ProjectBuildingRequest request )
          {
              this();
              setProcessPlugins( request.isProcessPlugins() );
              setProfiles( request.getProfiles() );
              setActiveProfileIds( request.getActiveProfileIds() );
              setInactiveProfileIds( request.getInactiveProfileIds() );
              setSystemProperties( request.getSystemProperties() );
              setUserProperties( request.getUserProperties() );
              setRemoteRepositories( request.getRemoteRepositories() );
              setPluginArtifactRepositories( request.getPluginArtifactRepositories() );
              setRepositorySession( request.getRepositorySession() );
              setLocalRepository( request.getLocalRepository() );
              setBuildStartTime( request.getBuildStartTime() );
              setProject( request.getProject() );
              setResolveDependencies( request.isResolveDependencies() );
              setValidationLevel( request.getValidationLevel() );
          }
      

      This is missing setRepositoryMerging( request.getRepositoryMerging() ); and setResolveVersionRanges( request.isResolveVersionRanges() );.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            michael-o Michael Osipov
            famod Falko Modler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment