Also FYI I'd suggest maven 3.x these days, I don't think it will make a
difference in your case but at least it's relatively up to date.

Tom
On 2 Mar 2016 07:54, "Tom Barber" <[email protected]> wrote:

> Hi Kostas
>
> There is a dependency but the tests should mock it, a while ago I fixed a
> lot of that stuff where the tests failed to mock services and instead bound
> to ports and things because from time to time it does cause issues.
>
> For now I'd suggest you run -DskipTests as they've been run and passed
> prior to release. Not ideal but will unblock you.
>
> I'll try and get that test resolved properly, soon.
>
> Cheers,
>
> Tom
> On 2 Mar 2016 06:52, "Konstantinos Mavrommatis" <[email protected]>
> wrote:
>
>> Hi,
>> I am trying to install the latest oodt 0.12 from the src.zip file.
>> The installation is on a clean Ubuntu 14.04 with maven2.2.1 and Oracle
>> java JDK 1.8.0_74
>> After unzipping the archive I run
>> mvn clean install
>> and I get the following error:
>>
>> $ more org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.txt
>>
>> -------------------------------------------------------------------------------
>> Test set: org.apache.oodt.cas.protocol.imaps.TestImapsProtocol
>>
>> -------------------------------------------------------------------------------
>> Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 2.466 sec
>> <<< FAILURE! - in org.apache.oodt.cas.protocol
>> .imaps.TestImapsProtocol
>> testLSandGET(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  Time
>> elapsed: 0.374 sec  <<< FAILURE!
>> junit.framework.AssertionFailedError: Failed to connect to GreenMail
>> IMAPS server : Failed to connected to IMAPS server
>> localhost with username [email protected] :
>> java.security.cert.CertificateException: Certificates does not conform to a
>> lgorithm constraints
>>         at junit.framework.Assert.fail(Assert.java:57)
>>         at junit.framework.TestCase.fail(TestCase.java:227)
>>         at
>> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsProtocol.java:62)
>>
>> testCDAndPWD(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  Time
>> elapsed: 1.036 sec  <<< ERROR!
>> java.lang.RuntimeException: Couldnt start at least one of the mail
>> services.
>>         at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
>>        at
>> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsProtocol.java:56)
>>
>> testDelete(org.apache.oodt.cas.protocol.imaps.TestImapsProtocol)  Time
>> elapsed: 1.025 sec  <<< ERROR!
>> java.lang.RuntimeException: Couldnt start at least one of the mail
>> services.
>>         at com.icegreen.greenmail.util.GreenMail.start(GreenMail.java:91)
>>         at
>> org.apache.oodt.cas.protocol.imaps.TestImapsProtocol.setUp(TestImapsProtocol.java:56)
>>
>> is there a dependency on a email server? If so why is that ?
>>
>> I also tried to install it using Radix and the commands described in
>> https://cwiki.apache.org/confluence/display/OODT/RADiX+Powered+By+OODT#RADiXPoweredByOODT-TheCommands.
>> In this case after I run
>> Mvn install
>> I get the error message
>>
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Unable to get dependency information: Unable to read the metadata file
>> for artifact 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar':
>> Cannot find parent: org.apache.geronimo.genesis.config:config for project:
>> null:project-config:pom:1.1 for project null:project-config:pom:1.1
>>   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
>>
>> from the specified remote repositories:
>>   central (http://repo1.maven.org/maven2),
>>   sonatype-nexus (https://oss.sonatype.org/content/groups/public),
>>   maven2 (http://download.java.net/maven/2),
>>   apache.snapshots (http://repository.apache.org/snapshots/)
>>
>> Path to dependency:
>>         1) com.mycompany:oodt-extensions:jar:0.1
>>         2) org.apache.oodt:cas-filemgr:jar:0.12
>>         3) org.apache.solr:solr-core:jar:1.3.0
>>
>>
>> Am I doing something wrong ?
>> Thanks in advance for your help.
>>
>> Kostas
>>
>>
>> *********************************************************
>> THIS ELECTRONIC MAIL MESSAGE AND ANY ATTACHMENT IS
>> CONFIDENTIAL AND MAY CONTAIN LEGALLY PRIVILEGED
>> INFORMATION INTENDED ONLY FOR THE USE OF THE INDIVIDUAL
>> OR INDIVIDUALS NAMED ABOVE.
>> If the reader is not the intended recipient, or the
>> employee or agent responsible to deliver it to the
>> intended recipient, you are hereby notified that any
>> dissemination, distribution or copying of this
>> communication is strictly prohibited. If you have
>> received this communication in error, please reply to the
>> sender to notify us of the error and delete the original
>> message. Thank You.
>>
>

Reply via email to