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

JBoss Maven Archetypes won't import in offline mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.Beta2
    • 4.1.2.CR1
    • project-examples
    • None
    • Hide

      Turn JBoss Tools into offline mode (execute groovy script, disconnect from internet, turn jboss tools into offline mode in preferences)
      Try to import some example other than those in JBoss Maven Archetype -> should succeed
      Try to import som example from JBoss Maven Archetype section -> fails with "Could not resolve archetype" error

      Show
      Turn JBoss Tools into offline mode (execute groovy script, disconnect from internet, turn jboss tools into offline mode in preferences) Try to import some example other than those in JBoss Maven Archetype -> should succeed Try to import som example from JBoss Maven Archetype section -> fails with "Could not resolve archetype" error

      I've executed groovy offline script and switched jboss tools to offline mode.
      All examples are working, so I think I have the offline mode configured correclty.
      Well... all examples except JBoss Maven Archetypes (those 4 from JBoss Central, and the rest from New Project Example wizard under JBoss Maven Archetypes section).
      All archetypes end up with "Could not resolve archetype" error

      For example for HTML5 Project archetype:

      "Could not resolve artifact org.jboss.aerogear.archetypes:jboss-html5-mobile-archetype:pom:1.0.0.M5"

      When I look into local repository, generated by groovy script, I see org/jboss/aerogear/archetypes/jboss-html5-mobile-archetype/1.0.0.M5 folder empty (except maven .lastUpdated and .properties files).
      Although in org/jboss/aerogear/archetypes/jboss-html5-mobile-archetype/7.1.3.Final, there is jar with that project.

            fbricon@redhat.com Fred Bricon
            rhopp@redhat.com Radim Hopp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: