Not tried to build 0.12 yet, but I can do in 30 mins when I get to my desk. Give maven 3 a whirl and see if you get any further.
Tom On 2 Mar 2016 08:02, "Konstantinos Mavrommatis" <kmavromma...@celgene.com> wrote: > Thanks, > I tried the -DskipTests but now I got stuck at another point: > > [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), > apache.snapshots (http://repository.apache.org/snapshots) > > Path to dependency: > 1) org.apache.oodt:cas-filemgr:jar:0.12 > 2) org.apache.solr:solr-core:jar:1.3.0 > > > > > > > -----Original Message----- > From: Tom Barber [mailto:tom.bar...@meteorite.bi] > Sent: Tuesday, March 01, 2016 11:59 PM > To: dev@oodt.apache.org > Subject: Re: Problem installing oodt 0.12. > > 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" <tom.bar...@meteorite.bi> 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" > > <kmavromma...@celgene.com> > > 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 bfos...@google.com : > >> 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(TestImapsP > >> rotocol.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(TestImapsP > >> rotocol.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(TestImapsP > >> rotocol.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://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_OODT_RADiX-2BPowered-2BBy-2BOODT-23RADiXPoweredByOODT-2DTheCommands&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=7c322fhJX9BbXH_E2tuD6_1XTUpRbOq3IOdbK0rhZJQ&e= > . > >> 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 ( > https://urldefense.proofpoint.com/v2/url?u=http-3A__repo1.maven.org_maven2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=y7Jmu07ef4O7sZkm2UgjPwz5AriwBB27YpSbA1PEX2M&e= > ), > >> sonatype-nexus ( > https://urldefense.proofpoint.com/v2/url?u=https-3A__oss.sonatype.org_content_groups_public&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=3DZxpQ_ny0ek1Uem6Y28Aj0MHzPR0snWhXqf_uqg6dY&e= > ), > >> maven2 ( > https://urldefense.proofpoint.com/v2/url?u=http-3A__download.java.net_maven_2&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD7jAg&s=kdBRgD_tTzx0lAqOXJlqSRobXUrHYd37MJQPSMoizcM&e= > ), > >> apache.snapshots > >> (https://urldefense.proofpoint.com/v2/url?u=http-3A__repository.apach > >> e.org_snapshots_&d=CwIBaQ&c=CZZujK3G2KuXGEKnzq-Hrg&r=wndYZ4MLMT9l3Zb2 > >> WZv2hq2O6yvZ1Cs-T2gHY95y7ZA&m=7zyWU1FH-fPuthdUVQiHJPWU7Dzdx72sdoSROsD > >> 7jAg&s=XIzxBSR-4MCtOnhqZSI8Vf_-8rHnLRC2nCdEn8eTbTE&e= ) > >> > >> 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. > >> > > > > ********************************************************* > 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. >