I see it differently (as mixture of group and transitive dependencies)
In your main POM you do:
<dependecy> <groupId>footolkit.org</groupId> <artifactId>footoolkit</artifactId> <vesrion>1.0</version> <type>pom</type> <--- This mean group dependecy <kind>runtime</kind> <transitive>true</transitive> <dependecy>
This is group dependency with a hint that transitive dependencies should be followed/resolved.
I see what you mean. I think I just got it upside-down: I was trying to specify what deependencies are transitive on the source (export) side,
instaead of the destination (import) side.
Let's say that you do "war:war" for this project. I want to see all runtime
dependencies budled in this case. In addition I don't want to have any extra
metadata
Simply POM of Footoolkit will be consulted. There we should find (note that those "strange" "kind"s like war.bundle.true are gone)
<project>
<groupId>footolkit.org</groupId>
<artifactId>footoolkit</artifactId>
<vesrion>1.0</version>
<dependencies>
<dependency>
<groupId>footolkit.org</groupId>
<artifactId>footoolkit </artifactId>
<version>${pom.version}</version>
<type>jar</type>
<kind>runtime</kind>> </dependency>
<dependency>
<groupId>footolkit.org</groupId>
<artifactId>footoolkit-tags</artifactId>
<version>${pom.version}</version>
<type>tld</type>
<kind>runtime</kind>
</dependency>
<dependency>
<groupId>footolkit.org</groupId>
<artifactId>footoolkit-content</artifactId>
<version>${pom.version}</version>
<type>web-content</type>
<kind>runtime</kind>
</dependency>
</dependencies>
</project>
War plugin will be able to bundle some of types of artifacts ("jars", "tlds" maybe even "web-content") I don't see a reason to mark them in special way.
I agree. If you dedcide to depend on something, then basicly it's runtime dependencies should become your runtime dependencies, shouldn't they? In this light, I'm wondering if the the 'transitive' hint is at
neccessary at all!
I don't see any reason why would we need things like: war.bundle.transitive Why to complicate things? And then you need special markup in other projects I don't think that you should expect such meta-information there nor you will be able to control it (some of them won't be yours)
That .transitive thing was a plain silly idea. What I really meant was <kind> and <transitive-kind>, but that is irrelevant now.
R.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
