On Jan 4, 2008 12:53 PM, Jeff MAURY <[EMAIL PROTECTED]> wrote: > Use the zip packaging in your POM
hm, according to http://jira.codehaus.org/browse/MNG-1683 there should be 'zip' packaging. But: $ cat pom.xml <?xml version="1.0" encoding="iso-8859-1"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>a.b.c</groupId> <artifactId>d</artifactId> <packaging>zip</packaging> <version>1.0-SNAPSHOT</version> </project> [EMAIL PROTECTED] ~/xip $ mvn -U package [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Unnamed - a.b.c:d:zip:1.0-SNAPSHOT [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot find lifecycle mapping for packaging: 'zip'. Component descriptor cannot be found in the component repository: org.apache.maven.lifecycle.mapping.LifecycleMappingzip. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Fri Jan 04 13:09:56 CET 2008 [INFO] Final Memory: 1M/4M [INFO] ------------------------------------------------------------------------ shows that such packaging is not supported. Anyone knows what should I do to make it working? Thanks, Tomek > > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]