You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: java.lang.IllegalArgumentException: More than 1 matching staging profile found in account ***. Available profiles are: com.squareup, com.squareup.misk
...
Caused by: java.lang.IllegalArgumentException: More than 1 matching staging profile found in account ***. Available profiles are: com.squareup, com.squareup.misk
at com.vanniktech.maven.publish.nexus.Nexus.findStagingProfile(Nexus.kt:70)
at com.vanniktech.maven.publish.nexus.Nexus.createRepositoryForGroup(Nexus.kt:95)
at com.vanniktech.maven.publish.sonatype.SonatypeRepositoryBuildService.createStagingRepository(SonatypeRepositoryBuildService.kt:125)
at com.vanniktech.maven.publish.sonatype.CreateSonatypeRepositoryTask$CreateStagingRepository.execute(CreateSonatypeRepositoryTask.kt:46)
at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)
I think it would be useful if this plugin would attempt to find the longest prefix when searching for staging profiles, in order to resolve ambiguities like the above. We tried to set a group of com.squareup.misk.root, and this led to the ambiguity between com.squareup and com.squareup.misk.
The text was updated successfully, but these errors were encountered:
The only reason why I didn't add this before was because I wasn't sure if anyone actually will have an issue like this. I will adjust the logic for the next release
I have the following build error:
I think it would be useful if this plugin would attempt to find the longest prefix when searching for staging profiles, in order to resolve ambiguities like the above. We tried to set a group of
com.squareup.misk.root
, and this led to the ambiguity betweencom.squareup
andcom.squareup.misk
.The text was updated successfully, but these errors were encountered: