tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy (*$^¨%`£) (JIRA) <j...@apache.org>
Subject [jira] [Closed] (MTOMCAT-289) Overriding the tomcat plugin dependencies to 7.0.53 does not get picked up by dependency:resolve-plugins
Date Tue, 16 Dec 2014 05:44:13 GMT

     [ https://issues.apache.org/jira/browse/MTOMCAT-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olivier Lamy (*$^¨%`£) closed MTOMCAT-289.
------------------------------------------
    Resolution: Not a Problem

> Overriding the tomcat plugin dependencies to 7.0.53 does not get picked up by dependency:resolve-plugins
> --------------------------------------------------------------------------------------------------------
>
>                 Key: MTOMCAT-289
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-289
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.2
>            Reporter: John Harvey
>            Assignee: Olivier Lamy (*$^¨%`£)
>         Attachments: pom.xml
>
>
> ENVIRONMENT:
> Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T16:58:10-04:00)
> Maven home: /opt/apache-maven-3.2.3
> Java version: 1.7.0_71, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.9.4", arch: "x86_64", family: "mac"
> DESCRIPTION:
> I'm trying to override the maven-tomcat-plugin with the 7.0.53 version of tomcat, but
dependency:resolve-plugins says it's not working.  I'm not sure if there is a bug with the
tomcat plugin, or if the resolve-plugins part of the dependency plugin is simply reporting
incorrect data.
> Here's a test pom:
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
>     <modelVersion>4.0.0</modelVersion>
>  
>     <groupId>com.tomcattest</groupId>
>     <artifactId>test</artifactId>
>     <version>1.0-SNAPSHOT</version>
>  
>     <properties>
>         <tomcat.version>7.0.53</tomcat.version>
>     </properties>
>  
>     <build>
>         <plugins>
>             <plugin>
>                 <groupId>org.apache.tomcat.maven</groupId>
>                 <artifactId>tomcat7-maven-plugin</artifactId>
>                 <version>2.2</version>
>                 <dependencies>
>                     <dependency>
>                         <groupId>org.apache.tomcat.embed</groupId>
>                         <artifactId>tomcat-embed-core</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-util</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-coyote</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-api</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>  
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-jdbc</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>  
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-dbcp</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>  
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-servlet-api</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>  
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-jsp-api</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>  
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-jasper</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>  
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-jasper-el</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>  
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-el-api</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>  
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-catalina</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>  
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-tribes</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>  
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-catalina-ha</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>  
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-annotations-api</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>  
>                     <dependency>
>                         <groupId>org.apache.tomcat</groupId>
>                         <artifactId>tomcat-juli</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>  
>                     <dependency>
>                         <groupId>org.apache.tomcat.embed</groupId>
>                         <artifactId>tomcat-embed-logging-juli</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>                     <dependency>
>                         <groupId>org.apache.tomcat.embed</groupId>
>                         <artifactId>tomcat-embed-logging-log4j</artifactId>
>                         <version>${tomcat.version}</version>
>                     </dependency>
>                 </dependencies>
>             </plugin>
>         </plugins>
>     </build>
> </project>
> Command:
> mvn dependency:resolve-plugins
> Output:
> [INFO] Plugin Resolved: tomcat7-maven-plugin-2.2.jar
> [INFO]     Plugin Dependency Resolved: tomcat-embed-core-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-util-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-coyote-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-api-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-jdbc-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-dbcp-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-servlet-api-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-jsp-api-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-jasper-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-jasper-el-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-el-api-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-catalina-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-tribes-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-catalina-ha-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-annotations-api-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-juli-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-embed-logging-juli-7.0.47.jar
> [INFO]     Plugin Dependency Resolved: tomcat-embed-logging-log4j-7.0.47.jar
> ...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message