JBoss EAP 6.4 - Maven Deploy war not in Deployments directory
James Dekker <[email protected]> Tue, 29 Nov 2016 13:53:49 -0800
| Newsgroups | gmane.comp.java.jboss.user |
|---|---|
| Message-ID | <CAJqr9zi=nfHM6z4AUsV0nmZSOTWSsVJrv=A-uQYsO7OnmdSeXQ@mail.gmail.com> |
--===============7750461521331765026==
Content-Type: multipart/alternative; boundary=001a114135269bfdbf0542779f3d
--001a114135269bfdbf0542779f3d
Content-Type: text/plain; charset=UTF-8
Have JBOSS EAP 6.4 setup on my local Unix (macOS) environment...
Checked out the following helloworld project from Github:
https://github.com/jboss-developer/jboss-eap-quickstarts/tree/7.1.x-develop/helloworld-rs
Was able to build and deploy the war file into JBoss by issuing the
following command:
mvn clean wildfly:deploy -Dwildfly.port=9999
Was able to hit the REST endpoint by putting this in my browser:
http://localhost:8080/jboss-helloworld-rs/rest/json
Response was:
{"result":"Hello World!"}
However, inside $EAP_HOME/standalone/deployments (and also
$JBOSS_HOME/standalone/deployments), the directory is empty...
Question(s):
1. Why can I not see the war file (whether packed or unpacked) inside the
deployments dir?
2. Is there a way to change a setting somewhere so the war file can be seen?
3. Is there a way to change this pom.xml file so I can just use:
mvn jboss-as:deploy
4. Is JBOSS EAP 6's codename wildfly?
Thanks for taking the time to read this.
--001a114135269bfdbf0542779f3d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>Have JBOSS EAP 6.4 setup on my local Unix (macOS) env=
ironment...</div><div><br></div><div>Checked out the following helloworld p=
roject from Github:</div><div><br></div><div><a href=3D"https://github.com/=
jboss-developer/jboss-eap-quickstarts/tree/7.1.x-develop/helloworld-rs">htt=
ps://github.com/jboss-developer/jboss-eap-quickstarts/tree/7.1.x-develop/he=
lloworld-rs</a></div><div><br></div><div>Was able to build and deploy the w=
ar file into JBoss by issuing the following command:</div><div><br></div><d=
iv>=C2=A0 =C2=A0 mvn clean wildfly:deploy -Dwildfly.port=3D9999</div><div><=
br></div><div>Was able to hit the REST endpoint by putting this in my brows=
er:</div><div><br></div><div>=C2=A0 =C2=A0 <a href=3D"http://localhost:8080=
/jboss-helloworld-rs/rest/json">http://localhost:8080/jboss-helloworld-rs/r=
est/json</a></div><div><br></div><div>Response was:</div><div><br></div><di=
v>=C2=A0 =C2=A0 {"result":"Hello World!"}</div><div><br=
></div><div>However, inside $EAP_HOME/standalone/deployments (and also $JBO=
SS_HOME/standalone/deployments), the directory is empty...</div><div><br></=
div><div>Question(s):</div><div><br></div><div>1. Why can I not see the war=
file (whether packed or unpacked) inside the deployments dir?</div><div><b=
r></div><div>2. Is there a way to change a setting somewhere so the war fil=
e can be seen?</div><div><br></div><div>3. Is there a way to change this po=
m.xml file so I can just use:</div><div><br></div><div>=C2=A0 =C2=A0 mvn jb=
oss-as:deploy=C2=A0</div><div><br></div><div>4. Is JBOSS EAP 6's codena=
me wildfly?</div><div><br></div><div>Thanks for taking the time to read thi=
s.</div></div>
--001a114135269bfdbf0542779f3d--
--===============7750461521331765026==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user
--===============7750461521331765026==--