You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Dennis Lundberg (JIRA)" <ji...@apache.org> on 2015/03/02 09:18:07 UTC
[jira] [Closed] (MTOMCAT-210) Tomcat7 plugin fails in multi module
project when test dependencies are present
[ https://issues.apache.org/jira/browse/MTOMCAT-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MTOMCAT-210.
-----------------------------------
Resolution: Incomplete
> Tomcat7 plugin fails in multi module project when test dependencies are present
> -------------------------------------------------------------------------------
>
> Key: MTOMCAT-210
> URL: https://issues.apache.org/jira/browse/MTOMCAT-210
> Project: Apache Tomcat Maven Plugin
> Issue Type: Bug
> Components: tomcat7
> Affects Versions: 2.1
> Reporter: Ludwig Magnusson
> Assignee: Olivier Lamy (*$^¨%`£)
> Fix For: moreinfo
>
>
> In a multi module project:
> parent
> - api
> - impl
> - webapp
> Suppose that the impl depends on api with scope compile and on the api tests with scope test:
> <dependency>
> <groupId>mygroup</groupId>
> <artifactId>api</artifactId>
> <version>${project.version}</version>
> </dependency>
> <dependency>
> <groupId>mygroup</groupId>
> <artifactId>api</artifactId>
> <version>${project.version}</version>
> <classifier>tests</classifier>
> <scope>test</scope>
> </dependency>
> This will cause tomcat7:run to fail. It says that it cannot find api-tests.jar even though it should not look for it. The plugin works if one runs "mvn test-compile tomcat7:run" because now the test classes are included in the reactor.
> This bug is not present in the tomcat6 plugin.
--
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