Allowing white spaces in onos.app.requires property.
Change-Id: I1350f3239f0593d1188dda3580456c1f2a95cd33
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -163,7 +163,7 @@ public class OnosAppMojo extends AbstractMojo { | ... | @@ -163,7 +163,7 @@ public class OnosAppMojo extends AbstractMojo { |
163 | origin = origin != null ? origin : DEFAULT_ORIGIN; | 163 | origin = origin != null ? origin : DEFAULT_ORIGIN; |
164 | 164 | ||
165 | requiredApps = (String) project.getProperties().get(ONOS_APP_REQUIRES); | 165 | requiredApps = (String) project.getProperties().get(ONOS_APP_REQUIRES); |
166 | - requiredApps = requiredApps == null ? "" : requiredApps; | 166 | + requiredApps = requiredApps == null ? "" : requiredApps.replaceAll("[\\s]", ""); |
167 | 167 | ||
168 | if (appFile.exists()) { | 168 | if (appFile.exists()) { |
169 | loadAppFile(appFile); | 169 | loadAppFile(appFile); | ... | ... |
-
Please register or login to post a comment