Open DehengYang opened 4 years ago
After careful check and attempt, I make the mvn package -DskipTests
of MUDetect pass. The process is:
git clone https://github.com/stg-tud/MUBench.git
# then check and find a proper commit for installation
# "Release new detector versions." corresponds to 0.12
# "Resolve #178: Support multiple source/classes directories per project… " refers to 0.11, however, this commit does not work for MUDetect.
# finally the commit 25c2ee works.
git reset --hard 25c2ee9991a1e22ce5fbc86fb5636041d1bed6c5
cd mubench.cli/
mvn clean install -DskipTests
# and finally, the name of the installed jar need to be modified (i.e., delete the 'snapshot')
After that, I can successfully run mvn package -DskipTests
in MUDetect dir.
This is a wordaround, seemingly. Thank you.
references:
When I run
mvn package -DskipTests
in the folder of MUDetect, the following error occurs:I think it may be caused by the unavailability of de.tu-darmstadt.stg:mubench.cli:jar:0.0.11 in the given repository http://www.st.informatik.tu-darmstadt.de/artifacts/mubench/mvn/, which also cannot be visited via web browser.
It would be much appreciated if any advice or guidance could be provided. Thank you!
P.S. I use a workaround by running
mvn clean package -DskipTests && mvn install
for https://github.com/stg-tud/MUBench/tree/master/mubench.cli. I am not sure if this will work.