War packaging has no terminal dependence and SBT

I want to build and package my SBT project as a .war file. I found the plugin xsbt-web-plugin, but it requires Jetty dependencies that I don’t need because I use Apache Tomcat for production and development. What I want from SBT is to use a standard hierarchy to package my build into a .war file. Is it possible?
If you include the following line in the build.sbt file, jetty will only be used to run the container to test in sbt Your application; it will not be included in the war file:

libraryDependencies += "org.eclipse.jetty"% "jetty-webapp"% " 8.0.4.v20111024"% "container"

If you don’t want to, you don’t have to use a container for testing.

I want to convert my SBT project Build and package as a .war file. I found the plugin xsbt-web-plugin, but it requires Jetty dependencies that I don’t need because I use Apache Tomcat for production and development. What I want from SBT is to use the standard hierarchy to My build is packaged into a .war file. Is it possible?

If you include the following line in the build.sbt file, jetty will only be used to run the container to test your application in sbt; it will not be included in the war In the file:

libraryDependencies += "org.eclipse.jetty"% "jetty-webapp"% "8.0.4.v20111024"% "container" 

If you don't want to, you don't have to use a container for testing.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2361 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.