user2067036
user2067036

Reputation: 81

How to build my own Jetty distribution

I need to build my own Jetty distribution, with customized xml and jar files. I use a pom.xml from the website: http://repo1.maven.org/maven2/org/eclipse/jetty/aggregate/jetty-all/8.1.9.v20130131/.

I build my target use mvn install. In the resulting jar files, all Java code are compiled to .class, but there is no start.jar, start.ini, etc, lib directories. What did I do wrong? What is the correct procedure to do it?

Upvotes: 0

Views: 500

Answers (1)

Thomas Becker
Thomas Becker

Reputation: 944

That's because jetty-all contains only the compiled class files.

What you probably want to build instead is the whole jetty and then get your distribution from jetty-distribution/target/.

Upvotes: 0

Related Questions