Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21857

com.ibm.team.build.hjplugin-rtc is missing the MANIFEST.MF

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • teamconcert-plugin
    • None

      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:

      [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
      

            hfraserdube Heather Fraser-Dube
            sjka Simon Kaufmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: