Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-75

Dependency scope of "tomcat" needed for addContextWarDependencies to work in run/run-war goals.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.1
    • None
    • None
    • None

    Description

      The feature to deploy dependency wars to embedded containers created with tomcat:run and tomcat:run-war depend upon a war dependency scope being defined as "tomcat". It would seem a much cleaner to allow the configuration of such war dependencies in the plugin dependencies using a valid dependency scope.

      Log Output:
      [WARNING] Some problems were encountered while building the effective model for com.rynam0:tomcat-maven-plugin-test:war:1.0-SNAPSHOT
      [WARNING] 'dependencies.dependency.scope' for com.rynam0:simple-portal-war:war must be one of [provided, compile, runtime, test, system] but is 'tomcat'. @ line 22, column 14
      [WARNING]
      [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
      [WARNING]
      [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
      [WARNING]

      Attachments

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              rynam0 Ryan Connolly
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: