Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Set eclipse.p2.mirrors within <properties>?

Hi all,

when building our software with Tycho on an server, I'd like
to avoid hitting outside p2 mirrors, i.e., I want to build with

Now, of course I can set this parameter on the command-line when I
invoke "mvn", but adding this to ten Hudson configs is tedious and
error-prone. Also, given that we have a build-server profile already, I
would like to set this property automatically whenever the build-server
profile is active.

Unfortunately, <properties> defined in the pom.xml are not the same as
properties set on the command line through "-D". Hence, I am wondering
whether there exists a configuration option somewhere that controls the
use of mirrors (and whose default value is probably the expression
${eclipse.p2.mirrors}). Does such an option exist?

Best wishes,


Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940

Back to the top