-
Notifications
You must be signed in to change notification settings - Fork 8
mavenDist copies build dir, not compile dir #4
Comments
It copies all deliverables from |
OK, but then how would I move them out of bin/ and into static? I don't want my URL to be http://mydomain.com/static/bin :) |
Sure thing :) Just try it out, i'm not 100% sure, but i think it will be copied just as you want it to be, i.e. having |
Okay, fortunately deliverables accepts simple Grunt patterns, and so probably can be configured to drop the bin/ prefix: http://gruntjs.com/configuring-tasks#files . |
Sorry I don't understand, I read through that whole thing and don't see anything about dropping prefixes. Do you have an example? |
Okay, so i looked it up and unfortunately grunt-maven-plugin does not handle it the way i thought i remember. But there is a solution, just change |
Closing under assumption my previous comment helped, if you have problems just reopen it :) |
I'm new to Grunt, but I was expecting mavenDist to copy my final minified files (aka the contents of target-grunt/bin), not my intermediate files (aka the contents of target-grunt/build).
Relevant lines from Gruntfile.js:
And from pom.xml:
The text was updated successfully, but these errors were encountered: