[jetty-user] Re: Jetty 8 and Maven Jetty Plugin jetty:run-war not working

rowatt <[email protected]> Mon, 19 Mar 2012 20:59:06 -0700 (PDT)
Newsgroups gmane.comp.java.jetty.support
Message-ID <CB8E3D26.17C0F%[email protected]>
Wow that was quick. Thank you very much Jan. One last question, when will
the 8.1.3 jetty maven plugin be released and pushed into maven repos?

Thanks, Shane.
Shane Rowatt
Architect
T
M
F
E
W+61 7 3252 1650
+61 401 550 697
+61 7 3252 1350
[email protected]
gcpgroup.com <http://www.gcpgroup.com/> GCP Brisbane
24 Chester Street
Newstead QLD 4006
Australia
GCP Australia Limited   |   Sydney   |   Brisbane   |   Singapore   |
London
Important Notice:
The information in this email and/or any of the attachments may contain
Confidential, Legally Privileged and/or Copyright material of GCP Australia
Limited or third parties.

If you are not an authorised recipient of this email, please contact GCP
Australia Limited immediately by return email or by telephone on +61 7 3252
1650 and delete the email from your system. We do not accept any liability
in connection with any computer virus, data corruption, interruption or any
damage generally as a result of transmission of this email.

On 19/03/12 4:56 PM, "Jan Bartel-3 [via Jetty]"
<[email protected]> wrote:

