Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72041107C2 for ; Tue, 2 Dec 2014 17:47:58 +0000 (UTC) Received: (qmail 87706 invoked by uid 500); 2 Dec 2014 17:47:58 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 87661 invoked by uid 500); 2 Dec 2014 17:47:58 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 87651 invoked by uid 99); 2 Dec 2014 17:47:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2014 17:47:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elecharny@gmail.com designates 209.85.212.173 as permitted sender) Received: from [209.85.212.173] (HELO mail-wi0-f173.google.com) (209.85.212.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2014 17:47:31 +0000 Received: by mail-wi0-f173.google.com with SMTP id r20so28879787wiv.0 for ; Tue, 02 Dec 2014 09:46:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=lOqCLAUWwkIAVgDXifVQK+M/R5A2taHdJbEF28spEY4=; b=oxk2Tit/xZZgmGnurVAH9TMKPMh03EK1wB90vTYtbc0q0Zb+Yf7k8NRv5xQoFjpBW7 w7Jl1H/W4x9dV/2PREtW+ji02UlSE3pLZClcXSdK5u9O3FI1tuUUQwjife4HCYIeze3g 8v90e8AvBFxYgtgc/2suAKqObb6KxscEWfIoBzGvPccMuS9/EXKDNEvh1i+8zXU3Iiqw XPNydooHng/QfssF2dUFUBsM/YSodA4e9J4YlXaDeVlM3AZSsSNg1562HxZqcG/Bi9Ue 5MSfAqQ+e5sj821E2zsako82Vl+feuoOMI5UbzjUTHh1Mb6VBHEG/k/E6fmmbSAjL5Lu 3n+w== X-Received: by 10.194.109.6 with SMTP id ho6mr464684wjb.93.1417542405325; Tue, 02 Dec 2014 09:46:45 -0800 (PST) Received: from [192.168.100.162] (227.66.88.91.rev.sfr.net. [91.88.66.227]) by mx.google.com with ESMTPSA id n3sm32831288wjz.21.2014.12.02.09.46.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Dec 2014 09:46:44 -0800 (PST) Message-ID: <547DFB03.4070602@gmail.com> Date: Tue, 02 Dec 2014 18:46:43 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: Building Studio-Tycho branch with latest revisions : issues... References: <547DF273.3010200@symas.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Le 02/12/14 18:22, Jeff MAURY a écrit : > Can you run with -Dtycho.debug.resolver=true and show the log The logs are no different... I'm concerned by the message : Missing requirement: org.apache.directory.api.ldap.model 1.0.0.M26 requires 'package antlr 2.7.7' but it could not be found in ldap.model pom.xml, I do have that : antlr;version=${antlr.version}, with 2.7.7 The pb is easy to reproduce : $ co http://svn.apache.org/repos/asf/directory/studio/branches/studio-tycho/ $ cd eclipse-target-platform $ mvn clean install ... $ cd .. $ mvn clean install should work just fine. Now, open the root pom.xml file, and replace any reference to 1.0.0-M24 by 1.0.0-M26, any reference to 2.0.0-M17 by 2.0.0-M19, and any reference to mina 2.0.7 by 2.0.9. Then : $ co http://svn.apache.org/repos/asf/directory/studio/branches/studio-tycho/ $ cd eclipse-target-platform $ mvn clean install ... $ cd .. $ mvn clean install That shoudl fail with non flying colors... > > Jeff > > On Tue, Dec 2, 2014 at 6:10 PM, Emmanuel Lécharny > wrote: > >> Hi ! >> >> >> Today, I tried to build the Studio-tycho branch after having bumped up >> the ApacheDS and LDAP API dependencies to the latest versions (1.0.0-M26 >> and 2.0.0-M19). Not an happy day : >> >> >> [ERROR] Cannot resolve project dependencies: >> [ERROR] Software being installed: >> org.apache.directory.server.protocol.shared 2.0.0.M19 >> [ERROR] Missing requirement: org.apache.directory.api.ldap.model >> 1.0.0.M26 requires 'package antlr 2.7.7' but it could not be found >> [ERROR] Cannot satisfy dependency: >> org.apache.directory.server.protocol.shared 2.0.0.M19 depends on: >> package org.apache.directory.api.ldap.model.constants [1.0.0,2.0.0) >> [ERROR] >> [ERROR] Internal error: java.lang.RuntimeException: Failed to resolve >> target definition >> >> /Users/elecharny/.m2/repository/org/apache/directory/studio/eclipse-target-platform/2.0.0-SNAPSHOT/eclipse-target-platform-2.0.0-SNAPSHOT.target: >> No solution found because the problem is unsatisfiable.: [Unable to >> satisfy dependency from org.apache.directory.api.dsmlv2.parser 1.0.0.M26 >> to package org.dom4j 1.6.1.; Unable to satisfy dependency from >> org.apache.directory.api.dsmlv2.parser 1.0.0.M26 to package org.dom4j.io >> 1.6.1.; Unable to satisfy dependency from >> org.apache.directory.api.dsmlv2.parser 1.0.0.M26 to package >> org.dom4j.tree 1.6.1.; Unable to satisfy dependency from >> org.apache.directory.api.dsmlv2.parser 1.0.0.M26 to package >> org.xmlpull.v1 1.1.0.4c.; Unable to satisfy dependency from >> org.apache.directory.api.ldap.extras.aci 1.0.0.M26 to package antlr >> 2.7.7.; Unable to satisfy dependency from >> org.apache.directory.api.ldap.extras.aci 1.0.0.M26 to package >> antlr.collections.impl 2.7.7.; Unable to satisfy dependency from >> org.apache.directory.api.ldap.extras.trigger 1.0.0.M26 to package antlr >> 2.7.7.; Unable to satisfy dependency from >> org.apache.directory.api.ldap.extras.trigger 1.0.0.M26 to package >> antlr.collections.impl 2.7.7.; Unable to satisfy dependency from >> org.apache.directory.api.ldap.model 1.0.0.M26 to package antlr 2.7.7.; >> Unable to satisfy dependency from org.apache.directory.api.ldap.model >> 1.0.0.M26 to package antlr.collections.impl 2.7.7.; Unable to satisfy >> dependency from org.apache.directory.api.ldap.schema.converter 1.0.0.M26 >> to package antlr 2.7.7.; Unable to satisfy dependency from >> org.apache.directory.api.ldap.schema.converter 1.0.0.M26 to package >> org.commons.lang.exception 2.6.0.; No solution found because the problem >> is unsatisfiable.] -> [Help 1] >> org.apache.maven.InternalErrorException: Internal error: >> java.lang.RuntimeException: Failed to resolve target definition >> >> /Users/elecharny/.m2/repository/org/apache/directory/studio/eclipse-target-platform/2.0.0-SNAPSHOT/eclipse-target-platform-2.0.0-SNAPSHOT.target >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167) >> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) >> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> at >> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:606) >> at >> >> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) >> at >> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) >> at >> >> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) >> at >> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) >> Caused by: java.lang.RuntimeException: Failed to resolve target >> definition >> >> /Users/elecharny/.m2/repository/org/apache/directory/studio/eclipse-target-platform/2.0.0-SNAPSHOT/eclipse-target-platform-2.0.0-SNAPSHOT.target >> at >> >> org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:85) >> at >> >> org.eclipse.tycho.p2.target.TargetDefinitionResolverService.resolveFromArguments(TargetDefinitionResolverService.java:65) >> at >> >> org.eclipse.tycho.p2.target.TargetDefinitionResolverService.getTargetDefinitionContent(TargetDefinitionResolverService.java:55) >> at >> >> org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.resolveTargetDefinitions(TargetPlatformFactoryImpl.java:210) >> at >> >> org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:144) >> at >> >> org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:117) >> at >> >> org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:1) >> at >> >> org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:214) >> at >> >> org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:100) >> at >> >> org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) >> ... 11 more >> Caused by: >> org.eclipse.tycho.p2.target.facade.TargetDefinitionResolutionException: >> No solution found because the problem is unsatisfiable.: [Unable to >> satisfy dependency from org.apache.directory.api.dsmlv2.parser 1.0.0.M26 >> to package org.dom4j 1.6.1.; Unable to satisfy dependency from >> org.apache.directory.api.dsmlv2.parser 1.0.0.M26 to package org.dom4j.io >> 1.6.1.; Unable to satisfy dependency from >> org.apache.directory.api.dsmlv2.parser 1.0.0.M26 to package >> org.dom4j.tree 1.6.1.; Unable to satisfy dependency from >> org.apache.directory.api.dsmlv2.parser 1.0.0.M26 to package >> org.xmlpull.v1 1.1.0.4c.; Unable to satisfy dependency from >> org.apache.directory.api.ldap.extras.aci 1.0.0.M26 to package antlr >> 2.7.7.; Unable to satisfy dependency from >> org.apache.directory.api.ldap.extras.aci 1.0.0.M26 to package >> antlr.collections.impl 2.7.7.; Unable to satisfy dependency from >> org.apache.directory.api.ldap.extras.trigger 1.0.0.M26 to package antlr >> 2.7.7.; Unable to satisfy dependency from >> org.apache.directory.api.ldap.extras.trigger 1.0.0.M26 to package >> antlr.collections.impl 2.7.7.; Unable to satisfy dependency from >> org.apache.directory.api.ldap.model 1.0.0.M26 to package antlr 2.7.7.; >> Unable to satisfy dependency from org.apache.directory.api.ldap.model >> 1.0.0.M26 to package antlr.collections.impl 2.7.7.; Unable to satisfy >> dependency from org.apache.directory.api.ldap.schema.converter 1.0.0.M26 >> to package antlr 2.7.7.; Unable to satisfy dependency from >> org.apache.directory.api.ldap.schema.converter 1.0.0.M26 to package >> org.commons.lang.exception 2.6.0.; No solution found because the problem >> is unsatisfiable.] >> at >> >> org.eclipse.tycho.p2.target.TargetDefinitionResolver.newResolutionException(TargetDefinitionResolver.java:237) >> at >> >> org.eclipse.tycho.p2.target.TargetDefinitionResolver$2.newResolutionException(TargetDefinitionResolver.java:195) >> at >> >> org.eclipse.tycho.p2.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:88) >> at >> >> org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.multiPlatformResolve(AbstractResolutionStrategy.java:71) >> at >> >> org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContentWithExceptions(TargetDefinitionResolver.java:151) >> at >> >> org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:80) >> ... 22 more >> Caused by: org.eclipse.core.runtime.CoreException: No solution found >> because the problem is unsatisfiable. >> ... 28 more >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException >> >> >> >> I have absolutely no clue about the pb, all the listed dependencies, >> supposely to be unsatisfiable, are present... >> >> Anyone ? >> > >