org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST C:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamco ncert-plugin\com.ibm.team.build.hjplugin-rtc.

Jenkins JIRA | Simon Kaufmann | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    The com.ibm.team.build.hjplugin-rtc is an eclipse-plugin-project, i.e. it uses the manifest-first approach. However, the MANIFEST.MF file is missing in the repository. In fact, it is excluded from versioning since "/META-INF" is added to the .gitignore. Please add the missing files. --- This is happens when trying to build it: {code} [ERROR] Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST C:\git\teamconcert-plugin\com .ibm.team.build.hjplugin-rtc: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamconcert-plugin\com.ibm.team.build.h jplugin-rtc. -> [Help 1] org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST C:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamco ncert-plugin\com.ibm.team.build.hjplugin-rtc. 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) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST C:\git\teamconcert-plugin\com.ibm.team.bui ld.hjplugin-rtc: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc. at org.eclipse.tycho.core.osgitools.DefaultBundleReader.convertPluginManifest(DefaultBundleReader.java:138) at org.eclipse.tycho.core.osgitools.DefaultBundleReader.loadManifestFromDirectory(DefaultBundleReader.java:106) at org.eclipse.tycho.core.osgitools.DefaultBundleReader.doLoadManifest(DefaultBundleReader.java:65) at org.eclipse.tycho.core.osgitools.DefaultBundleReader.loadManifest(DefaultBundleReader.java:56) at org.eclipse.tycho.core.osgitools.OsgiBundleProject.readArtifactKey(OsgiBundleProject.java:142) at org.eclipse.tycho.core.osgitools.OsgiBundleProject.setupProject(OsgiBundleProject.java:131) at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:62) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:77) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) ... 11 more Caused by: org.eclipse.osgi.service.pluginconversion.PluginConversionException: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc. at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:114) at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:714) at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:722) at org.eclipse.tycho.core.osgitools.DefaultBundleReader.convertPluginManifest(DefaultBundleReader.java:124) ... 20 more {code}

    Jenkins JIRA | 3 years ago | Simon Kaufmann
    org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST C:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamco ncert-plugin\com.ibm.team.build.hjplugin-rtc.
  2. 0

    The com.ibm.team.build.hjplugin-rtc is an eclipse-plugin-project, i.e. it uses the manifest-first approach. However, the MANIFEST.MF file is missing in the repository. In fact, it is excluded from versioning since "/META-INF" is added to the .gitignore. Please add the missing files. --- This is happens when trying to build it: {code} [ERROR] Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST C:\git\teamconcert-plugin\com .ibm.team.build.hjplugin-rtc: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamconcert-plugin\com.ibm.team.build.h jplugin-rtc. -> [Help 1] org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST C:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamco ncert-plugin\com.ibm.team.build.hjplugin-rtc. 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) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST C:\git\teamconcert-plugin\com.ibm.team.bui ld.hjplugin-rtc: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc. at org.eclipse.tycho.core.osgitools.DefaultBundleReader.convertPluginManifest(DefaultBundleReader.java:138) at org.eclipse.tycho.core.osgitools.DefaultBundleReader.loadManifestFromDirectory(DefaultBundleReader.java:106) at org.eclipse.tycho.core.osgitools.DefaultBundleReader.doLoadManifest(DefaultBundleReader.java:65) at org.eclipse.tycho.core.osgitools.DefaultBundleReader.loadManifest(DefaultBundleReader.java:56) at org.eclipse.tycho.core.osgitools.OsgiBundleProject.readArtifactKey(OsgiBundleProject.java:142) at org.eclipse.tycho.core.osgitools.OsgiBundleProject.setupProject(OsgiBundleProject.java:131) at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:62) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:77) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) ... 11 more Caused by: org.eclipse.osgi.service.pluginconversion.PluginConversionException: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc. at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:114) at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:714) at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:722) at org.eclipse.tycho.core.osgitools.DefaultBundleReader.convertPluginManifest(DefaultBundleReader.java:124) ... 20 more {code}

    Jenkins JIRA | 3 years ago | Simon Kaufmann
    org.apache.maven.InternalErrorException: Internal error: org.eclipse.tycho.core.osgitools.OsgiManifestParserException: Exception parsing OSGi MANIFEST C:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc: Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamco ncert-plugin\com.ibm.team.build.hjplugin-rtc.
  3. 0

    eclipse.buildScript results in non-fatal JAVA exception if buildDirectory is empty

    Eclipse Bugzilla | 1 decade ago | John.Bossom
    org.eclipse.osgi.service.pluginconversion.PluginConversionException: Could not find a plugin.xml or a fragment.xml in c:\bug\buildDirectory.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.eclipse.osgi.service.pluginconversion.PluginConversionException

      Could not find a META-INF/MANIFEST.MF, plugin.xml or a fragment.xml in C:\git\teamconcert-plugin\com.ibm.team.build.hjplugin-rtc.

      at org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.fillPluginInfo()
    2. Eclipse OSGi
      PluginConverterImpl.convertManifest
      1. org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:114)
      2. org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:714)
      3. org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:722)
      3 frames
    3. Tycho Core (Incubation)
      TychoMavenLifecycleParticipant.afterProjectsRead
      1. org.eclipse.tycho.core.osgitools.DefaultBundleReader.convertPluginManifest(DefaultBundleReader.java:124)
      2. org.eclipse.tycho.core.osgitools.DefaultBundleReader.loadManifestFromDirectory(DefaultBundleReader.java:106)
      3. org.eclipse.tycho.core.osgitools.DefaultBundleReader.doLoadManifest(DefaultBundleReader.java:65)
      4. org.eclipse.tycho.core.osgitools.DefaultBundleReader.loadManifest(DefaultBundleReader.java:56)
      5. org.eclipse.tycho.core.osgitools.OsgiBundleProject.readArtifactKey(OsgiBundleProject.java:142)
      6. org.eclipse.tycho.core.osgitools.OsgiBundleProject.setupProject(OsgiBundleProject.java:131)
      7. org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:62)
      8. org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:77)
      8 frames
    4. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
      2. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      2 frames
    5. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    7. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      4 frames