Hi, Take a look at the maven assembly plugin [1]
[1] http://maven.apache.org/plugins/maven-assembly-plugin/ On Jan 4, 2008 12:04 PM, Matthew Tordoff <[EMAIL PROTECTED]> wrote: > But how do I create the initial project structure? > > mvn archetype:create -DgroupId=XXXX -DartifactId=XXXX > -DarchetypeArtifactId=????? > > I am essentially looking for what to put in place of the ????? > > Do I just create a standard JAR project and then change the packaging type to > zip? > > Or do I not use the archetype:create method and create a POM from scratch? > > Matt > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff MAURY > Sent: 04 January 2008 11:54 > To: Maven Users List > Subject: Re: Existance of ZIP Archetype? | How to distribute DB code to > different mvn modules? > > Use the zip packaging in your POM > > Jeff > > > On Jan 4, 2008 12:18 PM, Matthew Tordoff <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > Does anyone know if there is an existance of a ZIP archetype or > > similar for maven. I am looking to build a project organised in the > > following > > way: > > > > Super Module => contains => WAR => contains => JAR => contains => SQLJ > > code which depends on PL/SQL > > => contains => PL/SQL > > > > The PL/SQL code also has to be delivered as part of the Super Module > > so it can be run on the various environments upon which it will be > > deployed. The way I thought of solving this was to create a zip maven > > module which was a child module of the Super Module, and was depended > > upon by the JAR module which would subsequently unpack that dependency > > locally to allow the building of the SQLJ (which is precompiled > > against the database, and requires the appropriate PL/SQL to have been > > run on the DB, creating views, types and packages). > > > > Am I going about this in the correct way? Any ideas to help me with my > > approach would be greatly appreciated. > > > > Cheers, > > > > Matt > > > > > > > > The content of this e-mail is confidential and may be privileged. It > > may be read, copied and used only by the intended recipient and may > > not be disclosed, copied or distributed. If you received this email in > > error, please contact the sender immediately by return e-mail or by > > telephoning +44 20 7260 2000, delete it and do not disclose its > > contents to any person. You should take full responsibility for > > checking this email for viruses. Markit reserves the right to monitor all > > e-mail communications through its network. > > Markit and its affiliated companies make no warranty as to the > > accuracy or completeness of any information contained in this message > > and hereby exclude any liability of any kind for the information > > contained herein. Any opinions expressed in this message are those of > > the author and do not necessarily reflect the opinions of Markit. > > For full details about Markit, its offerings and legal terms and > > conditions, please see Markit's website at http://www.markit.com < > > http://www.markit.com/> . > > > > > > -- > La mélancolie c'est communiste > Tout le monde y a droit de temps en temps La mélancolie n'est pas capitaliste > C'est même gratuit pour les perdants La mélancolie c'est pacifiste On ne lui > rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même > avec des gants La mélancolie c'est pour les syndicalistes Il faut juste sa > carte de permanent > > Miossec (2006) > > http://www.jeffmaury.com > http://riadiscuss.jeffmaury.com > > > > The content of this e-mail is confidential and may be privileged. It may be > read, copied and used only by the intended recipient and may not be > disclosed, copied or distributed. If you received this email in error, please > contact the sender immediately by return e-mail or by telephoning +44 20 7260 > 2000, delete it and do not disclose its contents to any person. You should > take full responsibility for checking this email for viruses. Markit reserves > the right to monitor all e-mail communications through its network. > Markit and its affiliated companies make no warranty as to the accuracy or > completeness of any information contained in this message and hereby exclude > any liability of any kind for the information contained herein. Any opinions > expressed in this message are those of the author and do not necessarily > reflect the opinions of Markit. > For full details about Markit, its offerings and legal terms and conditions, > please see Markit's website at http://www.markit.com <http://www.markit.com/> > . > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
