micha149 / gulp-maven-deploy

Gulp wrapper for the maven-deploy plugin
MIT License
12 stars 11 forks source link

Add option to preserve artifact in the build folder #12

Closed mlarcher closed 8 years ago

mlarcher commented 8 years ago

It would be nice to be able to keep the generated artifact in the build folder, for archiving by the CI. Any chance this could be done ?

micha149 commented 8 years ago

For a better gulp feeling, I planned to remove the packaging entirely from this plugin and concentrate on the job „deploy“. In this case you could pipe a packaged file to the deploy plugin and after that to gulp.dest(). Here is a quick example:

gulp.src('src/*')
    .pipe(zip('myArtifact.war'))
    .pipe(deploy(mavenDeployOptions))
    .pipe(gulp.dest('dist/'));

Would this work for you?

mlarcher commented 8 years ago

sounds good to me

micha149 commented 8 years ago

Great to hear. So, I am on it…

micha149 commented 8 years ago

Yesterday I released version 1.0.0-beta.5 wich brings the announced behavior. Can you check if this works as expected by you? If it does, I would like to release version 1.0.0 in a week, if no bugs occur.