Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Not A Bug
-
3.0.0-M3
-
None
-
None
Description
Hi Team,
We have requirement to run build and unit test separately with sure fire, how can we achevie this, i was going through all documentations available in internet but could not find any which works for us.
Our requirements is by running package goal with test skipped, we are able to generate 2 jars one for actual code and other for test like
Step#1
mvn package -DskipTests=true
In next step i would like to run
Step#2
mvn surefire:test
but how can i provide source jar and test jar generated in step#1 to surefire:test in step#2?
I don't want to have test jar as dependency in pom.
Thanks in advance.