maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Kuleshov (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNGECLIPSE-204) <classifier> JAR dependencies ignored
Date Mon, 30 Oct 2006 00:17:36 GMT
    [ http://jira.codehaus.org/browse/MNGECLIPSE-204?page=comments#action_78790 ] 
            
Eugene Kuleshov commented on MNGECLIPSE-204:
--------------------------------------------

Please attach sample Eclipse projects required to reproduce this issue. Thanks.

> <classifier> JAR dependencies ignored
> -------------------------------------
>
>                 Key: MNGECLIPSE-204
>                 URL: http://jira.codehaus.org/browse/MNGECLIPSE-204
>             Project: Maven 2.x Extension for Eclipse
>          Issue Type: Bug
>          Components: Dependency Resolver
>    Affects Versions: 0.0.9
>            Reporter: Al Maw
>
> I depend on the tests in one project in another, where I extend them.
> If the artifact is not available as another project managed using the plug-in, the plug-in
fails to add the foo-x.y-tests.jar to the classpath container.
> To publish the test artifact:
>       <plugin>
>         <artifactId>maven-jar-plugin</artifactId>
>         <executions>
>           <execution>
>             <goals>
>               <goal>test-jar</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> To include the artifact in another project:
>     <dependency>
>       <!-- [...] -->
>       <classifier>tests</classifier>
>       <scope>test</scope>
>     </dependency>
> If you find this hard to reproduce/fathom and require a test case, please add a comment
and I can cook one up for you.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message