Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.20
    • Component/s: None
    • Labels:
      None

      Description

      This is a new Maven project that produces a POM that sets all of Struts libraries and plugins to the same version. The consuming developer just has to modify their POM like this to simplify their dependency management:

      <dependency>
        <groupId>org.apache.struts</groupId>
        <artifactId>struts2-bom</artifactId>
        <version>2.X.X</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      
      1. WW-4326.patch
        7 kB
        Paul Benedict

        Activity

        Hide
        pbenedict pbenedict added a comment -

        One issue TBD is the parent POM, if any. Do we want one? If we do, it cannot be struts2-parent because that causes a chicken-and-egg problem (i.e., parent requires child to set dependencies but child needs parent for build). The alternative is to use struts2-master. Thoughts?

        Show
        pbenedict pbenedict added a comment - One issue TBD is the parent POM, if any. Do we want one? If we do, it cannot be struts2-parent because that causes a chicken-and-egg problem (i.e., parent requires child to set dependencies but child needs parent for build). The alternative is to use struts2-master. Thoughts?
        Hide
        lukaszlenart Lukasz Lenart added a comment -

        Let's make the first step, we can always improve! Thanks for the patch!

        Show
        lukaszlenart Lukasz Lenart added a comment - Let's make the first step, we can always improve! Thanks for the patch!
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 2da93000d76eb5230884d828959f09cb90ef6e8f in struts's branch refs/heads/develop from Lukasz Lenart
        [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=2da9300 ]

        WW-4326 Defines bom to simplify version management

        Show
        jira-bot ASF subversion and git services added a comment - Commit 2da93000d76eb5230884d828959f09cb90ef6e8f in struts's branch refs/heads/develop from Lukasz Lenart [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=2da9300 ] WW-4326 Defines bom to simplify version management
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Struts-JDK6-develop #57 (See https://builds.apache.org/job/Struts-JDK6-develop/57/)
        WW-4326 Defines bom to simplify version management (lukaszlenart: rev 2da93000d76eb5230884d828959f09cb90ef6e8f)

        • pom.xml
        • bom/pom.xml
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Struts-JDK6-develop #57 (See https://builds.apache.org/job/Struts-JDK6-develop/57/ ) WW-4326 Defines bom to simplify version management (lukaszlenart: rev 2da93000d76eb5230884d828959f09cb90ef6e8f) pom.xml bom/pom.xml

          People

          • Assignee:
            lukaszlenart Lukasz Lenart
            Reporter:
            pbenedict Paul Benedict
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development