Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

jsSourceDirectory does not point to project root but /war/src/main/webapp #89

Open
ashishsantikari opened this issue Sep 29, 2015 · 1 comment

Comments

@ashishsantikari
Copy link

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

@adamdubiel
Copy link
Collaborator

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).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants