Hi Wim, This is already fix in the SVN
http://docs.codehaus.org/display/MAVENUSER/FAQs for your reference Wim Deblauwe wrote:
Hi, I have a zip file that I would need to put in my repository. I used the 'mvn install:install-file' goal to do that. This works fine, but I expected that there would be a pom file installed along with my file with the correct data. Should I file a JIRA request for this or am I experiencing a bug? I then tried to add a pom manually like this: myzipfile-1.0.0.0.zip myzipfile-1.0.0.0.pom: <project> <modelVersion>4.0.0</modelVersion> <groupId>myzipfile</groupId> <artifactId>myzipfile</artifactId> <name>My Very Own Zipfile</name> <version>1.0.0.0</version> <packaging>zip</packaging> </project> When I then have a project with a dependency on this zip file, I add a dependency tag: <dependency> <groupId>myzipfile</groupId> <artifactId>myzipfile</artifactId> <version>1.0.0.0</version> </dependency> But Maven searches for a jar file, not a zip! I then tried to update my dependency to this: <dependency> <groupId>myzipfile</groupId> <artifactId>myzipfile</artifactId> <version>1.0.0.0</version> <packaging>zip</packaging> </dependency> But then I get: Unrecognised tag: 'packaging' Any help on this is highly appriciated! regards, Wim------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.5/177 - Release Date: 11/21/2005
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
