Issue 219: Please provide guice-servlet and guice-struts2 in a maven2  
repository
http://code.google.com/p/google-guice/issues/detail?id=219

Comment #6 by rene.gielen:
inder123,

I'm with you on having to configure unneeded stuff in settings.xml is bad  
and should
be avoided. However there are a couple of situations where you would find it
necessary to touch this file.

settings.xml is, among others, for providing configuration that would be  
misplaced in
the project specific configuration, such as
- workplace specific configuration, eg. chose gwt-linux installation on a  
linux
workstation as gwt-home, gwt-windows on a windows machine
- user specific configuration, such as user secrets / credentials

Each maven wagon (ssh, ftp etc.) with need for authentication relies on  
configuring
your credentials in settings.xml, it's a documented feature and the wanted  
behaviour.
Since there are only a couple of people having write access to the svn /  
being in the
role of a release manager, only they would need to configure those  
credentials,
simlilar to them locally having to configure svn write access in their svn
credentials store or IDE. 99,9999% of the users won't have configure  
anything besides
the given configuration in the pom.

Deploying in your local repository, manually identifying, copying and  
adding the
output to a subversion checkout and committing afterwards for each release  
is more
error prone, more steps to do and does not integrate well with automated  
nightly
build/ci, than simply doing a one time local configuration per workstation  
plus typing
mvn jar source:jar javadoc:jar assembly:assembly deploy
for each deployment

Just my 2 cents,
Rene



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to