-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
targetModule in properties file causes dspot to exit immediately with no result #798
Comments
Hi @gibello Thank you for reporting this. There is an issue between default values and (not) specified values in the properties. I'll work on this and propose a fix ASAP. Meanwhile, you can either specify the For the latter option, you may face classpath issue and need to run |
Hello, #808 should fix this. |
Hi @danglotb , does not seem to fix anything... Did I do something wrong ?
Then test again... |
From where do you run DSpot? You should run it from the top parent of your project, i.e Your properties file is not well formatted, it should be:
using the |
Tried this, no change. |
@danglotb : Just added "project=/home/gibello/STAMP/STAMP-project/authzforce-gibello/core" in the dspot.properties, AND IT WORKS. There is definitely an issue with that "project" stuff (I have a java invoker to call DSpot, and without "project" set, it fails with a "null" inserted in the path... I mean the way the path is built is buggy, and unpredictable depending on runtime environment). |
Seems weird. I saw that there is a bug in the maven-plugin in the detection of the targeted module. I'm looking at it.
Yes, the property The However, from the command line, one must specify this property. If you do use DSpot's API, I suggest you use also the |
Characteristics
Description
When specifying a targetModule in DSpot properties file, DSpot maven plugin runs fine, but exits with "BUILD SUCCESS" within a few seconds with no output at all.
Steps to reproduce
Tested on authzforce core project (https://gitlab.ow2.org/authzforce/core).
dspot.properties file contains just one line:
targetModule: pdp-engine
Then DSpot is launched as follows:
mvn eu.stamp-project:dspot-maven:2.1.1-SNAPSHOT:amplify-unit-tests -Dpath-to-properties=dspot.properties
Exits with "BUILD SUCCESS" after 6 seconds, and DSpot does not seem to be invoked at all.
The text was updated successfully, but these errors were encountered: