given repo https://github.com/jersey/jersey cloned locally:
what maven command need build , run demos in /examples
?
my assumption should able clone repo , have examples work without changing in of *.pom
files. correct?
yes, not need edit anything. follow these steps:
git clone git@github.com:jersey/jersey.git
cd jersey
mvn clean install -dskiptests
cd examples/helloworld-webapp/
mvn clean compile exec:java
- open: http://localhost:8080/helloworld-webapp/helloworld
if dislike build unstable bleeding edge can checkout release tag:
1.1 (right after clone, or later in parent directory): git checkout tags/2.22.2
the other steps same.
Comments
Post a Comment