Details

    • Type: Sub-task
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.1.0.Alpha1
    • Component/s: maven
    • Labels:
      None

      Description

      Using TP from JBIDE-13336 which contain:

      <unit id="org.eclipse.jpt.common.feature.feature.group" version="1.3.0.v201210121950-67A-AkF7BFAM7P7EQM"/>
      <unit id="org.eclipse.jpt.common.eclipselink.feature.feature.group" version="1.3.0.v201210121950-35-8s73574E3D38C8"/>
      <unit id="org.eclipse.jpt.jpa.eclipselink.feature.feature.group" version="3.3.0.v201210121950-7K7P0EVVFNVKhJeGepg6NHG"/>
      <unit id="org.eclipse.jpt.jpa.feature.feature.group" version="3.3.0.v201210121950-7W7W4FBBoParY-XLUG4H6NHG"/>
      <unit id="org.eclipse.jpt.jaxb.feature.feature.group" version="1.3.0.v201210121950-57A-AkF7BFAM7P7EQM"/>
      

      ,

      I couldn't build the maven/central component because of an issue in org.jboss.tools.maven.hibernate bundle

      [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.16.0:compile (default-compile) on project org.jboss.tools.maven.hibernate: Compilation failure: Compilation failure:
      [ERROR] /home/mistria/git/jbosstools-central/maven/plugins/org.jboss.tools.maven.hibernate/src/org/jboss/tools/maven/hibernate/libprov/MavenHibernateLibraryProviderInstallOperationConfig.java:[15,0]
      [ERROR] import org.eclipse.jpt.common.core.JptCommonCorePlugin;
      [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      [ERROR] The import org.eclipse.jpt.common.core.JptCommonCorePlugin cannot be resolved
      [ERROR] /home/mistria/git/jbosstools-central/maven/plugins/org.jboss.tools.maven.hibernate/src/org/jboss/tools/maven/hibernate/libprov/MavenHibernateLibraryProviderInstallOperationConfig.java:[18,0]
      [ERROR] import org.eclipse.jpt.jpa.core.platform.JpaPlatformDescription;
      [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      [ERROR] The import org.eclipse.jpt.jpa.core.platform.JpaPlatformDescription cannot be resolved
      [ERROR] /home/mistria/git/jbosstools-central/maven/plugins/org.jboss.tools.maven.hibernate/src/org/jboss/tools/maven/hibernate/libprov/MavenHibernateLibraryProviderInstallOperationConfig.java:[25,0]
      [ERROR] public class MavenHibernateLibraryProviderInstallOperationConfig extends MavenLibraryProviderInstallOperationConfig implements JpaLibraryProviderInstallOperationConfig {
      [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      [ERROR] The type MavenHibernateLibraryProviderInstallOperationConfig must implement the inherited abstract method JpaLibraryProviderInstallOperationConfig.setJpaPlatformConfig(JpaPlatformConfig)
      [ERROR] /home/mistria/git/jbosstools-central/maven/plugins/org.jboss.tools.maven.hibernate/src/org/jboss/tools/maven/hibernate/libprov/MavenHibernateLibraryProviderInstallOperationConfig.java:[25,0]
      [ERROR] public class MavenHibernateLibraryProviderInstallOperationConfig extends MavenLibraryProviderInstallOperationConfig implements JpaLibraryProviderInstallOperationConfig {
      [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      [ERROR] The type MavenHibernateLibraryProviderInstallOperationConfig must implement the inherited abstract method JpaLibraryProviderInstallOperationConfig.getJpaPlatformConfig()
      [ERROR] /home/mistria/git/jbosstools-central/maven/plugins/org.jboss.tools.maven.hibernate/src/org/jboss/tools/maven/hibernate/libprov/MavenHibernateLibraryProviderInstallOperationConfig.java:[27,0]
      [ERROR] private JpaPlatformDescription jpaPlatformDescription;
      [ERROR] ^^^^^^^^^^^^^^^^^^^^^^
      [ERROR] JpaPlatformDescription cannot be resolved to a type
      [ERROR] /home/mistria/git/jbosstools-central/maven/plugins/org.jboss.tools.maven.hibernate/src/org/jboss/tools/maven/hibernate/libprov/MavenHibernateLibraryProviderInstallOperationConfig.java:[29,0]
      [ERROR] public JpaPlatformDescription getJpaPlatform() {
      [ERROR] ^^^^^^^^^^^^^^^^^^^^^^
      [ERROR] JpaPlatformDescription cannot be resolved to a type
      [ERROR] /home/mistria/git/jbosstools-central/maven/plugins/org.jboss.tools.maven.hibernate/src/org/jboss/tools/maven/hibernate/libprov/MavenHibernateLibraryProviderInstallOperationConfig.java:[30,0]
      [ERROR] return jpaPlatformDescription;
      [ERROR] ^^^^^^^^^^^^^^^^^^^^^^
      [ERROR] JpaPlatformDescription cannot be resolved to a type
      [ERROR] /home/mistria/git/jbosstools-central/maven/plugins/org.jboss.tools.maven.hibernate/src/org/jboss/tools/maven/hibernate/libprov/MavenHibernateLibraryProviderInstallOperationConfig.java:[33,0]
      [ERROR] public void setJpaPlatform(JpaPlatformDescription jpaPlatform) {
      [ERROR] ^^^^^^^^^^^^^^^^^^^^^^
      [ERROR] JpaPlatformDescription cannot be resolved to a type
      [ERROR] /home/mistria/git/jbosstools-central/maven/plugins/org.jboss.tools.maven.hibernate/src/org/jboss/tools/maven/hibernate/libprov/MavenHibernateLibraryProviderInstallOperationConfig.java:[34,0]
      [ERROR] this.jpaPlatformDescription = jpaPlatform;
      [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      [ERROR] JpaPlatformDescription cannot be resolved to a type
      [ERROR] /home/mistria/git/jbosstools-central/maven/plugins/org.jboss.tools.maven.hibernate/src/org/jboss/tools/maven/hibernate/libprov/MavenHibernateLibraryProviderInstallOperationConfig.java:[43,0]
      [ERROR] if (getJpaPlatform() != null) {
      [ERROR] ^^^^^^^^^^^^^^
      [ERROR] The method getJpaPlatform() from the type MavenHibernateLibraryProviderInstallOperationConfig refers to the missing type JpaPlatformDescription
      [ERROR] /home/mistria/git/jbosstools-central/maven/plugins/org.jboss.tools.maven.hibernate/src/org/jboss/tools/maven/hibernate/libprov/MavenHibernateLibraryProviderInstallOperationConfig.java:[44,0]
      [ERROR] for (LibraryValidator libraryValidator : JptCommonCorePlugin.getLibraryValidators(this)) {
      [ERROR] ^^^^^^^^^^^^^^^^^^^
      [ERROR] JptCommonCorePlugin cannot be resolved
      [ERROR] /home/mistria/git/jbosstools-central/maven/plugins/org.jboss.tools.maven.hibernate/src/org/jboss/tools/maven/hibernate/libprov/HibernateLibValidator.java:[26,0]
      [ERROR] if (jpaConfig.getJpaPlatform().getId().contains("hibernate")) {
      [ERROR] ^^^^^^^^^^^^^^
      [ERROR] The method getJpaPlatform() is undefined for the type JpaLibraryProviderInstallOperationConfig
      [ERROR] 12 problems (12 errors)
      

      Please re-assign this issue to me if you think we should use and ship another version of JBT.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                fbricon Fred Bricon
                Reporter:
                mickael_istria Mickael Istria
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: