Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging .zip includes artifact name as a folder #16

Open
rstudner opened this issue Apr 2, 2014 · 2 comments
Open

Packaging .zip includes artifact name as a folder #16

rstudner opened this issue Apr 2, 2014 · 2 comments

Comments

@rstudner
Copy link

rstudner commented Apr 2, 2014

if I have this:

dist/
    something.js
images/
    myImage.png

I can use cwd: 'dist' to get the 'dist' out of my archive.

sadly, say my deployment artifact is called myArtifact-0.1.0

the zip files structure is:

myArtifact-0.1.0/
    something.js
    images/ 
        myImage.png

so the damn artifact name becomes a folder INSIDE THE ZIP

how the hell can I turn that off?

@deejunit
Copy link

Use the injectDestFolder option :)

maven: {
      options: {
        injectDestFolder: ''
      },       

@briantopping
Copy link

This project is goddamn magic. w000t!!!!!!! thank you!

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

No branches or pull requests

3 participants