Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New docet:rundocs mojo #57

Open
eolivelli opened this issue May 3, 2019 · 1 comment
Open

New docet:rundocs mojo #57

eolivelli opened this issue May 3, 2019 · 1 comment

Comments

@eolivelli
Copy link
Contributor

It would be very useful to have a "mojo" (Maven Goal) to start a Web Server and deploy the documentation package of the "current project"

@eolivelli
Copy link
Contributor Author

Some ideas:

  • let's use the "Sample App"
  • bundle the War of the Sample App inside the JAR of the "plugin"
  • add a new Mojo which:
  • it unpackes the Sampe App War to a known directory (like target/docet-sample-app) (do not unpack if already unpacked)
  • it starts a Jetty server (localhost, 8080, or configurable) and deploys the sample App

One problem to solve: the Sample App must have an automatic discovery mode of the current project (do not use "docet-packages.conf" or maybe just have a "docet-packages.conf" file with a default package based on '.' (current directory)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant