On 11.11.2011 21:13, Michaël Michaud wrote: > Hi, >> >> np, could you follow the changes? maven pom is not very intuitive but once i >> got hold of it, one understands where to tweak what. > Sorry for previous message, pressed on send before writing it ;-) > > I saw how you included batik in plus and how you excluded it from core, > but I've still a very approximative idea of how it works. > Here are some questions which may help me understand : > - in the batik:* syntax, is "batik" refering to the dependency<groupId> > tag ?
absolutely > - what is the directive including all other dependencies in the > distribution ? is it just<dependencySet> tag ? i guess an empty <dependencySet> in bin_core.xml wouldn't change a thing. my understanding is that they are by default included but one can finetune this by defining properties in this tag. check http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html >So is it really > necessary to include Batik in bin_zip_ext.xml yes because, have a look. we have two profiles in pom.xml . each has to define an assembly (a collection of files, a distribution). because i didn't want to copy/paste the core definition i created a reusable component which is included in both bin_zip-{core,ext}.xml . this is because both always include the core files. if you check bin_zip_ext.xml you'll see it is essentially bin_zip-core.xml plus some. so if i exclude it in core, it will not show up in plus unless i include it there again .. makes sense? > - what does fileMode 755 means probably irrelevant, dunno if zip files can keep the executable bit, but it means the 755 file mode is set during copying the files into the archive. > > Thanks for this accelerated maven lesson > you're more than welcome... regards ede PS: i am no expert in this, i just played around with it to make it what we needed. the docs on http://maven.apache.org and some google-fu are the weapons of choice for me in this little war. PPS: we should maybe ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Jump-pilot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
