TBH, maven.test.skip is used by most IDE, I would recommend at least trying
to make our build operate when its disabling the test phase. We are
creating a complex test environment and I understand that might result
in challenges, but we should not deviate from standard features or behavior
in maven because our IDE tools depend on it.

Mark

On Fri, Aug 3, 2012 at 12:30 PM, Tim Donohue <[email protected]> wrote:

> Mark,
>
> I'd be fine with this change, as long as we make sure that Unit Tests
> are not executed by default (i.e. keep the current default settings).
>
> So, running 'mvn package' should still skip running tests.
>
> But, running 'mvn package -DskipTests=false" would let you run the Unit
> Tests.
>
> For those who want more info on the skipTests flag, see:
>
> http://maven.apache.org/plugins/maven-surefire-plugin/examples/skipping-test.html
>
> - Tim
>
> On 8/3/2012 1:33 PM, Mark H. Wood wrote:
> > I'd like to suggest replacing the property maven.test.skip with
> > skipTests.
> >
> > maven.test.skip suppresses the building of test classes.  This leads
> > to mysterious and distressing failures if you've never run the tests
> > on the version you're building.
> >
> > skipTests allows the tests (and, in the case of DSpace, the packaged
> > testing environment) to be built, but suppresses their execution.
> > It's been around since surefire 2.4, and we're using 2.6.
> >
> > Discussion?
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >
> >
> >
> > _______________________________________________
> > Dspace-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-devel
> >
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Dspace-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-devel
>



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to