FELIX-1735 project.build.directory is a file property and cannot
be used directly as a system property. Thus the Bamboo build
breaks. Prepare as a project property now.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@824248 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/pom.xml b/scr/pom.xml
index 9440163..92e0fea 100644
--- a/scr/pom.xml
+++ b/scr/pom.xml
@@ -63,6 +63,12 @@
"project.bundle.file" system property may be set to the bundle JAR
in the IDE launcher.
-->
+ <properties>
+ <project.bundle.file>
+ ${project.build.directory}/${project.build.finalName}.jar
+ </project.bundle.file>
+ </properties>
+
<dependencies>
<dependency>
@@ -226,7 +232,7 @@
<systemProperties>
<property>
<name>project.bundle.file</name>
- <value>${project.build.directory}/${project.build.finalName}.jar</value>
+ <value>${project.bundle.file}</value>
</property>
</systemProperties>
<excludes>