grunt-maven-plugin
grunt-maven-plugin copied to clipboard
jsSourceDirectory does not point to project root but /war/src/main/webapp
Hi,
I have different packaging to be done in my project. It consists of jar , war and finally an ear. I have a pom.xml inside war directory where I am using the plugin to create the war file.
When I am using the jsSourceDirectory to point to the webapp in my project , it is looking under the war folder.
Here is the maven output
[ERROR] Failed to execute goal pl.allegro:grunt-maven-plugin:1.5.0:npm-offline (default) on project test-war: Execution default of goal pl.allegro:grunt-maven-plugin:1.5.0:npm-offline failed: java.io.FileNotFoundException: E:\test1\app-ui\myproj\war\src\main\webapp\E:\test1\app-ui\myproj\war..\src\main\webapp\public\node_modules.tar (The filename, directory name, or volume label syntax is incorrect) -> [Help 1]
Here is my project folder structure.
app-ui src --> main --> webapp //webapp directory ear -> pom.xml jar -> pom.xml war -> pom.xml // plugin pointing top war/src/main/webapp pom.xml
How to point the jsSourceDirectory to $(project.root)/src/main/webaap and not $(project.root)/war/src/main/webaap.
Help would be appreciated.! :)
Thanks and Regards Ashish
All paths are relative to project root dir, which is where pom.xml
is - there is no way to attach to parent project relative directories at the moment (and this is what you would need here).