Henri Yandell <[EMAIL PROTECTED]> writes:
>On 9/6/05, Andy Glick <[EMAIL PROTECTED]> wrote:
>> Henri,
>>
>> I'm the glick who conversed with you on the #maven irc. I got something
>> similar to your example to work, I think, but I'm using Maven 1.1b1 rather
>> than Maven 1.0.1. I'm not sure why your version isn't working.
>Me neither, but the 1.0.1 -> 1.1b1 move seems to fix it. 1.0.2 didn't
>work either. Must have been something that got fixed in Jelly I guess,
>so I could potentially fix it by throwing a new Jelly in, but I guess
>it won't hurt to start the move to 1.1b1 for osjava stuff.
Nope. It is not the maven version. That works fine for me (maven
1.0.2, JDK 1.3.1_16 or JDK 1.4.2_09, Fedora Core 3):
<goal name="test">
<!-- include listed dependencies -->
<j:forEach var="dep" items="${pom.dependencies}">
<j:if test="${dep.getProperty('dist.bundle') != null}">
<echo>${dep.getProperty('dist.bundle')}</echo>
</j:if>
</j:forEach>
</goal>
with project.xml
<dependencies>
<dependency>
<groupId>avalon-framework</groupId>
<artifactId>avalon-framework-api</artifactId>
<version>4.3</version>
<url>http://excalibur.apache.org/framework/index.html</url>
<type>jar</type>
<properties>
<dist.bundle>true 1</dist.bundle>
</properties>
</dependency>
<dependency>
<groupId>avalon-framework</groupId>
<artifactId>avalon-framework-impl</artifactId>
<version>4.3</version>
<url>http://excalibur.apache.org/framework/index.html</url>
<type>jar</type>
<properties>
<dist.bundle>true 2</dist.bundle>
</properties>
</dependency>
<dependency>
<groupId>avalon-logkit</groupId>
<artifactId>avalon-logkit</artifactId>
<version>2.1</version>
<url></url>
<type>jar</type>
<properties>
<dist.bundle>true 3</dist.bundle>
</properties>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils-core</artifactId>
<version>1.7.0</version>
<url>http://jakarta.apache.org/commons/beanutils/</url>
<type>jar</type>
<properties>
<dist.bundle>true</dist.bundle>
</properties>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.3</version>
<url>http://jakarta.apache.org/commons/codec/</url>
<type>jar</type>
<properties>
<dist.bundle>true</dist.bundle>
</properties>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.1</version>
<url>http://jakarta.apache.org/commons/collections/</url>
<type>jar</type>
<properties>
<dist.bundle>true</dist.bundle>
</properties>
</dependency>
<dependency>
<groupId>commons-configuration</groupId>
<artifactId>commons-configuration</artifactId>
<version>1.1</version>
<url>http://jakarta.apache.org/commons/configuration/</url>
<type>jar</type>
<properties>
<dist.bundle>true</dist.bundle>
</properties>
</dependency>
</dependencies>
% maven test
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
build:start:
test:
[echo] true 1
[echo] true 2
[echo] true 3
[echo] true
[echo] true
[echo] true
[echo] true
[echo] true
[echo] true
[echo] true
[...]
This is how I build dist:build-bin bundles for a number of projects
lately. And it worked / works everywhere.
So it might be a platform vs. jelly vs. maven vs. something else
problem. What platform and JDK are you using? I'd like to try that
building out on your platform.
Best regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
[EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/
RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire
Linux, Java, perl, Solaris -- Consulting, Training, Development
4 - 8 - 15 - 16 - 23 - 42
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]