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
Thanks for creating an issue! Please fill out this form so we can be
sure to have all the information we need, and to minimize back and forth.
What are you trying to do?
Try to compile plugin 0.0.4 with Nexus3 3.47.1 print following error
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 40 source files to /nexus-repository-cargo/target/classes
[INFO] /nexus-repository-cargo/src/main/java/org/sonatype/nexus/plugins/cargo/ui/UiPluginDescriptorImpl.java: Some input files use or override a deprecated API.
[INFO] /nexus-repository-cargo/src/main/java/org/sonatype/nexus/plugins/cargo/ui/UiPluginDescriptorImpl.java: Recompile with -Xlint:deprecation for details.
[INFO] Some messages have been simplified; recompile with -Xdiags:verbose to get full output
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /nexus-repository-cargo/src/main/java/org/sonatype/nexus/plugins/cargo/git/assets/AssetKindObjectAttributes.java:[91,33] no suitable method found for createBlob(java.lang.String,com.google.common.base.Supplier<java.io.InputStream>,java.util.List<org.sonatype.nexus.common.hash.HashAlgorithm>,<nulltype>,java.lang.String,boolean)
method org.sonatype.nexus.repository.storage.StorageTx.createBlob(java.lang.String,org.sonatype.nexus.common.io.InputStreamSupplier,java.lang.Iterable<org.sonatype.nexus.common.hash.HashAlgorithm>,java.util.Map<java.lang.String,java.lang.String>,java.lang.String,boolean) is not applicable
(argument mismatch; no instance(s) of type variable(s) T exist so that com.google.common.base.Supplier<T> conforms to org.sonatype.nexus.common.io.InputStreamSupplier)
method org.sonatype.nexus.repository.storage.StorageTx.createBlob(java.lang.String,java.nio.file.Path,java.util.Map<org.sonatype.nexus.common.hash.HashAlgorithm,com.google.common.hash.HashCode>,java.util.Map<java.lang.String,java.lang.String>,java.lang.String,long) is not applicable
(argument mismatch; no instance(s) of type variable(s) T exist so that com.google.common.base.Supplier<T> conforms to java.nio.file.Path)
[ERROR] /nexus-repository-cargo/src/main/java/org/sonatype/nexus/plugins/cargo/registry/assets/AssetKindMetadataAttributes.java:[81,11] no suitable method found for setBlob(org.sonatype.nexus.repository.storage.Asset,java.lang.String,com.google.common.base.Supplier<java.io.InputStream>,java.util.List<org.sonatype.nexus.common.hash.HashAlgorithm>,<nulltype>,java.lang.String,boolean)
method org.sonatype.nexus.repository.storage.StorageTx.setBlob(org.sonatype.nexus.repository.storage.Asset,java.lang.String,org.sonatype.nexus.common.io.InputStreamSupplier,java.lang.Iterable<org.sonatype.nexus.common.hash.HashAlgorithm>,java.util.Map<java.lang.String,java.lang.String>,java.lang.String,boolean) is not applicable
(argument mismatch; no instance(s) of type variable(s) T exist so that com.google.common.base.Supplier<T> conforms to org.sonatype.nexus.common.io.InputStreamSupplier)
method org.sonatype.nexus.repository.storage.StorageTx.setBlob(org.sonatype.nexus.repository.storage.Asset,java.lang.String,java.nio.file.Path,java.util.Map<org.sonatype.nexus.common.hash.HashAlgorithm,com.google.common.hash.HashCode>,java.util.Map<java.lang.String,java.lang.String>,java.lang.String,long) is not applicable
(argument mismatch; no instance(s) of type variable(s) T exist so that com.google.common.base.Supplier<T> conforms to java.nio.file.Path)
[ERROR] /nexus-repository-cargo/src/main/java/org/sonatype/nexus/plugins/cargo/registry/assets/AssetKindTarballAttributes.java:[86,11] no suitable method found for setBlob(org.sonatype.nexus.repository.storage.Asset,java.lang.String,com.google.common.base.Supplier<java.io.InputStream>,java.util.List<org.sonatype.nexus.common.hash.HashAlgorithm>,<nulltype>,java.lang.String,boolean)
method org.sonatype.nexus.repository.storage.StorageTx.setBlob(org.sonatype.nexus.repository.storage.Asset,java.lang.String,org.sonatype.nexus.common.io.InputStreamSupplier,java.lang.Iterable<org.sonatype.nexus.common.hash.HashAlgorithm>,java.util.Map<java.lang.String,java.lang.String>,java.lang.String,boolean) is not applicable
(argument mismatch; no instance(s) of type variable(s) T exist so that com.google.common.base.Supplier<T> conforms to org.sonatype.nexus.common.io.InputStreamSupplier)
method org.sonatype.nexus.repository.storage.StorageTx.setBlob(org.sonatype.nexus.repository.storage.Asset,java.lang.String,java.nio.file.Path,java.util.Map<org.sonatype.nexus.common.hash.HashAlgorithm,com.google.common.hash.HashCode>,java.util.Map<java.lang.String,java.lang.String>,java.lang.String,long) is not applicable
(argument mismatch; no instance(s) of type variable(s) T exist so that com.google.common.base.Supplier<T> conforms to java.nio.file.Path)
[INFO] 3 errors
What feature or behavior is this required for?
How could we solve this issue? (Not knowing is okay!)
Anything else?
The text was updated successfully, but these errors were encountered:
Thanks for creating an issue! Please fill out this form so we can be
sure to have all the information we need, and to minimize back and forth.
Try to compile plugin 0.0.4 with Nexus3 3.47.1 print following error
What feature or behavior is this required for?
How could we solve this issue? (Not knowing is okay!)
Anything else?
The text was updated successfully, but these errors were encountered: