actually, for clarification, you can do this in both
~/.m2/settings.xml and in your projects local profiles.xml file in
Maven 2.x and in Maven 3.x you only do it in the settings.xml because
profiles.xml has been dropped.  So a correction, you do it in your
settings.xml

Mark


On Fri, Jul 15, 2011 at 1:04 PM, Mark Diggory <mdigg...@atmire.com> wrote:
> Ok, now I get it, its that folks don't know Maven, MarkW you use the
> "profiles.xml" file to define your local build settings / defaults
> that differ from the generic build.  So in a sense, you already have a
> file based approach present.
>
> Mark
>
> On Fri, Jul 15, 2011 at 1:00 PM, Mark H. Wood <mw...@iupui.edu> wrote:
>> On Fri, Jul 15, 2011 at 02:43:45PM -0500, Tim Donohue wrote:
>>> Mark & all,
>>>
>>> We actually are using 'maven.test.skip' property. It's just that we
>>> default it to "true".
>>>
>>> So, running:
>>>
>>> mvn package -Dmaven.test.skip=false
>>>
>>> will execute all our Unit Tests.
>>>
>>> If I recall correctly, I think we defaulted this property to 'true'
>>> (i.e. skip unit tests) because we didn't want people building DSpace
>>> from the source release (dspace-src-release-x.x.x) to need to remember
>>> to pass a flag to turn off the Unit Tests.  But, if there is a good
>>> reason to change this default setting, we could obviously do so.
>>>
>>> We would just need to make sure to change our build & install
>>> Documentation to recommend running 'mvn package -Dmaven.test.skip=true',
>>> if you don't want to wait for all the Unit Tests to run.
>>
>> And that's why I wanted a flag file or some such:  nobody should have
>> to type '-Dsome.long.unmemorable.property.name' every! single! time!
>> Not developers.  Not installers.
>>
>> But it's not a major point; I just offered my approach as a way to
>> perhaps make testing more palatable.
>>
>> --
>> Mark H. Wood, Lead System Programmer   mw...@iupui.edu
>> Asking whether markets are efficient is like asking whether people are smart.
>>
>> ------------------------------------------------------------------------------
>> AppSumo Presents a FREE Video for the SourceForge Community by Eric
>> Ries, the creator of the Lean Startup Methodology on "Lean Startup
>> Secrets Revealed." This video shows you how to validate your ideas,
>> optimize your ideas and identify your business strategy.
>> http://p.sf.net/sfu/appsumosfdev2dev
>> _______________________________________________
>> Dspace-devel mailing list
>> Dspace-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-devel
>>
>>
>
>
>
> --
> Mark R. Diggory
> @mire - www.atmire.com
> 2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
> Esperantolaan 4 - Heverlee 3001 - Belgium
>



-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to