Skip to content

Commit 8919eff

Browse files
committed
Reverted checks
1 parent 649b679 commit 8919eff

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

scripts/build-android-app.sh

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -173,35 +173,6 @@ xvfb-run -a "${MAVEN_CMD[@]}" -q -f "$APP_DIR/pom.xml" \
173173
-DgenerateBackupPoms=false \
174174
-DprocessAllModules=true || true
175175

176-
# Validate changes
177-
# 1) Show the resolved com.codenameone artifacts and EXACT files used
178-
ba_log "Resolved Codename One dependencies (with file paths)"
179-
xvfb-run -a "${MAVEN_CMD[@]}" -q -f "$APP_DIR/pom.xml" \
180-
-U \
181-
org.apache.maven.plugins:maven-dependency-plugin:3.6.1:list \
182-
-DincludeGroupIds=com.codenameone \
183-
-DoutputAbsoluteArtifactFilename=true
184-
185-
# 2) Full tree (helps spot leftover fixed versions / parents / pluginManagement)
186-
ba_log "Dependency tree (grep com.codenameone)"
187-
xvfb-run -a "${MAVEN_CMD[@]}" -q -f "$APP_DIR/pom.xml" \
188-
-U \
189-
org.apache.maven.plugins:maven-dependency-plugin:3.6.1:tree \
190-
-Dincludes=com.codenameone:* | sed 's/^/[build-android-app] TREE: /'
191-
192-
# 3) Confirm what version is actually in the POM after your versions:* steps
193-
ba_log "Grepping for codenameone version/property in POM"
194-
grep -nE 'codenameone\.version|com\.codenameone' "$APP_DIR/pom.xml" \
195-
| sed 's/^/[build-android-app] POM: /'
196-
197-
# 4) Print the exact artifact on disk we expect to be used (adjust artifactIds as needed)
198-
for AID in "codenameone-core" "codenameone-maven-plugin" "codenameone-android"; do
199-
FOUND=$(find "$LOCAL_MAVEN_REPO/com/codenameone/$AID/$CN1_VERSION" -maxdepth 1 -type f)
200-
ba_log "Local repo contents for $AID:$CN1_VERSION"
201-
printf '%s\n' "$FOUND" | sed 's/^/[build-android-app] M2: /'
202-
done
203-
204-
205176
# Force dependencies on com.codenameone:* to the detected version
206177
xvfb-run -a "${MAVEN_CMD[@]}" -q -f "$APP_DIR/pom.xml" \
207178
versions:use-dep-version \

0 commit comments

Comments
 (0)