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

Using aws-maven in settings.xml #29

Open
rodlogic opened this issue Sep 25, 2014 · 2 comments
Open

Using aws-maven in settings.xml #29

rodlogic opened this issue Sep 25, 2014 · 2 comments

Comments

@rodlogic
Copy link

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?

@flozano
Copy link

flozano commented Oct 20, 2014

I have same issue

@ajeyaraj
Copy link

I am facing the same issue.

In my case, I have a parent pom with the distributionManagement and s3 wagon extension configured. Now, in a build server, I couldn't build the child project. As s3 wagon is configured in parent, it could not download the parent. If I can configure the wagon in settings.xml instead of parent, this problem will be solved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants