Skip to content

mdaloia/tycho-p2-inf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Tycho project to show a Tycho regression

This is a reproducer project to ease the support around the support question Virtual configuration IU in p2.inf does not work in 4.0.3 (works in 3.0.5) asked in https://github.com/eclipse-tycho/tycho/discussions

Build

Use this command to build it: mvn clean package -Dtycho.localArtifacts=ignore -Dtycho-version=4.0.3 -Dtycho.resolver.classic=false

Will fail with this error:

[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: p2.inf 1.0.0.qualifier
[ERROR]   Missing requirement: p2.inf 1.0.0.qualifier requires 'org.eclipse.equinox.p2.iu; configure.p2.inf 0.0.0' but it could not be found

Downgrade the version: mvn clean package -Dtycho.localArtifacts=ignore -Dtycho-version=3.0.5

and it will work. It generates the target/p2content.xml file with the <unit id='configure.p2.inf'> and the <required namespace='org.eclipse.equinox.p2.iu' name='configure.p2.inf' range='0.0.0'/>

You will see this message:

[INFO] The following requirements are not satisfied yet and must be provided through pom dependencies:
[INFO]    - org.eclipse.equinox.p2.iu; configure.p2.inf 0.0.0

This is because of <pomDependencies>consider</pomDependencies>. If it is not specified it fails as with 4.0.3

Links for reference:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published