Hi
What are dependency types, and what is "test-jar" type? Can you explain?
What I found here: http://maven.apache.org/maven-model/maven.html
about dependency types seems to be about M1, not M2.
I mean this:
"When Maven goes looking for a dependency in the remote repository,
it uses the dependency element to construct the URL to download from.
This URL is defined as:
${repo}/${groupId}/${type}s/${artifactId}-${version}.${type}"
Am I right or wrong? I haven't seen anything about dependency types in M2 so
far.
Greg
----- Original Message -----
From: "Carlos Sanchez (JIRA)" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, February 03, 2006 8:58 PM
Subject: [jira] Created: (MNG-2035) Add transitive dependencies with test
scope when depending on a test-jar type dependency
Add transitive dependencies with test scope when depending on a test-jar
type dependency
----------------------------------------------------------------------------------------
Key: MNG-2035
URL: http://jira.codehaus.org/browse/MNG-2035
Project: Maven 2
Type: New Feature
Components: Dependencies
Versions: 2.0, 2.0.1, 2.0.2
Reporter: Carlos Sanchez
Priority: Minor
Fix For: 2.1
If I add a test-jar dependency, then it's dependencies in test scope
should be transitively added in test scope.
<dependency>
<groupId>x</groupId>
<artifactId>y</artifactId>
<version>1.0</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.0/248 - Release Date: 2006-02-01
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]