Open GoogleCodeExporter opened 9 years ago
I can't reproduce this. I have this in my test webapp:
% grep sourceFolder pom.xml
<sourceFolders>
<sourceFolder>${basedir}/src/main/webapp/assets/script</sourceFolder>
</sourceFolders>
What version of maven are you using?
Original comment by d...@happygiraffe.net
on 6 Dec 2011 at 8:34
I encountered this issue as well when configuring the maven plugin.
<sourceFolders>src/main/webapp/js/some/other/folder</sourceFolders>
Since the plugin expects a file array and not simply a file you need an extra
nesting of tags (as shown above) or something like this:
<sourceFolders>
<file>src/main/webapp/js/dojo-release/softrek</file>
</sourceFolders>
Maybe this is a documentation issue since the page
http://docs.jslint4java.googlecode.com/git/2.0.1/maven.html doesn't clearly
show that multiple items can go within <sourceFolders>
Original comment by jkel...@softrek.com
on 23 Jan 2012 at 5:35
The docs definitely need to show that.
Can I ask which version of maven you're using though?
Original comment by d...@happygiraffe.net
on 23 Jan 2012 at 9:42
[deleted comment]
I can reproduce as well, appears to be related to Maven version. Default
Ubuntu 12.04 maven version of 2.2.1 breaks, download of Maven 3.1.1 from
apache's site works fine.
Original comment by gregoryd...@gmail.com
on 19 Dec 2013 at 5:51
You need to use maven 3. It's not that new any more. :)
Original comment by d...@happygiraffe.net
on 20 Dec 2013 at 9:59
Original issue reported on code.google.com by
pablo.kr...@gmail.com
on 5 Dec 2011 at 7:52