Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 41818 invoked from network); 13 Jul 2006 17:16:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jul 2006 17:16:50 -0000 Received: (qmail 571 invoked by uid 500); 13 Jul 2006 17:16:45 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 521 invoked by uid 500); 13 Jul 2006 17:16:44 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 409 invoked by uid 99); 13 Jul 2006 17:16:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 10:16:44 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2006 10:16:42 -0700 Received: (qmail 23131 invoked by uid 89); 13 Jul 2006 17:16:22 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 13 Jul 2006 17:16:22 -0000 Message-ID: <153506104.1152810982170.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Thu, 13 Jul 2006 12:16:22 -0500 (CDT) From: "Brad Harper (JIRA)" To: issues@maven.apache.org Subject: [jira] Created: (MINSTALL-28) Error in Project Attempting to Use maven-install-plugin with 'lib' Packaging MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Error in Project Attempting to Use maven-install-plugin with 'lib' Packaging ---------------------------------------------------------------------------- Key: MINSTALL-28 URL: http://jira.codehaus.org/browse/MINSTALL-28 Project: Maven 2.x Install Plugin Type: Bug Versions: 2.2 Environment: Win2003, running mvn 2.04 in Cygwin bash shell Locally built version maven-install-plugin 2.2-SNAPSHOT Reporter: Brad Harper I'm using M2 'maven-native-plugin' to build C++ libraries and apps. Within the overall project structure I have a module to handle a set of 3rd-party (library) artifacts. Some of these are native libraries (without source) and some are built from open source. I'd like to run % mvn install in the 3rd-party module and have the pre-built libraries simply copied into the local repository with an that can be expressed in the part elsewhere. The POM descriptor for one of these native library sub-modules contains lib maven-install-plugin install-library install com-epsiia-dxr-third-party dxr-third-party-com-emc-\ centera-fplibrary-WINDOWS-X86 2.0SP1 lib FPLibrary.lib but maven complains [ERROR] BUILD ERROR [INFO] ---- [INFO] Cannot find lifecycle mapping for packaging: 'lib' Component descriptor cannot be found in the component \ repository: org.apache.maven.lifecyle.mapping.LifecycleMappinglib. The 'maven-native-plugin' is supplied by codehaus.org and the plugin's use is declared in an ancestor POM descriptor. In modules where C++ source is compiled/linked, the 'install' goal moves the resulting artifact into the repository. Shouldn't this work? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira