https://github.com/concon121/grunt-maven-plugin
Simple maven plugin for running grunt tasks as part of the maven build process
https://github.com/concon121/grunt-maven-plugin
Last synced: 4 months ago
JSON representation
Simple maven plugin for running grunt tasks as part of the maven build process
- Host: GitHub
- URL: https://github.com/concon121/grunt-maven-plugin
- Owner: concon121
- Created: 2016-04-23T17:47:58.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-24T14:44:22.000Z (about 10 years ago)
- Last Synced: 2024-12-31T10:33:21.707Z (over 1 year ago)
- Language: Java
- Size: 468 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# grunt-maven-plugin
Simple maven plugin for running grunt tasks as part of the maven build process
## Configuration
### workingDirectory
The working directory is the directory which contains your package.json and your Gruntfile.js/ Gruntfile.coffee.
### pythonInstallation
As the current implementation relies on Python to create native system processes, the application needs to know where to find Python! The value of this configuration item should be the absolute path of the Python application on your computer.
### prereqs
Grunt uses and depends on many different packages and libraries. The prerequisites are applications which you expect to be installed on your system. The prerequisites are designed to be a list of key value pairs, where the key is the application you expect to be installed and the value is a simple command for the application which when executed you expect to return a 0 exit code.
Consider the following example:
--version
This configuration would execute the shell command:
ruby --version
### gruntFileExtension
Grunt supports both JavaScript and CoffeeScript, this configuration item just tell's the plugin which one you are using.
Accepted values are:
JS
COFFEE
If no extension is defined, the plugin will assume you are using JavaScript.
### Full Example
net.cbr.software
grunt-maven-plugin
0.0.1-SNAPSHOT
grunt
${basedir}/src/main/webapp/assets
C:/path/to/my/python/installation/Programs/Python/Python35-32/python
--version
--version
--version
JS