Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B648B9F06 for ; Tue, 24 Apr 2012 21:04:29 +0000 (UTC) Received: (qmail 39243 invoked by uid 500); 24 Apr 2012 21:04:28 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 39159 invoked by uid 500); 24 Apr 2012 21:04:28 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 39144 invoked by uid 99); 24 Apr 2012 21:04:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 21:04:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 21:04:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 03F2040CF46 for ; Tue, 24 Apr 2012 21:04:07 +0000 (UTC) Date: Tue, 24 Apr 2012 21:04:07 +0000 (UTC) From: "Steven Rowe (JIRA)" To: dev@lucene.apache.org Message-ID: <1516721609.218.1335301447017.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1895788472.9710.1335276815214.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-3405) maven artifacts should be equivalent to binary packaging MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261012#comment-13261012 ] Steven Rowe commented on SOLR-3405: ----------------------------------- {quote} If noggit is out there on central, then the fix will be a trivial adjustment to the template pom. If it's not, then my suggestion for a relatively painless solution is 1) to add a CSV file to the top of the tree, where each line consists of: URL,GROUP-ID-INVENTED,ARTIFACT-ID-INVENTED,VERSION 2) To add each one as a dependency to the corresponding pom with true 3) implement code in the 'ant get-maven-poms' target to download them and run maven install:install-file on them using the information in the CSV. {quote} Benson, the Maven build used to be able to deal with "non-Mavenized" 3rd party jars, using a mechanism like you suggest (except that it pulled jars, & optionally POMs, from the local file system instead of from a URL). That capability was removed in preparation for the 3.6 release. You can see what it used to look like [in r1298247 of the Lucene/Solr grandfather POM|http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/pom.xml.template?revision=1298192&view=markup#l601] - it was a profile that listed all of the necessary jars to pull from {{lib/}} directories and put into the local maven repository. Users were instructed to invoke it prior to using the Maven build: {{mvn -N -Pbootstrap install}}. Fixing this aspect would simply require putting that stuff back for non-Mavenized jars. This is how the Maven build worked before the era of Fake Maven Releases of Other People's Software (FMROOPS). > maven artifacts should be equivalent to binary packaging > -------------------------------------------------------- > > Key: SOLR-3405 > URL: https://issues.apache.org/jira/browse/SOLR-3405 > Project: Solr > Issue Type: Task > Components: Build > Reporter: Robert Muir > Fix For: 4.0 > > > Lets take the commons-csv scenario: > * apache-solr-3.5.0 binary distribution contains no actual commons-csv.jar anywhere, > in fact it contains no third party jars (the stuff present in solr/lib) at all. > * binary distribution contains only the jars necessary for *solrj* and *contrib plugins*, and a solr.war > I think the maven artifacts should match whats in the binary release (no third party jars > inside the .war are "exposed", we just publish the .war itself). This exposes a lot less surface area. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org