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] [Updated] (MTOMCAT-210) Tomcat7 plugin fails in multi module project when test dependencies are present
Date Fri, 01 Nov 2013 05:51:19 GMT

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

Olivier Lamy (*$^¨%`£) updated MTOMCAT-210:
-------------------------------------------

    Fix Version/s: moreinfo

> 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.1#6144)

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


Mime
View raw message