Start a new topic

MVN Command line generation?


I'm not clear on how to run the maven task to generate the Swagger UI v.3 documentation. Can this only be accomplished through the IDE, or can you run some mvn command at that command line to generate (we're looking to automate our releases).



Hi Jeff, 

mvn package should do the trick. 

It looks like we need to publish a solution article to document maven and gradle integration.  I'll plan to do that within the next few days. Meanwhile, if you're having any difficulties, please feel free to open a support ticket and we'll get you started.

Ted Epstein, CEO

Thanks -- that would be helpful. I really love the product, btw!

1 person likes this

A quick update - we will be changing our generated Maven configurations to use the generate-sources phase in the Maven default lifecycle.  This is where code generation naturally fits in, and it makes our POM.XML better suited for use in a build configuration for an actual API implementation. 

mvn package will still work, because it's downstream of generate-sources.

Look for this change most likely within the next couple of months.

Ted Epstein |   |       

Login or Signup to post a comment