rluvaton / nexus-migration-util

Utility for migrating repositories between nexus instances
https://www.npmjs.com/package/nexus-migration-util
MIT License
15 stars 0 forks source link

migration raise error when upload artifacts #14

Open sherwinwangs opened 3 years ago

sherwinwangs commented 3 years ago

migrate from nexus OSS 3.12.1-01 to nexus OSS 3.30.1-01 ,when upload artifact raise error:

failed with {
  status: 'Bad Request',
  message: [
    {
      id: 'groupId',
      message: "Missing required component field 'Group ID'"
    },
    {
      id: 'artifactId',
      message: "Missing required component field 'Artifact ID'"
    },
    {
      id: 'version',
      message: "Missing required component field 'Version'"
    },
    {
      id: 'extension',
      message: "Missing required asset field 'Extension' on '1'"
    }
  ]
}
sherwinwangs commented 3 years ago

it's likely missing download some necessary meta information.

rluvaton commented 3 years ago

@sherwinwangs Thank you for opening this issue, for some reason I haven't got any notification about this comment.

Which repository type are you trying to download?

sherwinwangs commented 3 years ago

@sherwinwangs Thank you for opening this issue, for some reason I haven't got any notification about this comment.

Which repository type are you trying to download?

@rluvaton thanks for your reply, my test repository type is maven2

sherwinwangs commented 3 years ago

@sherwinwangs Thank you for opening this issue, for some reason I haven't got any notification about this comment. Which repository type are you trying to download?

@rluvaton thanks for your reply, my test repository type is maven2 you can refer this official documents it's likely missing some require field when upload maven artifacts. https://help.sonatype.com/repomanager3/rest-and-integration-api/components-api

rluvaton commented 3 years ago

Unfortunately, right now only apt and npm repository are supported

sherwinwangs commented 3 years ago

Unfortunately, right now only apt and npm repository are supported

is there a plan to support maven repository?