atomfrede / generator-jhipster-swagger2markup

JHipster module to create static api docs with swagger2markup
Apache License 2.0
40 stars 15 forks source link

Maven : can't skip tests #14

Closed pascalgrimaud closed 8 years ago

pascalgrimaud commented 8 years ago

Once the dependencies are installed in pom.xml, we can't skip test in maven build I think we should be able to skip tests, after installing swagger2markup modules.

Step to reproduce :

Stacktrace :

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.250s
[INFO] Finished at: Sat Dec 26 00:54:32 CET 2015
[INFO] Final Memory: 67M/443M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.redowlanalytics:swagger2markup-maven-plugin:0.8.0:process-swagger (convert-swagger) on project jhipster: No swagger files found in directory: /home/pgrimaud/workspace/jhtests/18-mysql/target/swagger -> [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/MojoFailureException
atomfrede commented 8 years ago

You are right that's a no go. Maybe we need a profile to be excute the Swagger2markup tasks.