Skip to content

Commit 9952885

Browse files
committed
Remove offline Maven invocations from Android sample build
1 parent 09ec1ae commit 9952885

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build-android-app.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ MAVEN_CMD=(
125125
ba_log "Generating Codename One application skeleton via codenameone-maven-plugin"
126126
(
127127
cd "$WORK_DIR"
128-
xvfb-run -a "${MAVEN_CMD[@]}" -q --offline \
128+
xvfb-run -a "${MAVEN_CMD[@]}" -q \
129129
com.codenameone:codenameone-maven-plugin:"$CN1_VERSION":generate-app-project \
130130
-DgroupId="$GROUP_ID" \
131131
-DartifactId="$ARTIFACT_ID" \
@@ -410,7 +410,7 @@ else
410410
fi
411411

412412
ba_log "Building Android gradle project using Codename One port"
413-
xvfb-run -a "${MAVEN_CMD[@]}" -q --offline -f "$APP_DIR/pom.xml" package -DskipTests -Dcodename1.platform=android -Dcodename1.buildTarget=android-source -Dopen=false "${EXTRA_MVN_ARGS[@]}"
413+
xvfb-run -a "${MAVEN_CMD[@]}" -q -f "$APP_DIR/pom.xml" package -DskipTests -Dcodename1.platform=android -Dcodename1.buildTarget=android-source -Dopen=false "${EXTRA_MVN_ARGS[@]}"
414414

415415
GRADLE_PROJECT_DIR=$(find "$APP_DIR/target" -maxdepth 1 -type d -name "*-android-source" | head -n 1 || true)
416416
if [ -z "$GRADLE_PROJECT_DIR" ]; then

0 commit comments

Comments
 (0)