Thanks for the reference. This makes sense. However, this makes the
other change you made right after this (r932648) all the more confusing.
Joe
On 4/13/10 12:50 PM, Jeremy Hughes wrote:
On 12 April 2010 21:29, Joe Bohn<[email protected]> wrote:
Jeremy,
Do you recall why these additions were necessary - what type of error you
hit without them?
From an email sent by David Jencks on Mar 2 [1]:
4. each subproject has dependency management for everything included
in it. In addition, it has its subprojects listed in dependency
management. (this is bent slightly for the samples). This means that
(a) modules in a subproject don't need to include versions for use of
other modules
(b) you can get dependency management for all the modules in a
subproject by depending on the subproject pom with scope import. (see
the samples pom for an example).
5. As a result of (4), modules don't have any versions in any
dependency elements.
So I made this change to get the above behaviour. I don't recall the
error as I had many of them throughout the whirlwind that was the
release preparation. :-)
[1]
http://mail-archives.apache.org/mod_mbox/incubator-aries-dev/201003.mbox/%[email protected]%3e
Joe
On 4/9/10 7:14 PM, [email protected] wrote:
Author: hughesj
Date: Fri Apr 9 23:14:51 2010
New Revision: 932645
URL: http://svn.apache.org/viewvc?rev=932645&view=rev
Log:
ARIES-173 added dependency elements
Modified:
incubator/aries/trunk/samples/ariestrader/pom.xml
Modified: incubator/aries/trunk/samples/ariestrader/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/aries/trunk/samples/ariestrader/pom.xml?rev=932645&r1=932644&r2=932645&view=diff
==============================================================================
--- incubator/aries/trunk/samples/ariestrader/pom.xml (original)
+++ incubator/aries/trunk/samples/ariestrader/pom.xml Fri Apr 9 23:14:51
2010
@@ -36,6 +36,20 @@
<siteId>ariestrader</siteId>
</properties>
+<dependencyManagement>
+<dependencies>
+<dependency>
+<groupId>org.apache.aries.samples.ariestrader</groupId>
+<artifactId>modules</artifactId>
+<version>${version}</version>
+</dependency>
+<dependency>
+<groupId>org.apache.aries.samples.ariestrader</groupId>
+<artifactId>assemblies</artifactId>
+<version>${version}</version>
+</dependency>
+</dependencies>
+</dependencyManagement>
<modules>
<!-- application components-->
--
Joe
--
Joe