You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Arturo Ulises CastaƱeda Estrada <ar...@sisorg.com.mx> on 2016/03/18 00:46:38 UTC

Failed to execute goal org.apache.isis.tool:isis-maven-plugin:1.11.1:swagger

Hi Dan,


I'm getting the next error about the swagger plugin, my log is the next.


[INFO] --- isis-maven-plugin:1.11.1:validate (default) @ CQNZ-dom ---
log4j:WARN No appenders could be found for logger (org.apache.isis.core.commons.config.IsisConfigurationDefault).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[INFO]
[INFO] --- isis-maven-plugin:1.11.1:swagger (default) @ CQNZ-dom ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Simple App ........................................ SUCCESS [0.338s]
[INFO] Simple App DOM .................................... FAILURE [9.236s]
[INFO] Simple App Fixtures ............................... SKIPPED
[INFO] Simple App Application ............................ SKIPPED
[INFO] Simple App Integration Tests ...................... SKIPPED
[INFO] Simple App Webapp ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.898s
[INFO] Finished at: Thu Mar 17 16:53:59 CST 2016
[INFO] Final Memory: 43M/593M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.isis.tool:isis-maven-plugin:1.11.1:swagger (default) on project CQNZ-dom: Execution default of goal org.apache.isis.tool:isis-maven-plugin:1.11.1:swagger failed: No Session opened for this thread -> [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/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :CQNZ-dom



Re: Failed to execute goal org.apache.isis.tool:isis-maven-plugin:1.11.1:swagger

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Yes, I'm aware of this issue ..
https://issues.apache.org/jira/browse/ISIS-1315

Hoping to have it fixed for 1.12.0.  Meantime, workaround is to download
the swagger spec from the prototyping menu while running the app.



On 17 March 2016 at 23:46, Arturo Ulises CastaƱeda Estrada <
arturo.castaneda@sisorg.com.mx> wrote:

> Hi Dan,
>
>
> I'm getting the next error about the swagger plugin, my log is the next.
>
>
> [INFO] --- isis-maven-plugin:1.11.1:validate (default) @ CQNZ-dom ---
> log4j:WARN No appenders could be found for logger
> (org.apache.isis.core.commons.config.IsisConfigurationDefault).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
> more info.
> [INFO]
> [INFO] --- isis-maven-plugin:1.11.1:swagger (default) @ CQNZ-dom ---
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Simple App ........................................ SUCCESS [0.338s]
> [INFO] Simple App DOM .................................... FAILURE [9.236s]
> [INFO] Simple App Fixtures ............................... SKIPPED
> [INFO] Simple App Application ............................ SKIPPED
> [INFO] Simple App Integration Tests ...................... SKIPPED
> [INFO] Simple App Webapp ................................. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 9.898s
> [INFO] Finished at: Thu Mar 17 16:53:59 CST 2016
> [INFO] Final Memory: 43M/593M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.isis.tool:isis-maven-plugin:1.11.1:swagger (default) on project
> CQNZ-dom: Execution default of goal
> org.apache.isis.tool:isis-maven-plugin:1.11.1:swagger failed: No Session
> opened for this thread -> [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/PluginExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :CQNZ-dom
>
>
>