« Return to Thread: Cargo 1.1.4 error when stopping a test scoped Jetty container

Re: Cargo 1.1.4 error when stopping a test scoped Jetty container

by Tyler Bronder-2 :: Rate this Message:

| View in Thread

Brilliant, thank you for the quick diagnosis.

As for the test scope on location-server, that's intentional--a package wanting to use location-client shouldn't need any code dependencies on the location-server project. Its existence in the client is limited to starting up the server for the purposes of end-to-end testing. For now, I can live with specifying the 1.1.3 cargo plugin in this project until the next release.

Tyler

On Wed, Dec 21, 2011 at 1:09 PM, S. Ali Tokmen <nospam@...> wrote:
Hi Tyler

OK, we found the root cause of the issue, created CARGO-1069 for the same and fixed it. This will be fixed with CARGO 1.1.5 or 1.2.0 (whichever comes first).

Meanwhile, the workaround of removing the <scope> test from your dependency should work.


Thank you

S. Ali Tokmen
http://ali.tokmen.com/

GSM (ch): +41 79 207 29 22 [Swisscom]
GSM (fr): +33 66 43 00 555 [Orange]
GSM (tr): +90 555 266 52 73 [Avea]

My AIM, ICQ, MSN Messenger and Yahoo IM
contact details are on http://contact.ali.tokmen.com

On 2011/12/21 18:57, S. Ali Tokmen wrote:
Hi Tyler

Could you please remove the:

            <scope>test</scope>

from the dependency to com.opower:location-server:war in your POM? I think this is the root cause of the issue.

Thank you

S. Ali Tokmen
http://ali.tokmen.com/

GSM (ch): +41 79 207 29 22 [Swisscom]
GSM (fr): +33 66 43 00 555 [Orange]
GSM (tr): +90 555 266 52 73 [Avea]

My AIM, ICQ, MSN Messenger and Yahoo IM
contact details are on http://contact.ali.tokmen.com

On 2011/12/21 03:58, Tyler Bronder wrote:
> Could you please execute Maven with the -X option and attach the logs? 

Sending from my personal e-mail since the listserv has decided to reject my opower.com mail. I've attached the console output in all its unedited glory. 

Small note: no integration tests are run in this case as the test suite are "exhaustive" tests which require an additional -Dexhaustive option, but I omitted those as I get the same cargo behavior. with or without running them. 

Tyler


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

 « Return to Thread: Cargo 1.1.4 error when stopping a test scoped Jetty container