more maven
Hi guys, for maven stuff I could as well ask google, but this seems kinda james specific: how can I build a part of imap (e.g. jpa) with what I have in my working copy as dependency? It will use the downloaded artifacts instead which are in some cases not compatible (I changed several parts). Do I need to do a full build (which is kinda intelligent and does not rebuild everything, I know)? Thanks Tim - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: more maven
Hi Tim, I you do 'mvn install' on your dependency, your project should take this into account the 'last' dependency in place of the snapshot. But I'm not sure of this for james because I don't work as such (should test it). I use m2eclipse plugin for eclipse and take a little time to configure as such: - I enable 'enable dependency management' - I enable 'workspace resolution' - I close/open all projects All projects dependency known as source projects in eclipse now really use the projects in eclipse rather than the dependencies in your local repository. Once configured, you have a pratical environment to develop: any modification in your projects are directly taken into account in the others without any 'mvn install' or jar copy. Tks, Eric On 06/01/2010 11:43 PM, Tim-Christian Mundt wrote: Hi guys, for maven stuff I could as well ask google, but this seems kinda james specific: how can I build a part of imap (e.g. jpa) with what I have in my working copy as dependency? It will use the downloaded artifacts instead which are in some cases not compatible (I changed several parts). Do I need to do a full build (which is kinda intelligent and does not rebuild everything, I know)? Thanks Tim - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: more maven
Hi Eric, I'm already using it exactly the way you describe. It works perfectly for development and browsing the code. All dependencies are resolved correctly (eclipse is amazing!!). However, this does not apply for the build command. Even if I invoke the build in eclipse, it will fail. It only works if I build the whole IMAP component, but this takes much longer, that's why I'm asking if there's another possibility. Thanks Tim Am Mittwoch, den 02.06.2010, 05:36 +0200 schrieb Eric Charles: > Hi Tim, > > I you do 'mvn install' on your dependency, your project should take this > into account the 'last' dependency in place of the snapshot. > But I'm not sure of this for james because I don't work as such (should > test it). > > I use m2eclipse plugin for eclipse and take a little time to configure > as such: > - I enable 'enable dependency management' > - I enable 'workspace resolution' > - I close/open all projects > > All projects dependency known as source projects in eclipse now really > use the projects in eclipse rather than the dependencies in your local > repository. > > Once configured, you have a pratical environment to develop: any > modification in your projects are directly taken into account in the > others without any 'mvn install' or jar copy. > > Tks, > > Eric > > On 06/01/2010 11:43 PM, Tim-Christian Mundt wrote: > > Hi guys, > > > > for maven stuff I could as well ask google, but this seems kinda james > > specific: how can I build a part of imap (e.g. jpa) with what I have in > > my working copy as dependency? It will use the downloaded artifacts > > instead which are in some cases not compatible (I changed several > > parts). Do I need to do a full build (which is kinda intelligent and > > does not rebuild everything, I know)? > > > > Thanks > > Tim > > > > > > - > > To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org > > For additional commands, e-mail: server-dev-h...@james.apache.org > > > > > > > - > To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org > For additional commands, e-mail: server-dev-h...@james.apache.org > - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: more maven
Unfortunaly I'm not aware of any faster solution :/ Bye Norman 2010/6/2, Tim-Christian Mundt : > Hi Eric, > > I'm already using it exactly the way you describe. It works perfectly > for development and browsing the code. All dependencies are resolved > correctly (eclipse is amazing!!). However, this does not apply for the > build command. Even if I invoke the build in eclipse, it will fail. It > only works if I build the whole IMAP component, but this takes much > longer, that's why I'm asking if there's another possibility. > > Thanks > Tim > > Am Mittwoch, den 02.06.2010, 05:36 +0200 schrieb Eric Charles: >> Hi Tim, >> >> I you do 'mvn install' on your dependency, your project should take this >> into account the 'last' dependency in place of the snapshot. >> But I'm not sure of this for james because I don't work as such (should >> test it). >> >> I use m2eclipse plugin for eclipse and take a little time to configure >> as such: >> - I enable 'enable dependency management' >> - I enable 'workspace resolution' >> - I close/open all projects >> >> All projects dependency known as source projects in eclipse now really >> use the projects in eclipse rather than the dependencies in your local >> repository. >> >> Once configured, you have a pratical environment to develop: any >> modification in your projects are directly taken into account in the >> others without any 'mvn install' or jar copy. >> >> Tks, >> >> Eric >> >> On 06/01/2010 11:43 PM, Tim-Christian Mundt wrote: >> > Hi guys, >> > >> > for maven stuff I could as well ask google, but this seems kinda james >> > specific: how can I build a part of imap (e.g. jpa) with what I have in >> > my working copy as dependency? It will use the downloaded artifacts >> > instead which are in some cases not compatible (I changed several >> > parts). Do I need to do a full build (which is kinda intelligent and >> > does not rebuild everything, I know)? >> > >> > Thanks >> > Tim >> > >> > >> > - >> > To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org >> > For additional commands, e-mail: server-dev-h...@james.apache.org >> > >> > >> >> >> - >> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org >> For additional commands, e-mail: server-dev-h...@james.apache.org >> > > > - > To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org > For additional commands, e-mail: server-dev-h...@james.apache.org > > - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: more maven
Hi Tim, Just to complete my input (and probably not related to your question), I launch the Main james class from eclipse and works with /conf and /var a directory above eclipse ./ I only use 'mvn package' when I need to deploy on a real production server, and not during development phase. Tks, Eric On 06/02/2010 08:51 AM, Tim-Christian Mundt wrote: Hi Eric, I'm already using it exactly the way you describe. It works perfectly for development and browsing the code. All dependencies are resolved correctly (eclipse is amazing!!). However, this does not apply for the build command. Even if I invoke the build in eclipse, it will fail. It only works if I build the whole IMAP component, but this takes much longer, that's why I'm asking if there's another possibility. Thanks Tim Am Mittwoch, den 02.06.2010, 05:36 +0200 schrieb Eric Charles: Hi Tim, I you do 'mvn install' on your dependency, your project should take this into account the 'last' dependency in place of the snapshot. But I'm not sure of this for james because I don't work as such (should test it). I use m2eclipse plugin for eclipse and take a little time to configure as such: - I enable 'enable dependency management' - I enable 'workspace resolution' - I close/open all projects All projects dependency known as source projects in eclipse now really use the projects in eclipse rather than the dependencies in your local repository. Once configured, you have a pratical environment to develop: any modification in your projects are directly taken into account in the others without any 'mvn install' or jar copy. Tks, Eric On 06/01/2010 11:43 PM, Tim-Christian Mundt wrote: Hi guys, for maven stuff I could as well ask google, but this seems kinda james specific: how can I build a part of imap (e.g. jpa) with what I have in my working copy as dependency? It will use the downloaded artifacts instead which are in some cases not compatible (I changed several parts). Do I need to do a full build (which is kinda intelligent and does not rebuild everything, I know)? Thanks Tim - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org