Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] How to set system property with tycho-surefire-plugin ?

I found the solution...

the right way with tycho-surefire is:

                <configuration>
                    <systemProperties>
                        <osgi.outputdir>${project.build.directory}</osgi.outputdir>
                    </systemProperties>

regards,

Cristiano



2014-03-15 10:54 GMT-03:00 Cristiano Gavião <cvgaviao@xxxxxxxxx>:
Hello,

I need to set a system property before start the integrations tests.


I used to do that with maven-surefire using systemPropertyVariables configuration.
But that is not working with tycho-surefire-plugin. I did this:

            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-surefire-plugin</artifactId>
                <version>${tycho-version}</version>
                <configuration>
                    <systemPropertyVariables>
                        <osgi.outputdir>${project.build.directory}</osgi.outputdir>
                    </systemPropertyVariables>
                </configuration>
                  ...

could someone point me how to accomplish my goal ?

thanks

Cristiano



--
"Tudo vale a pena se a alma não é pequena..."

Back to the top