iterator-maven-plugin icon indicating copy to clipboard operation
iterator-maven-plugin copied to clipboard

How to access itemWithProperty values

Open kensplanet opened this issue 8 years ago • 2 comments

<itemsWithProperties>
                                <itemWithProperty>
                                    <name>videos</name>
                                    <properties>
                                        <key>video1.mp4</key>
                                    </properties>
                                </itemWithProperty>
                            </itemsWithProperties>

How do I access the value video1.mp4?

kensplanet avatar Aug 01 '17 15:08 kensplanet

I have the same question, please let us know if you have any suggestions :)

danielpquinn avatar Oct 09 '17 16:10 danielpquinn

@kensplanet I figured this out after digging around in the test code a bit. in your example above you simply do ${key} to access video1.mp4. This should probably be added to the documentation.

danielpquinn avatar Oct 09 '17 16:10 danielpquinn