Failed to execute goal org.apache.maven.plugins:maven-clean-plugin ??

905 views
Skip to first unread message

Asmaa

unread,
Feb 2, 2022, 4:15:20 PM2/2/22
to MOA development
I have this error. Can help me with it, please 

Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on project moa: Failed to clean project: Failed to delete C:\moa-master\moa\target\surefire\surefirebooter5777988443502088839.jar -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:

[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Peter Reutemann

unread,
Feb 2, 2022, 4:24:57 PM2/2/22
to MOA-dev List
> I have this error. Can help me with it, please
>
> Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on project moa: Failed to clean project: Failed to delete C:\moa-master\moa\target\surefire\surefirebooter5777988443502088839.jar -> [Help 1]

Using a quick internet search, this might be problem under Windows
with another process still holding onto that file:
https://stackoverflow.com/questions/37276624/cannot-delete-surefirebooster

NB: I don't use Windows.

Cheers, Peter
--
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174 (office)
+64 (7) 577-5304 (home office)
https://www.cs.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/

Asmaa

unread,
Feb 4, 2022, 9:14:29 AM2/4/22
to MOA development
When making a clean and build project it takes more time, and it stops at this class 

Running moa.classifiers.rules.multilabel.instancetransformers.InstanceOutputAttributesSelectorTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec <<< FAILURE! - in moa.classifiers.rules.multilabel.instancetransformers.InstanceOutputAttributesSelectorTest
moa.classifiers.rules.multilabel.instancetransformers.InstanceOutputAttributesSelectorTest  Time elapsed: 0 sec  <<< ERROR!
java.lang.RuntimeException: ArffFileStream restart failed.
        at java.base/java.io.FileInputStream.open0(Native Method)
        at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
        at moa.streams.MultiTargetArffFileStream.restart(MultiTargetArffFileStream.java:136)
        at moa.streams.MultiTargetArffFileStream.<init>(MultiTargetArffFileStream.java:82)
        at moa.classifiers.rules.multilabel.instancetransformers.InstanceOutputAttributesSelectorTest.setUpBeforeClass(InstanceOutputAttributesSelectorTest.java:30)

Running moa.classifiers.rules.RuleClassifierNBayesTest


but it runs when run it

many thanks for your responses
After it, I try to apply concept drift to data and give the following results in image
but I do not understand what these parameters output and chart
Can you please help me with it?

diabets_concept drift.PNG
many thanks in advance

Peter Reutemann

unread,
Feb 4, 2022, 3:18:40 PM2/4/22
to moa-dev...@googlegroups.com
There is no need to run then tests each time you build. My IntelliJ IDEA doesn't do this. On the command line, you would add the following option to the mvn command:

-DskipTests=true

I don't use MOA, so I'm not familiar with its algorithms. Your best option is to post on the MOA user mailing list.

Cheers, Peter

Asmaa

unread,
Feb 4, 2022, 3:24:21 PM2/4/22
to MOA development
many thanks 
where MOA user mailing list?

Peter Reutemann

unread,
Feb 4, 2022, 5:03:28 PM2/4/22
to moa-dev...@googlegroups.com
Listed on the Moa homepage:
https://moa.cms.waikato.ac.nz/people/contact/

Cheers, Peter
Reply all
Reply to author
Forward
0 new messages