Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10588

Installing on top of plain Eclipse IDE JBoss Maven Seam Integration plugin breaks Maven integration for WTP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 4.1.0.Alpha2
    • 3.3.0.M5
    • maven
    • None
    • Hide

      1. Install JBoss Maven Seam Integration from http://download.jboss.org/jbosstools/updates/development/indigo/
      2. Create a Maven WAR project using archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0
      3. Observe WTP configurator failure

      Show
      1. Install JBoss Maven Seam Integration from http://download.jboss.org/jbosstools/updates/development/indigo/ 2. Create a Maven WAR project using archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 3. Observe WTP configurator failure

      After installing istalling JBoss Maven Seam Integration plugin from http://download.jboss.org/jbosstools/updates/development/indigo/ m2e-wtp configurator stopped working. Running Maven > Update Configuration produces to following error on any project that is using war or ejb packaging (ear is OK):

      Project configurator "org.jboss.tools.maven.seam.configurator" is not available. To enable full functionality, install the project configurator and run Maven->Update Project Configuration.

      Additionally, maven-ejb-plugin and maven-war-plugin executions are reported as not covered by by lifecycle configuration.

      I've checked with OSGi host console and org.jboss.tools.maven.seam bundle is deployed:

      osgi> ss org.jboss.tools.maven.seam
      id State Bundle
      774 ACTIVE org.jboss.tools.maven.seam_1.3.0.v20111209-0524-H40-M5

      The configurator extension is also deployed:

      osgi> pt -v org.eclipse.m2e.core.projectConfigurators
      Extension(s):
      -------------------
      null [from org.jboss.tools.maven.seam]
      <configurator>
      id = org.jboss.tools.maven.seam.configurator
      class = org.jboss.tools.maven.seam.configurators.SeamProjectConfigurator
      name = Seam
      secondaryTo = org.maven.ide.eclipse.configuration.wtp.configurator
      </configurator>

      Alas, the configurator class cannot be instantiated. Eclipse error log contains the following:

      Plug-in "org.jboss.tools.maven.seam" was unable to instantiate class "org.jboss.tools.maven.seam.configurators.SeamProjectConfigurator".
      An exception stack trace is not available.

            fbricon@redhat.com Fred Bricon
            rkrzewski Rafał Krzewski (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: