Uploaded image for project: 'JBoss Developer Materials'
  1. JBoss Developer Materials
  2. JDF-207

Testing of quickstarts which use MavenDependencyResolver is not well documented

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • jdfsite-2.1.0.Final
    • quickstarts
    • None

      Several quickstarts (at least deltaspike-beanbuilder, deltaspike-deactivatable, cdi-add-interceptor-binding, kitchensink-deltaspike) use MavenDependencyResolver to generate a deployment for testing. Its functionality relies on correct Maven settings in the default locations (global, user).

      The README in quickstarts root, section "Configure Maven" (EAP6), point 4, describes the possibility to use Maven settings configured by the "-s" option of mvn. That, however, breaks the tests which use MavenDependencyResolver, because that way the correct Maven settings are not available to MavenDependencyResolver.

      It is necessary to state in the README that the option descibed in point 4 can't be used with MavenDependencyResolver, or possibly modify those quickstarts so that they use the configureFrom method with some system property, to read the settings file.

              Unassigned Unassigned
              rsmeral Ron Šmeral (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: