Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Build Failure

Windows is a 'special' OS.

You will have to build with tests through the jetty-http module at least so the proper test classifier artifacts are produced.

Better then -Dmaven.test.skip would be

> mvn -Dtest=Foo clean install

that will end up skipping all the tests but still generate the required test artifacts.

cheers,
Jesse

--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx

On Sun, Mar 13, 2016 at 6:05 AM, Fuxiang Chen <cfuxiang@xxxxxxxxx> wrote:
Thanks Simone.

The exact Maven command line is : mvn clean compile -Dmaven.test.skip=true -X

Environment: Java 1.8, Maven 3.3.3, Win 7 64 bit

I purposely skip the tests as I understand that not all the tests will pass.

Is there any specific Maven command or process to build jetty.project under Windows?

Thanks.


On Sun, Mar 13, 2016 at 5:58 PM, Simone Bordet <sbordet@xxxxxxxxxxx> wrote:
Hi,

On Sun, Mar 13, 2016 at 5:11 AM, Fuxiang Chen <cfuxiang@xxxxxxxxx> wrote:
> I have rebuilt with the -X option. Please the following stacktrace:
>
> [ERROR] Failed to execute goal on project jetty-servlet: Could not resolve
> dependencies for project
> org.eclipse.jetty:jetty-servlet:jar:9.4.0-SNAPSHOT: Could not find artifact
> org.eclipse.jetty:jetty-
> http:jar:tests:9.4.0-SNAPSHOT -> [Help 1]

The module jetty-http is built before jetty-servlet.
The artifact jetty-http with classifier "tests" is missing so you must
build the jetty-http module making sure you build the tests part too.

What is the exact Maven command line ?

--
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.
_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-dev



--
Warmest Regards,
    Fuxiang

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-dev


Back to the top