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

EAP 6.1 maven repo not recognized for use with Java EE Web Project wizard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.1.CR1
    • 4.1.0.Final
    • maven, project-examples
    • None
    • Hide

      0. Have a vanilla install: settings.xml file with no profiles; clean repositories/ directory; a clean install of JBDS 7.0.0.
      1. Start JBDS.
      2. Configure maven for EAP 6.1: Window > Preferences > JBoss Tools > JBoss Maven Integration; click 'Configure Maven Repositories'; click 'Add repository'; click 'Recognize JBoss Maven Enterprise Repositories'; locate EAP 6.1 maven repo directory; click 'OK' to add the repo; click 'Finish' and 'OK' to update settings.xml
      3. Create EAP 6.1 server: Window > Preferences > JBoss Tools > JBoss Runtime Detection; click 'Add'; locate EAP 6.1 install directory; click 'OK' to create EAP 6.1 runtime
      4. Start Java EE Web Project wizard: Click 'Java EE Web Project'; for Target Runtime select 'EAP 6.1 runtime'
      > Warning message about no enterprise maven repo is displayed

      Show
      0. Have a vanilla install: settings.xml file with no profiles; clean repositories/ directory; a clean install of JBDS 7.0.0. 1. Start JBDS. 2. Configure maven for EAP 6.1: Window > Preferences > JBoss Tools > JBoss Maven Integration; click 'Configure Maven Repositories'; click 'Add repository'; click 'Recognize JBoss Maven Enterprise Repositories'; locate EAP 6.1 maven repo directory; click 'OK' to add the repo; click 'Finish' and 'OK' to update settings.xml 3. Create EAP 6.1 server: Window > Preferences > JBoss Tools > JBoss Runtime Detection; click 'Add'; locate EAP 6.1 install directory; click 'OK' to create EAP 6.1 runtime 4. Start Java EE Web Project wizard : Click 'Java EE Web Project'; for Target Runtime select 'EAP 6.1 runtime' > Warning message about no enterprise maven repo is displayed
    • Hide

      Add EAP 6.0.0 or 6.0.1 maven repo to settings.xml.

      Show
      Add EAP 6.0.0 or 6.0.1 maven repo to settings.xml.

      For the Java EE Web Project wizard, the EAP 6.1 maven repo is not recognized as being a JBoss Enterprise Maven repository.

      The project states that it can be used with EAP 6 so I would assume this to include EAP 6.0 and 6.1.

      Attached are:

      • my settings.xml file, with profiles generated by JBDS 'Configure Maven Repositories'
      • screenshot of added EAP 6.1 maven repo
      • Screenshot of enterprise maven repo warning in Java EE Web Project wizard

        1. Maven_warning.png
          Maven_warning.png
          75 kB
        2. Maven_EAP61.png
          Maven_EAP61.png
          47 kB
        3. settings.xml
          2 kB

            fbricon@redhat.com Fred Bricon
            mmurray1@redhat.com Michelle Murray (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: