CloudStorageMaven icon indicating copy to clipboard operation
CloudStorageMaven copied to clipboard

Specify Bucket Region in build extension XML

Open brabster opened this issue 5 years ago • 1 comments

I'd like to specify the bucket region in my pom.xml so that all the config is together and easy to understand. I can't think of a reason why that would be a bad idea, something like this:

<extension>
  <extension>
    <groupId>com.gkatzioura.maven.cloud</groupId>
    <artifactId>s3-storage-wagon</artifactId>
    <version>1.6</version>
    <configuration>
      <s3-default-region>eu-west-1</s3-default-region>
    </configuration>
  </extension>
</repository>

I'm not sure whether it's possible to specify config like this in Maven extensions. We could also make it possible to specify a region per repo-id, but I suspect this would be sufficient for most usecases.

Good/bad idea?

brabster avatar Apr 18 '19 10:04 brabster

Sorry for my late reply. If something like configuration exists then it is indeed a valid idea worth implementing. Unfortunately it is not referenced in the documentation. In any case it is worth trying if it is possible.

gkatzioura avatar May 06 '19 16:05 gkatzioura