Closed carrot-garden closed 12 years ago
Excellent idea! How/where does Maven supply information like this to a wagon? Configured via the xml related to a server in settings.xml perhaps?
thank you for considering this;
here is what I found:
1) basic user guide: http://maven.apache.org/guides/mini/guide-http-settings.html#Support_for_General-Wagon_Configuration_Standards
2) use case example: http://brettporter.wordpress.com/2009/06/16/configuring-maven-http-connections/
3) how to inject settings.xml properties into wagon: https://github.com/apache/maven-wagon/blob/trunk/wagon-providers/wagon-http-lightweight/src/main/java/org/apache/maven/wagon/providers/http/LightweightHttpWagon.java
/**
* @plexus.configuration
*/
private Properties httpHeaders;
Version 1.1.9 supports configurable ACL's. S3 objects are created with PublicRead
by default, but that can now be overridden through configuration.
Add <acl></acl>
to the configuration for a server in settings.xml to change the default:
For example:
<server>
<id>s3.snapshot</id>
<configuration>
<acl>AuthenticatedRead</acl>
</configuration>
</server>
The value for the <acl>
parameter must be one of the enum values for
com.amazonaws.services.s3.model.CannedAccessControlList
In the version of the AWS SDK used by the wagon (1.2.15) the allowed values for that enum are:
Private
PublicRead
PublicReadWrite
AuthenticatedRead
LogDeliveryWrite
BucketOwnerRead
BucketOwnerFullControl
hi;
do you think it is feasible to add support for full range of permissions? currently you have only "public"
see
thanks.