gulp-mvn-deploy

0.0.2 • Public • Published

gulp-maven-deploy

A Gulp wrapper for the maven-deploy module.

Build Status NPM

Installing

$ npm install gulp-maven-deploy --save-dev

Sample usage

Task for deploying to a Maven proxy:

gulp.task('deploy', function(){
	gulp.src('.')
	.pipe(maven.deploy({
		'config': {
			'groupId': 'com.mygroup',
			'type': 'war',
			'repositories': [
				{
					'id': 'some-repo-id',
					'url': 'http://some-repo/url'
				}
			]
		}
	}))
});

Task running a local Maven install:

gulp.task('deploy-local', function(){
	gulp.src('.')
	.pipe(maven.install({
		'config': {
			'groupId': 'com.mygroup',
			'type': 'war'
		}
	}))
});

Running tests

$ npm test

Dependencies (2)

Dev Dependencies (2)

Package Sidebar

Install

npm i gulp-mvn-deploy

Weekly Downloads

6

Version

0.0.2

License

none

Last publish

Collaborators

  • mythx