[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] little help with http.servlet.tests

Ray, I don't really have much of an answer, but in case you haven't tried these yet ...

One thing I noticed was that you list org.apache.commons.fileuploadas an "extra requirement". But, that should not be needed, since you import the packages explicitly in your manifest.mf file.
I have not heard that hurts anything ... but, you never can tell. (And, by "hurt", I mean you might be getting multiple versions, from multiple sources, or perhaps by naming it "early" it somehow gets wired to the 2.8 version of javax.servlet so by the time your code requires 3.1 of javax.servlet something things appears invalid. All just guesses.

Another thing, if you haven't tried it yet, is to be sure to clean out (i.e. delete) your "localMavenRepo". I've found that occasionally it keeps copies of something that is incorrect, but incorrect in such a way that makes it hard to notice.

Hope one of these suggestions help.







From:        Raymond Auge <raymond.auge@xxxxxxxxxxx>
To:        Equinox development mailing list <equinox-dev@xxxxxxxxxxx>,
Date:        04/12/2016 12:39 PM
Subject:        [equinox-dev] little help with http.servlet.tests
Sent by:        equinox-dev-bounces@xxxxxxxxxxx




Hello everyone,

I've just noted that for some very strange reason the tests in rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet.tests fail from the command line when run through maven:

mvn clean integration-test -DskipTests =false

It's failing to locate commons-fileupload:

[ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: org.eclipse.equinox.http.servlet.tests 1.0.100.qualifier [ERROR] Missing requirement: org.eclipse.equinox.http.servlet.tests 1.0.100.qualifier requires 'package org.apache.commons.fileupload 1.2.2' but it could not be found


.. even though it's definitely in the resolved p2 repos.

The resolved repos are:

[INFO] Adding repository
http://download.eclipse.org/tools/orbit/downloads/drops/I20160209143415/repository[INFO] Adding repository http://download.eclipse.org/modeling/emf/emf/updates/2.12milestones/base/S201601280808[INFO] Adding repository http://download.eclipse.org/jetty/updates/jetty-bundles-9.x/9.3.5.v20151012[INFO] Adding repository http://download.eclipse.org/rt/ecf/3.12.0/site.p2[INFO] Adding repository http://download.eclipse.org/cbi/updates/license/1.0.1.v20140414-1359[INFO] Adding repository http://download.eclipse.org/egit/updates-4.1[INFO] Adding repository http://download.eclipse.org/modeling/emf/emf/updates/2.12milestones/core/S201511090426
--
Raymond Augé (@rotty3000)
Senior Software Architect Liferay, Inc. (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance (@OSGiAlliance)_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev