[
https://issues.apache.org/jira/browse/MTOMCAT-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Lund updated MTOMCAT-118:
------------------------------
Environment:
Apache Maven 3.0 (r1004208; 2010-10-04 12:50:56+0100)
Java version: 1.6.0_24
Java home: C:\dev\java\java\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
> 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
> Environment: Apache Maven 3.0 (r1004208; 2010-10-04 12:50:56+0100)
> Java version: 1.6.0_24
> Java home: C:\dev\java\java\jre
> Default locale: en_GB, platform encoding: Cp1252
> OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
> 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: [email protected]
For additional commands, e-mail: [email protected]