Re: [m2] install-file question
Installation of the file and the pom at the same time is already available in the SVN. You can use zip files as your dependency but using zip for project's packaging? I really dont think so, there is no such packaging as zip. regards, -allan Wim Deblauwe wrote: Is this fix just for installing the pom along the file? Should I declare the typezip/type in my dependencies on this zip file or should Maven read the pom of that file so I don't have to declare the type explicitly? regards, Wim 2005/11/24, Allan Ramirez [EMAIL PROTECTED]: 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 modelVersion4.0.0/modelVersion groupIdmyzipfile/groupId artifactIdmyzipfile/artifactId nameMy Very Own Zipfile/name version1.0.0.0/version packagingzip/packaging /project When I then have a project with a dependency on this zip file, I add a dependency tag: dependency groupIdmyzipfile/groupId artifactIdmyzipfile/artifactId version1.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 groupIdmyzipfile/groupId artifactIdmyzipfile/artifactId version1.0.0.0/version packagingzip/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] 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]
[m2] install-file question
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 modelVersion4.0.0/modelVersion groupIdmyzipfile/groupId artifactIdmyzipfile/artifactId nameMy Very Own Zipfile/name version1.0.0.0/version packagingzip/packaging /project When I then have a project with a dependency on this zip file, I add a dependency tag: dependency groupIdmyzipfile/groupId artifactIdmyzipfile/artifactId version1.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 groupIdmyzipfile/groupId artifactIdmyzipfile/artifactId version1.0.0.0/version packagingzip/packaging /dependency But then I get: Unrecognised tag: 'packaging' Any help on this is highly appriciated! regards, Wim
Re: [m2] install-file question
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 modelVersion4.0.0/modelVersion groupIdmyzipfile/groupId artifactIdmyzipfile/artifactId nameMy Very Own Zipfile/name version1.0.0.0/version packagingzip/packaging /project When I then have a project with a dependency on this zip file, I add a dependency tag: dependency groupIdmyzipfile/groupId artifactIdmyzipfile/artifactId version1.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 groupIdmyzipfile/groupId artifactIdmyzipfile/artifactId version1.0.0.0/version packagingzip/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]