Skip to content
This repository was archived by the owner on Apr 30, 2019. It is now read-only.
This repository was archived by the owner on Apr 30, 2019. It is now read-only.

Using aws-maven in settings.xml #29

@rodlogic

Description

@rodlogic

I would configure my repositories in settings.xml instead of in my pom.xml. This works fine for the built in wagon since these are in the class path, but how to do the same for s3? E.g.:

   <server>
     <id>myrepo</id>
     <username>...</username>
     <privateKey>...</privateKey>
     <passphrase>...</passphrase>
      <configuration>
        <wagonProvider>s3</wagonProvider>
      </configuration>
   </server>

One solution is to copy aws-maven and all of its dependencies to the maven installation or the JDK installation, but considering that we have many maven installs and usually update versions quite often I would like to have Maven resolve aws-maven automatically from settings.xml (after all isn't this the whole point of Maven?). Is that possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions