Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IllegalStateException: Project ... does not have an expanded version #4211

Open
kgibm opened this issue Sep 5, 2024 · 0 comments

Comments

@kgibm
Copy link

kgibm commented Sep 5, 2024

Caused by: java.lang.IllegalStateException: Project com.example:com.example.matsample.plugin:eclipse-plugin:0.1.0-SNAPSHOT does not have an expanded version
	at org.eclipse.tycho.core.osgitools.DefaultReactorProject.getExpandedVersion(DefaultReactorProject.java:255)

I have a reproducible public repository for this issue: https://github.com/IBM/memoryanalyzersamples

This has been observed before:

But I'm confused how to fix it. I do see that build-qualifier is ignored:

image

But I don't specify to ignore it anywhere and I can't see a way to change it in Eclipse. I do have a global settings file but it doesn't have much:

<?xml version="1.0" encoding="UTF-8"?>
<lifecycleMappingMetadata>
  <lifecycleMappingFilters>
    <lifecycleMappingFilter>
      <symbolicName>org.eclipse.m2e.pde.connector</symbolicName>
      <versionRange>[2.1.400,)</versionRange>
      <packagingTypes>
        <packagingType>eclipse-plugin</packagingType>
        <packagingType>eclipse-feature</packagingType>
      </packagingTypes>
    </lifecycleMappingFilter>
    <lifecycleMappingFilter>
      <symbolicName>org.sonatype.tycho.m2e</symbolicName>
      <versionRange>[0.10.0,)</versionRange>
      <packagingTypes>
        <packagingType>eclipse-feature</packagingType>
      </packagingTypes>
    </lifecycleMappingFilter>
  </lifecycleMappingFilters>
</lifecycleMappingMetadata>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant