OpenNetworkingFoundation / DELTA

PROJECT DELTA: SDN SECURITY EVALUATION FRAMEWORK
221 stars 76 forks source link

mvn clean install #33

Closed thapabishwa closed 6 years ago

thapabishwa commented 6 years ago

Dear Delta Team,

I get the following error log when trying to instal Delta.

sdn@vultr:~/DELTA$ mvn clean install   
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] delta
[INFO] delta-manager
[INFO] delta-agents
[INFO] delta-agent-apps
[INFO] delta-agent-apps-onos
[INFO] delta-agent-app-onos-1.6.0
[INFO] delta-agent-app-onos-1.9.0
[INFO] delta-agent-apps-floodlight
[INFO] delta-agent-app-floodlight-0.91
[INFO] delta-agent-app-floodlight-1.2
[INFO] delta-agent-apps-opendaylight
[INFO] delta-agent-app-odl-helium
[INFO] delta-agent-app-odl-helium-sub
[INFO] delta-agent-app-odl-carbon
[INFO] delta-agent-channel
[INFO] delta-agent-host
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building delta 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ delta ---
[INFO] Deleting /home/sdn/DELTA/target
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (validate-checkstyle) @ delta ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] delta .............................................. FAILURE [  0.260 s]
[INFO] delta-manager ...................................... SKIPPED
[INFO] delta-agents ....................................... SKIPPED
[INFO] delta-agent-apps ................................... SKIPPED
[INFO] delta-agent-apps-onos .............................. SKIPPED
[INFO] delta-agent-app-onos-1.6.0 ......................... SKIPPED
[INFO] delta-agent-app-onos-1.9.0 ......................... SKIPPED
[INFO] delta-agent-apps-floodlight ........................ SKIPPED
[INFO] delta-agent-app-floodlight-0.91 .................... SKIPPED
[INFO] delta-agent-app-floodlight-1.2 ..................... SKIPPED
[INFO] delta-agent-apps-opendaylight ...................... SKIPPED
[INFO] delta-agent-app-odl-helium ......................... SKIPPED
[INFO] delta-agent-app-odl-helium-sub ..................... SKIPPED
[INFO] delta-agent-app-odl-carbon ......................... SKIPPED
[INFO] delta-agent-channel ................................ SKIPPED
[INFO] delta-agent-host ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.052 s
[INFO] Finished at: 2018-04-13T13:19:49+00:00
[INFO] Final Memory: 17M/217M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (validate-checkstyle) on project delta: Failed during checkstyle execution: Unable to find suppressions file at location: suppressions.xml: Could not find resource 'suppressions.xml'. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
sdn@vultr:~/DELTA$ 

Can you provide any suggestions?

marcels93 commented 6 years ago

Hey, I had this issue too. For me it worked after I skipped the checkstyle process in maven. Im not sure what command I used for that. Maybe try: mvn clean install -Dcheckstyle.skip

jwkim90 commented 6 years ago

Hey guys, The problem was that I have added some code snippets related the "checkstyle" in the root pom.xml. I just fixed that issue and committed.

Please try it again, it should be worked. :)

Thank you for your report. Jinwoo Kim