That can be fixed by using the maven-buildhelper-plugin, which can attach any 
file to maven's list-of-deployable-files.

http://mojo.codehaus.org/build-helper-maven-plugin/index.html

---- John Coleman <[EMAIL PROTECTED]> schrieb:
> Ah, this does not work, since the zip will not deploy to the m2 repo in the 
> deploy phase.
>  
> 
> > -----Original Message-----
> > From: John Coleman [mailto:[EMAIL PROTECTED] 
> > Sent: 29 January 2008 11:16
> > To: Maven Users List
> > Subject: RE: Make META-INF optional
> > 
> > Specifying pom packaging seems like an abuse, but if it 
> > works, then great!
> > 
> > Thanks,
> > John
> >  
> > 
> > > -----Original Message-----
> > > From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED]
> > > Sent: 29 January 2008 11:05
> > > To: Maven Users List
> > > Subject: Re: Make META-INF optional
> > > 
> > > Hi John,
> > > 
> > > no, the assembly plugin can also generate just one single zip file.
> > > I use packaging _pom_ and this plugin def:
> > >        <plugin>
> > >         <artifactId>maven-assembly-plugin</artifactId>
> > >         <executions>
> > >           <execution>
> > >             <phase>package</phase>
> > >             <goals>
> > >               <goal>single</goal>
> > >             </goals>
> > >           </execution>
> > >         </executions>
> > >         <configuration>
> > >           <descriptors>
> > >             <descriptor>src/main/assembly/upload.xml</descriptor>
> > >           </descriptors>
> > >         </configuration>
> > >       </plugin>
> > > 
> > > On the other hand, there is an older maven zip plugin.
> > > 
> > > Stefan
> > > 
> > > John Coleman wrote:
> > > > Thanks, I was hoping to avoid assembly plugin because it
> > > seems to be added to a jar project. A direct zip plugin would make 
> > > more sense, but that's not a maven standard.
> > > >
> > > > John
> > > >  
> > > >
> > > >   
> > > >> -----Original Message-----
> > > >> From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED]
> > > >> Sent: 29 January 2008 09:44
> > > >> To: Maven Users List
> > > >> Subject: Re: Make META-INF optional
> > > >>
> > > >> Would it help to create a ZIP file with the maven assembly
> > > plugin[1]?
> > > >>
> > > >> regards,
> > > >>
> > > >> Stefan
> > > >> P.S.: I just saw, the assembly plugin can also create JARs
> > > - so it's
> > > >> probably just what you need.
> > > >>
> > > >> [1] http://maven.apache.org/plugins/maven-assembly-plugin/
> > > >>
> > > >> John Coleman wrote:
> > > >>     
> > > >>> Hi,
> > > >>>
> > > >>> Is it possible to make a jar with no META-INF entry - I
> > > >>>       
> > > >> just want to
> > > >>     
> > > >>> create a jar to unpack with some files I need.
> > > >>>
> > > >>> TIA,
> > > >>> John
> > > >>>
> > > >>> Eurobase International Limited and its subsidiaries
> > > >>>       
> > > >> (Eurobase) are unable to exercise control over the content of 
> > > >> information in E-Mails. Any views and opinions expressed may be 
> > > >> personal to the sender and are not necessarily those of Eurobase.
> > > >> Eurobase will not enter into any contractual obligations
> > > in respect
> > > >> of any part of its business in any E-mail.
> > > >>     
> > > >>> Privileged / confidential information may be contained in
> > > >>>       
> > > >> this message and /or any attachments. This E-mail is
> > > intended for the
> > > >> use of the addressee(s) only and may contain confidential 
> > > >> information. If you are not the / an intended recipient, you are 
> > > >> hereby notified that any use or dissemination of this
> > > communication
> > > >> is strictly prohibited.
> > > >> If you receive this transmission in error, please notify us 
> > > >> immediately, and then delete this E-mail.
> > > >>     
> > > >>> Neither the sender nor Eurobase accepts any liability
> > > >>>       
> > > >> whatsoever for any defects of any kind either in or
> > > arising from this
> > > >> E-mail transmission. E-Mail transmission cannot be
> > > guaranteed to be
> > > >> secure or error-free, as messages can be intercepted, lost, 
> > > >> corrupted, destroyed, contain viruses, or arrive late or
> > > incomplete. 
> > > >> Eurobase does not accept any responsibility for viruses 
> > and it is 
> > > >> your responsibility to scan any attachments.
> > > >>     
> > > >>> Eurobase Systems Limited is the main trading company in the
> > > >>>       
> > > >> Eurobase International Group; registered in England and Wales as 
> > > >> company number 02251162; registered address: Essex House,
> > > >> 2 County Place, Chelmsford, Essex CM2 0RE, UK.
> > > >>     
> > > >>>
> > > >>>       
> > > >> 
> > > 
> > ---------------------------------------------------------------------
> > > >>     
> > > >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > >>> For additional commands, e-mail: [EMAIL PROTECTED]
> > > >>>
> > > >>>   
> > > >>>       
> > > >> --
> > > >> best regards, Stefan Seidel software developer 
> > > >> ________________________ VUB Printmedia GmbH Chopinstraße 4
> > > >> D-04103 Leipzig Germany tel. +49
> > > >> (341) 9 60 50 07 fax. +49 (341) 9 60 50 92 mail. 
> > > [EMAIL PROTECTED] web. 
> > > >> www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. 
> > Achim Preuss 
> > > >> Neudorf, Dr. Christian Preuss Neudorf
> > > >>
> > > >> 
> > > 
> > ---------------------------------------------------------------------
> > > >> 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]
> > > >
> > > >   
> > > 
> > > --
> > > best regards, Stefan Seidel software developer 
> > > ________________________ VUB Printmedia GmbH Chopinstraße 4
> > > D-04103 Leipzig Germany tel. +49
> > > (341) 9 60 50 07 fax. +49 (341) 9 60 50 92 mail. 
> > [EMAIL PROTECTED] web. 
> > > www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss 
> > > Neudorf, Dr. Christian Preuss Neudorf
> > > 
> > > 
> > ---------------------------------------------------------------------
> > > 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]
> > 
> > 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to