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
