I am a newbie on Maven 2 and trying to pack a set of javascript (like Dojo library) into a jar lib using maven(no java class but only files with .js extension). So I guess I should try maven-assembly-plugin
, here are a few concerns:
- There is no
mainClass
but how can I still have a MANIEST.MF? - Can I use
jar-with-dependencies
as<descriptorRefs>
if I don't plan to change the file hierarchy in the jar? - May be this is a silly question but where shall I put the
pom.xml
(within the javascript lib folder or the same level of the javascript lib folder)?
Please enlighten me, thanks in advance.