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

Add possibility to set properties for each item #26

Closed
garagatyi opened this issue Apr 15, 2016 · 5 comments
Closed

Add possibility to set properties for each item #26

garagatyi opened this issue Apr 15, 2016 · 5 comments
Milestone

Comments

@garagatyi
Copy link

I'm using iterator plugin in Eclipse Che project https://github.com/eclipse/che-lib/blob/master/websocket-terminal/pom.xml

I need to build golang application for different architectures. It requires environment variable. I use maven exec plugin and would want to make pom more pretty with iterator plugin. But it is not possible to set these variables because I can't set properties for each item.
It would be really useful if iterator plugin supports such configuration:

<items>
    <item>
        <value>linux_amd64</value>
        <properties>
            <goos>linux</goos>
            <goarch>amd64</goarch>
        </properties>
    </item>
    <item>
        <value>linux_arm7</value>
        <properties>
            <goos>linux</goos>
            <goarch>arm</goarch>
            <goarm>7</goarm>
        </properties>
    </item>
</items>
@khmarbaise khmarbaise added this to the Release 0.4 milestone Apr 30, 2016
@khmarbaise
Copy link
Owner

Can you take a look with the current state and check if it works for you?

@garagatyi
Copy link
Author

garagatyi commented Apr 30, 2016

It works like a charm! Thank you a lot! I've just submitted a PR with usage of new syntax eclipse-che/che-lib/pull/7

@khmarbaise
Copy link
Owner

I think it's time to make it available via Maven Central...WDYT ?

@khmarbaise
Copy link
Owner

Release to Central done. Take some time to synchronize...

@garagatyi
Copy link
Author

Awesome! Thank you!

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

No branches or pull requests

2 participants