cyclopsgroup / cym2 Goto Github PK
View Code? Open in Web Editor NEWCyclopsGroup Maven plugins and extensions
License: Apache License 2.0
CyclopsGroup Maven plugins and extensions
License: Apache License 2.0
Hi tried this plugin, but all the file are uploaded as "private" and not "public".
Is there a way to specify I want all the files and directories public? (I am uploading a site for documentation purpose)
Jiaqi:
I am curious if your plugin does update new files only?
in other words, if source & target file has same time stamp,
will your wagon run upload anyway?
thanks
Andrei.
When running site:deploy
in a multi module project, the files get prepended with at .//
when uploading.
Which is causing the files not to be exposed via the S3 bucket.
Project structure
My project structure is like this.
pom.xml
modules/module1/pom.xml
modules/module2/pom.xml
Steps to reproduce.
mvn site:site site:deploy
with the s3 wagonLog output from the wagon
When running mvn site:deploy
from the parent pom
Putting child element /<checkout>/<projectname>/target/site/apidocs/deprecated-list.html to .//apidocs/deprecated-list.html
Mime type of .//apidocs/deprecated-list.html is text/html according to build-in types
Uploading file /<checkout>/<projectname>/target/site/apidocs/deprecated-list.html to key <projectname>/.//apidocs/deprecated-list.html in S3 bucket <bucketname>
Uploading: .//apidocs/deprecated-list.html to s3://<bucketname>/<projectname>/
When running mvn site:deploy
directly from one of the modules, this works fine.
Putting child element /<checkout>/<projectname>/modules/model/target/site/apidocs/deprecated-list.html to modules/model/apidocs/deprecated-list.html
Mime type of modules/model/apidocs/deprecated-list.html is text/html according to build-in types
Uploading file /<checkout>/<projectname>/modules/model/target/site/apidocs/deprecated-list.html to key <projectname>/modules/model/apidocs/deprecated-list.html in S3 bucket <bucketname>
Uploading: modules/model/apidocs/deprecated-list.html to s3://<bucketname>/<projectname>/
Notice the .//
in the path on the multi module site:deploy
Error messages
I get theese error messages when trying to access the files.
This get transfered to s3, so the URL contains /.// in the keys, which is causing this error when clicking on the link in the S3 console.
<Error><Code>SignatureDoesNotMatch</Code>
...
</Error>
In the S3 website i get this error on all resources in the /./ folder.
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>22883093DA04FFC9</RequestId>
<HostId>
X3LJmBjka/2RBwtcEFZg1i26LZxFJn7a7v8aoG3CL+FmhiKODNuOjYMINA35lmYm
</HostId>
</Error>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.