tomcat7:run wont accept additionalClasspathDir arguments --------------------------------------------------------
Key: MTOMCAT-118 URL: https://issues.apache.org/jira/browse/MTOMCAT-118 Project: Apache Tomcat Maven Plugin Issue Type: Bug Components: tomcat7 Affects Versions: 2.0-beta-1, 2.0 Reporter: Dave Lund Assignee: Olivier Lamy Using the below configuration, the following error is given: [ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.0-SNAPSHOT:run (default-cli) on project XXX: A type incompatibility occured while executing org.apache.tomcat.maven:tomcat7-maven-plugin:2.0-SNAPSHOT:run: java.lang.String cannot be cast to java.io.File Example taken from docs site http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/run-mojo-features.html <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <version>2.0-SNAPSHOT</version> <configuration> <!-- http port --> <port>9090</port> <path>/</path> <useTestClasspath>false</useTestClasspath> <contextFile>src/sandbox/tomcat/sandbox-context.xml</contextFile> <additionalClasspathDirs> <additionalClasspathDir>src/test/resources</additionalClasspathDir> </additionalClasspathDirs> </configuration> <dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>${mysql.mysql-connector-java}</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>0.9.15</version> </dependency> </dependencies> </plugin> -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org