Apache Tomcat Maven Plugin
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-231

tomcat6:run fail with jdk1.5 because commons-io-2.4 requires jdk1.6

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.1
    • Fix Version/s: 2.2
    • Component/s: tomcat6
    • Environment:
      all

      Description

      You can't launch mvn tomcat6:run with jdk5 because the plugin dependency commons-io-2.4 requires jdk6.

        Activity

        Hide
        ricou7b added a comment -

        Hi,

        I've modified the file tomcat-maven-plugin-2.0.pom to use commons-io 2.2 and it works:

        l497 to l501:
        <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>2.2</version>
        </dependency>

        Regards,

        Show
        ricou7b added a comment - Hi, I've modified the file tomcat-maven-plugin-2.0.pom to use commons-io 2.2 and it works: l497 to l501: <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.2</version> </dependency> Regards,
        Hide
        Olivier Lamy (*$^¨%`£) added a comment -

        fixed.
        BTW you can change the dependency in <dependencies> element of the plugin declaration in your pom.

        Show
        Olivier Lamy (*$^¨%`£) added a comment - fixed. BTW you can change the dependency in <dependencies> element of the plugin declaration in your pom.
        Hide
        ricou7b added a comment -

        thx for all, I've deployed your solution.
        cheers,

        Show
        ricou7b added a comment - thx for all, I've deployed your solution. cheers,
        Hide
        Hudson added a comment -

        Integrated in TomcatMavenPlugin-mvn3.x #252 (See https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/252/)
        MTOMCAT-231 tomcat6:run fail with jdk1.5 because commons-io-2.4 requires jdk1.6 (Revision 1501183)

        Result = SUCCESS
        olamy : http://svn.apache.org/viewvc/?view=rev&rev=1501183
        Files :

        • /tomcat/maven-plugin/trunk/pom.xml
        Show
        Hudson added a comment - Integrated in TomcatMavenPlugin-mvn3.x #252 (See https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/252/ ) MTOMCAT-231 tomcat6:run fail with jdk1.5 because commons-io-2.4 requires jdk1.6 (Revision 1501183) Result = SUCCESS olamy : http://svn.apache.org/viewvc/?view=rev&rev=1501183 Files : /tomcat/maven-plugin/trunk/pom.xml

          People

          • Assignee:
            Olivier Lamy (*$^¨%`£)
            Reporter:
            ricou7b
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development