Skip to content

Tag: blob

Azure Blob Storage Java SDK 12 extract file name from blob name

let’s say I have blob structure like this: dir0 ├── dir1 │ ├── file11 │ └── file12 ├── dir2 └── dir3 After listing the dir1 that contains two files file11, file12 with listBlobsByHierarchy(“dir0/dir1/”) method I’m getting two blobs with blobName property set to dir0/dir1/file11 and dir0/dir1/file12, so <virtual_path>/<file_name>. That’s OK, but in some point I need to get the <file_name>

Unknown lifecycle phase “.mainClass=com.blobs.quickstart.App”

I ran through this demo (using PowerShell). Everything was fine until I ran the line: mvn exec:java -Dexec.mainClass=”com.blobs.quickstart.App” -Dexec.cleanupDaemonThreads=false then I got the below exception: This is the link from where I followed the steps Answer As ManojReddy-MSFT suggested: In most cases, this error occurs because of the missing plugin Can you verify if you have this plugin?