[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Product dependencies not found....

Ok, for that i must have 2 products or 2 eclipse-application projects?

Guillaume

-----Message d'origine-----
De : tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] De la part de Alex Blewitt
Envoyé : lundi 6 juin 2011 21:38
À : Tycho user list
Objet : Re: [tycho-user] Product dependencies not found....

You are trying to build the linux fragment on Windows, and vice versa. 

Copy this configuration into the fragments, except only list the environments for which the fragment is defined.

Alex

On 6 Jun 2011, at 20:31, Helle, Guillaume wrote:

> Hooops...
> Exact, it corrects the problem for this plugin but not for "target' plugins :
> <plugin id="org.eclipse.core.filesystem.linux.x86" fragment="true"/>
> <plugin id="org.eclipse.core.net.linux.x86" fragment="true"/>
> <plugin id="org.eclipse.swt.gtk.linux.x86" fragment="true"/>
> ...
> 
> So why?
> In my pom : 
> 			<plugin>
> 				<groupId>org.eclipse.tycho</groupId>
> 				<artifactId>target-platform-configuration</artifactId>
> 				<version>${tycho-version}</version>
> 				<configuration>
> 					<environments>
> 						<environment>
> 							<os>win32</os>
> 							<ws>win32</ws>
> 							<arch>x86</arch>
> 						</environment>
> 						<environment>
> 							<os>linux</os>
> 							<ws>gtk</ws>
> 							<arch>x86</arch>
> 						</environment>
> 					</environments>
> 					<resolver>p2</resolver>
> 					<pomDependencies>consider</pomDependencies>
> 				</configuration>
> 			</plugin>
> 
> 
> Guillaume
> -----Message d'origine-----
> De : tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] De la part de Igor Fedorenko
> Envoyé : lundi 6 juin 2011 17:48
> À : tycho-user@xxxxxxxxxxx
> Objet : Re: [tycho-user] Product dependencies not found....
> 
> Do you have pomDependencies=consider as explained in [1]?
> 
> [1] 
> https://docs.sonatype.org/display/TYCHO/Dependency+on+pom-first+artifacts
> 
> --
> Regards,
> Igor
> 
> On 11-06-06 11:37 AM, Helle, Guillaume wrote:
>> Hello,
>> 
>> I try to build my product using<packaging>eclipse-application</packaging>
>> In my product file I have this dependencies :
>>       <plugin id="org.eclipse.equinox.weaving.hook" fragment="true"/>
>> 
>> And the build failed :
>> [INFO] [Software being installed: CEX 1.0.0, Missing requirement: CEX 1.0.0 requires 'org.eclipse.equinox.weaving.hook 0.0.0' but it could not be found]
>> [ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable. ->  [Help 1]
>> org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable.
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
>>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>> 
>> So I have uploaded this artifact :
>> mvn install:install-file  -Dfile=org.eclipse.equinox.weaving.hook_1.0.0.200905261348.jar  -DgroupId=org.eclipse.equinox.weaving.hook -DartifactId=org.eclipse.equinox.weaving.hook -Dversion=1.0.0.200905261348 -Dpackaging=jar -DgeneratePom=true
>> and had dependencies in my pom:
>>   	<dependency>
>> 		<groupId>org.eclipse.equinox.weaving.hook</groupId>
>>   		<artifactId>org.eclipse.equinox.weaving.hook</artifactId>
>>   		<version>1.0.0.200905261348</version>
>>   	</dependency>
>>   	</dependencies>
>> 
>> But the build fails for the same reason...
>> Any idea?
>> 
>> Thx for your help!
>> 
>> Guillaume
>> 
>> 
>> 
>> 
>> 
>> 
>> This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is
>> intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to
>> read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message
>> in error, please notify the sender immediately and delete all copies of this message.
>> 
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user