From ef990bd50c8ad9f37c0387e5169c9e575c666b42 Mon Sep 17 00:00:00 2001 From: bedrin Date: Sat, 10 Oct 2020 22:00:48 +0300 Subject: [PATCH] Completely remove maven from Grunt --- Gruntfile.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 1349843..bdb7c3c 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -166,17 +166,10 @@ module.exports = function (grunt) { grunt.loadNpmTasks('grunt-notify'); grunt.loadNpmTasks("grunt-image-embed"); grunt.loadNpmTasks('grunt-contrib-clean'); - grunt.loadNpmTasks('grunt-maven-tasks'); grunt.loadNpmTasks('grunt-notify'); // Default task - grunt.registerTask('default', ['less', 'imageEmbed', 'includereplace:iframe', 'htmlmin', 'jshint', 'includereplace:dist', 'uglify', 'copy', 'maven:install']); - - if (pkg.version.indexOf('SNAPSHOT') !== -1) { - grunt.registerTask('travis', ['default', 'maven:deploy']); - } else { - grunt.registerTask('travis', ['default']); - } + grunt.registerTask('default', ['less', 'imageEmbed', 'includereplace:iframe', 'htmlmin', 'jshint', 'includereplace:dist', 'uglify', 'copy']); grunt.task.run('notify_hooks'); };