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

seam-registration examle from wolf test repo is incorrectly deployed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M2
    • 3.3.0.M1
    • maven
    • JBossTools 3.3.0 M1 on top of indigo 3.7 M6a, org.eclipse.m2e.core (0.13.0.201103291237), org.maven.ide.eclipse.wtp (0.13.0.201103231111)

    • Hide

      1. download latest wolf repo build
      2. setup maven to use this repo
      3. get wolf repository testsuite
      4. assert that webapp-seam-registration can be deployed out-of-the box using JBossTools as it is when deploying it using mvn jboss:deploy

      Show
      1. download latest wolf repo build 2. setup maven to use this repo 3. get wolf repository testsuite 4. assert that webapp-seam-registration can be deployed out-of-the box using JBossTools as it is when deploying it using mvn jboss:deploy

      I am testing wolf repository (maven repo of EAP 5.1). There are several example projects. These examples depend on maven artifacts shipped by wolf repo. There is a problem with example called webapp-seam-registration. This example can be built and deployed using maven CLI (mvn install jboss:deploy). But .. when I import it into JBoss Tools using 'Import existing maven project' and then deploy it on EAP 5.1 I get deployment errors. I was comparing the deoplyed EARs and found out, that the problem is, that component.xml (contained in registration-web project) is not deployed/added to archive.

      When deploying using mvn jboss:deploy components.xml gets into registration-ear.ear/jboss-seam-registration.war/WEB-INF
      but when deploying by JBossTools components.xml is missing there.

      I am not sure if it is a bug in tooling or bad configuraion in pom. I'll attach example project together with settings.xml for easy configuration.

              fbricon@redhat.com Fred Bricon
              lzoubek Libor Zoubek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: