On Mon, 2006-12-11 at 13:18 +1100, Brett Porter wrote:
> On 11/12/2006, at 11:37 AM, Jason van Zyl wrote:
> 
> > I have no problems with an RPM provided it was contained in one  
> > directory like we have now our documentation being applicable.  
> > Something that split up all over the place, or something that's  
> > going to try and use other RPMs as dependencies from within Maven I  
> > have zero interest.  Like I said before contribution for offline  
> > mode, great. If we don't have to do anything wild and crazy with  
> > the bootstrap, then fine. Encouraging different usage patterns on  
> > different platforms I am vehemently opposed to.
> 
> Ok, well this is the only point we really need to work on, then. So  
> if they install everything to /opt/maven - that's ok?
> 
> I'm still not all that beat up about the installation being split up  
> with the conf file in /etc/maven/conf/settings.xml, as to my  
> knowledge the user never touches the rest and our documentation  
> reflects that. But let's find out exactly what they are proposing and  
> tackle it from there.
> 
> - Brett
> 

Hi,

Okay, so here is the structure of the current maven rpm (main parts). We
have:

/usr/bin/mvn
/usr/bin/mvn-jpp
/usr/share/java/maven2/* links to jars in /usr/share/maven2

/usr/share/maven2/ 
  -- The M2_HOME dir

/usr/share/maven2/bin/* 
  -- wrapper scripts that maven comes with

/usr/share/maven2/conf/settings.xml 
  -- settings file. will eventually be a link       
     to /etc/mavcen-settings.xml or something

/usr/share/maven2/core
/usr/share/maven2/core/boot 
  -- links to jars in /usr/share/java

/usr/share/maven2/lib
  -- the maven2 jars

/usr/share/maven2/poms
  -- static poms

So for all intents and purposes, /usr/share/maven2 can act as M2_HOME
even with the maven2 rpm.

Generally, if some project does needs a XXX_HOME dir with specific
structure, we try to mimic the structure with rpm so that the project
can continue working correctly. maven2 will just end up being another
such project.

Cheers,
Deepak


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to