Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iterator should not fail with no item #35

Closed
damiendsl opened this issue Aug 3, 2016 · 1 comment
Closed

Iterator should not fail with no item #35

damiendsl opened this issue Aug 3, 2016 · 1 comment
Labels
Milestone

Comments

@damiendsl
Copy link

damiendsl commented Aug 3, 2016

I have tried example using <content> echoing eins, zwei, drei
if content is empty , it fails in

[ERROR] Failed to execute goal com.soebes.maven.plugins:iterator-maven-plugin:0.4:iterator (default) on project content-testempty: You can use only one element. Either items, itemsWithProperties, content or folder element but not more than one of them. -> [Help 1]

Logically , I would have expected that this does nothing in such a case , eventually logging that there is nothing to do but not failing( or if you prefer to see it failing then it should not give this error message but something like ' no item found.. ') .

pom.xml.zip

@khmarbaise khmarbaise added this to the 0.5.0 milestone Aug 4, 2016
@khmarbaise khmarbaise added the bug label Aug 4, 2016
@khmarbaise
Copy link
Owner

Absolute right...I will take a look...thanks for your support...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants