On Tue, Nov 27, 2012 at 12:38 PM, Becker, Pascal-Nicolas
<[email protected]> wrote:
> mvn -Dmaven.test.skip=false -Dtest=ItemTest package

You're running the "package" target. It's supposed to be the "test" target.

But I just tried and it doesn't work anyway. I can't offer you an
explanation why, it might be that it's supported only in surefire 2.8+
(but reportedly, there's a bug in 2.12). But you could try a
workaround - remove the excludes section and replace it with:
                    <includes>
                        <include>**/ItemTest*</include>
                    </includes>

http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html
https://github.com/DSpace/DSpace/blob/master/pom.xml#L77

Then run:

mvn -Dmaven.test.skip=false test

On the master branch, you'll get an error about missing artifact for
-rc4, but nevermind that, the test results are above it.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to