[prev in list] [next in list] [prev in thread] [next in thread] List: maven-user Subject: Maven dependency inter project workout From: Gonzalo Aguilar Delgado <gad () aguilardelgado ! com> Date: 2009-07-30 23:20:15 Message-ID: 1248996015.6445.30.camel () azul1 [Download RAW message or body] Spam detection software, running on the system "azul3.aguilardelgado.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, I have a doubt about how to solve dependency management inter-project. First: I use Maven2 I do not own a repository [...] Content analysis details: (5.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.6 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [87.223.218.81 listed in dnsbl.sorbs.net] 0.5 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [87.223.218.81 listed in zen.spamhaus.org] 1.0 EXTRA_MPART_TYPE Header has extraneous Content-type:...type= entry 2.2 HTML_IMAGE_ONLY_24 BODY: HTML: images with 2000-2400 bytes of words 0.0 HTML_MESSAGE BODY: HTML included in message 0.1 RDNS_DYNAMIC Delivered to trusted network by host with dynamic-looking rDNS 0.0 DYN_RDNS_AND_INLINE_IMAGE Contains image, and was sent by dynamic rDNS The original message was not completely plain text, and may be unsafe to open with some email clients; in particular, it may contain a virus, or confirm that your address can receive spam. If you wish to view it, it may be safer to save it to a file and open it with an editor. [Attachment #3 (message/rfc822)] [Attachment #5 (multipart/alternative)] Hi, I have a doubt about how to solve dependency management inter-project. First: I use Maven2 I do not own a repository I have this structure: + support-utils-project | +portal-project +----portal-web-project +--- portal-applications-project Right? I can add the support-utils-project to any of the two portal projects (portal-web-project,portal-applications-project) When I compile I get something like: 1 required artifact is missing. So I can add it with: mvn install:install-file -DgroupId=com.level2crm.portals.crm.enterprise.dao -DartifactId=support-utils-project -Dversion=0.0.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file And it works well but... Every time I do a change on that library I have to install it and the compile the others? Is there any way to handle recompiling automagically? I'm using eclipse. Inter-project dependencies are handled great by it but when I use this the only way to handle is submodules... the problem is that this tooling project is shared by A LOT! of project so I cannot submodule it every project. Do I explain myself? thank you in advance. Best regards, ____________________________________ Gonzalo Aguilar Delgado Consultor CRM - Ingeniero en Informática M. +34 607814276 [Attachment #8 (text/html)] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.27.5"> </HEAD> <BODY> Hi, <BR> <BR> I have a doubt about how to solve dependency management inter-project.<BR> <BR> First:<BR> I use Maven2<BR> I do not own a repository<BR> <BR> I have this structure:<BR> <BR> + support-utils-project<BR> |<BR> +portal-project<BR> +----portal-web-project<BR> +--- portal-applications-project<BR> <BR> Right?<BR> <BR> I can add the support-utils-project to any of the two portal projects \ (portal-web-project,portal-applications-project)<BR> <BR> When I compile I get something like: 1 required artifact is missing.<BR> <BR> So I can add it with:<BR> mvn install:install-file -DgroupId=com.level2crm.portals.crm.enterprise.dao \ -DartifactId=support-utils-project -Dversion=0.0.1-SNAPSHOT -Dpackaging=jar \ -Dfile=/path/to/file<BR> <BR> <BR> And it works well but...<BR> <BR> <BR> Every time I do a change on that library I have to install it and the compile the \ others?<BR> <BR> Is there any way to handle recompiling automagically?<BR> <BR> I'm using eclipse. Inter-project dependencies are handled great by it but when I use \ this the only way to handle is submodules... the problem is that this tooling project \ is shared by A LOT! of project so I cannot submodule it every project.<BR> <BR> Do I explain myself?<BR> <BR> thank you in advance.<BR> <BR> Best regards,<BR> <BR> <BR> <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> <BR> <BR> <BR> <BR> <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="350"> <TR> <TD ALIGN="left"> <BR> <BR> <BR> </TD> <TD> <HR NOSHADE> </TD> </TR> <TR> <TD> <BR> <BR> <BR> <IMG SRC="cid:1248908056.11257.8.camel@azul1" ALIGN="bottom" BORDER="0"> </TD> <TD> <FONT COLOR="#000000"> Gonzalo Aguilar Delgado</FONT><BR> <FONT COLOR="#000000"> Consultor CRM - Ingeniero en Informática</FONT><BR> <BLOCKQUOTE> <FONT COLOR="#000000">M. +34 607814276</FONT> </BLOCKQUOTE> </TD> </TR> <TR> <TD> <BR> <BR> <BR> </TD> <TD> <BR> <BR> <BR> </TD> </TR> </TABLE> <BR> <BR> <BR> <BR> </TD> </TR> </TABLE> </BODY> </HTML> ["yo-48x48-bw.jpg" (yo-48x48-bw.jpg)] JFIF H H )Exif II* z ( 2 i :$ Canon Canon \ EOS 20D H H 2009:04:14 \ 18:02:24 " ' @ 0221 , @ H P X | ` # 0100 0 0 \ $ $ $ \ 2009:03:22 11:57:37 2009:03:22 \ 11:57:37 Ԥ Ԥ F . " \ 6 V v % \ u \ \ 8 B @ F d @ t @ " \ F F ]d D \ 5 Canon EOS \ 20D Firmware 2.0.3 Antonio Juan Mulero \ Perez \ \ \ \ \ \ \ \ \ \ \ &