> Hi Rowatt,
> 
> https://jira.codehaus.org/browse/JETTY-1499
> 
> Fixed!
> 
> thanks
> Jan
> 
> On 19 March 2012 13:48, rowatt <[hidden email]
> </user/SendEmail.jtp?type=node&node=4632237&i=0> > wrote:
>> Hi Jan,
>> 
>> Attached is the little tar gzip of the maven project with the
>> XyzWebApplicationInitializer code in it.
>> 
>> Thanks for looking at this issue,
>> Shane Rowatt
>> Architect
>> T
>> M
>> F
>> E
>> W<a href="tel:%2B61%207%203252%201650" value="+61732521650"
>> target="_blank">+61 7 3252 1650
>> <a href="tel:%2B61%20401%20550%20697" value="+61401550697"
>> target="_blank">+61 401 550 697
>> <a href="tel:%2B61%207%203252%201350" value="+61732521350"
>> target="_blank">+61 7 3252 1350
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4631885&i=0>
>> gcpgroup.com <http://www.gcpgroup.com/> GCP Brisbane
>> 24 Chester Street
>> Newstead QLD 4006
>> Australia
>> GCP Australia Limited   |   Sydney   |   Brisbane   |   Singapore   |
>> London
>> Important Notice:
>> The information in this email and/or any of the attachments may contain
>> Confidential, Legally Privileged and/or Copyright material of GCP Australia
>> Limited or third parties.
>> 
>> If you are not an authorised recipient of this email, please contact GCP
>> Australia Limited immediately by return email or by telephone on <a
>> href="tel:%2B61%207%203252%201650" value="+61732521650" target="_blank">+61 7
>> 3252 1650 and delete the email from your system. We do not accept any
>> liability in connection with any computer virus, data corruption,
>> interruption or any damage generally as a result of transmission of this
>> email.
>> 
>> On 19/03/12 12:41 PM, "Jan Bartel-3 [via Jetty]" <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=4631885&i=1> > wrote:
>> 
>>> Hi Rowatt, 
>>> 
>>> That message got a bit garbled - the "replace the pom with this" was
>>> missing, as was the java class.
>>> 
>>> Any chance you could generate the project then zip it and attach it?
>>> 
>>> thanks 
>>> Jan 
>>> 
>>> On 19 March 2012 11:54, rowatt <[hidden email]
>>> <http://user/SendEmail.jtp?type=node&node=4631872&i=0> > wrote:
>>> 
>>>> > Hi Jan, 
>>>> > 
>>>> > Below are the instructions for recreating the issue I see.
>>>> > 
>>>> > *Create a maven project:*
>>>> > 
>>>> > mvn archetype:generate -B -DarchetypeGroupId=org.apache.maven.archetypes
>>>> > -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.0
>>>> > -DgroupId=com.gcpgroup -DartifactId=gcp-jetty -Dversion=1.0
>>>> > 
>>>> > *Remove the sample App.java and AppTest.java from created project:*
>>>> > 
>>>> > cd gcp-jetty
>>>> > rm ­f src/main/java/com/gcpgroup/App.java
>>>> > rm ­f src/test/java/com/gcpgroup/AppTest.java
>>>> > 
>>>> > *Replace the pom.xml with this:*
>>>> > 
>>>> > 
>>>> > 
>>>> > *Put the following java file in src/main/java/com/gcpgroup/*
>>>> > 
>>>> > 
>>>> > *Run the jetty:run command and grep for the test string:*
>>>> > 
>>>> > mvn clean jetty:run 2>&1 | grep @@@@
>>>> > 
>>>> > *You will see in stdout the following string which means
>>>> > XyzWebApplicationInitializer was called:*
>>>> > 
>>>> > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>>>> > 
>>>> > *Run the jetty:run-war command and grep for the test string:*
>>>> > 
>>>> > mvn clean jetty:run-war 2>&1 | grep @@@@
>>>> > 
>>>> > *This command will not output the test string and hence
>>>> > XyzWebApplicationInitializer was not called.*
>>>> > 
>>>> > I hope this helps. Let me know if you need more information,
>>>> > 
>>>> > Thanks, Shane.
>>>> > 
>>>> > -- 
>>>> > View this message in context:
>>>> http://jetty.4.n6.nabble.com/Jetty-8-and-Maven-Jetty-Plugin-jetty-run-war-n
>>>> ot-working-tp4627356p4631715.html
>>>> > Sent from the Jetty Support mailing list archive at Nabble.com.
>>>> > 
>>>> > ---------------------------------------------------------------------
>>>> > To unsubscribe from this list, please visit:
>>>> > 
>>>> >    http://xircles.codehaus.org/manage_email
>>>> > 
>>>> > 
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>> 
>>>     http://xircles.codehaus.org/manage_email
>>> 
>>> 
>>> 
>>> 
>>> 
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>> http://jetty.4.n6.nabble.com/Jetty-8-and-Maven-Jetty-Plugin-jetty-run-war-no
>>> t-working-tp4627356p4631872.html
>>> To unsubscribe from Jetty 8 and Maven Jetty Plugin jetty:run-war not
>>> working, click here.
>>> NAML 
>>> <http://jetty.4.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id
>>> =instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespa
>>> ce-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNam
>>> espace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%2
>>> 1nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>> 
>>  gcp-jetty.tar.gz (1K) Download Attachment
>> <http://attachment/4631885/0/gcp-jetty.tar.gz>
>> 
>> 
>> View this message in context: Re: Jetty 8 and Maven Jetty Plugin
>> jetty:run-war not working
>> <http://jetty.4.n6.nabble.com/Jetty-8-and-Maven-Jetty-Plugin-jetty-run-war-no
>> t-working-tp4627356p4631885.html>
>> Sent from the Jetty Support mailing list archive
>> <http://jetty.4.n6.nabble.com/Jetty-Support-f1260.html>  at Nabble.com.
>> 
>> 
>> 
>> 
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://jetty.4.n6.nabble.com/Jetty-8-and-Maven-Jetty-Plugin-jetty-run-war-not
>> -working-tp4627356p4632237.html
>> To unsubscribe from Jetty 8 and Maven Jetty Plugin jetty:run-war not working,
>> click here 
>> <http://jetty.4.n6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_c
>> ode&node=4627356&code=c3Jvd2F0dEBnY3Bncm91cC5jb218NDYyNzM1Nnw5NTc2NjI3MTI=> .
>> NAML 
>> <http://jetty.4.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=
>> instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace
>> -nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamesp
>> ace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nab
>> ble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>> 



--
View this message in context: http://jetty.4.n6.nabble.com/Jetty-8-and-Maven-Jetty-Plugin-jetty-run-war-not-working-tp4627356p4635598.html
Sent from the Jetty Support mailing list archive at Nabble.com.