Skip to content

JMayrbaeurl/azure-maven-wagon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Maven Wagon Provider for Windows Azure Blob storage

Provides a Maven Wagon implementation (see Maven website) for Windows Azure Blob storage. You can use Blob storage containers to store the artifacts of a remote/distribution repository of Maven.

Configuration

  1. Add an extension tag to your pom.xml file to enable the usage of Windows Azure Blob storage Wagon provider implementation

     <extensions>
     	<extension>
     		<groupId>com.microsoft.windowsazure</groupId>
     		<artifactId>maven-wagon-azure-blob</artifactId>
     		<version>1.0.0</version>
     	</extension>
     </extensions>
    
  2. Add a plugin repository entry in your pom.xml file to be able to download the extension

    ExtensionsRepo http://jmamavenrepos.blob.core.windows.net/releases true false
  3. Set up distribution management in your pom.xml file

    AzureTest AzureTest azureblob://DefaultEndpointsProtocol=https;AccountName=mavenwagontests/tests

Note: 'url' tag starts with 'azureblob' which is the wagon protocol for Windows Azure Blob storage. After 'azureblob://' a valid Windows Azure Storage connection string gets specified, followed by '/' and the name of the blob container to be used.

  1. Add Windows Azure Storage credentials to Maven's settings.xml file

     <server>
     	<id>AzureTest</id>
     	<privateKey>[YourWindowsAzureStorageAccountKey]</privateKey>
     </server>	
    

The 'privateKey' tag contains the Windows Azure Storage account key

About

Maven Wagon Provider for Windows Azure Blob storage

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages