james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim-Christian Mundt <...@tim-erwin.de>
Subject Re: more maven
Date Wed, 02 Jun 2010 06:51:27 GMT
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-unsubscribe@james.apache.org
> > For additional commands, e-mail: server-dev-help@james.apache.org
> >
> >    
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message