Skip to content

Commit f3fdc0b

Browse files
shai-almogclaude
andauthored
Fix Maven Central release: add <name> to cn1-ai-* child POMs (#5081)
Sonatype Central rejected the 7.0.245 release bundle with "Project name is missing" for 78 of the cn1-ai-* child POMs (mlkit subprojects, stablediffusion, tflite, whisper). The aggregator POMs carried <name>, but every common/ios/android/javase/javascript/lib child was missing it. Maven does not inherit <name> from a parent, so the bundle failed validation as a unit and nothing reached Maven Central. Add <name>Codename One AI: ${artifactId}</name> to each affected child POM, matching the aggregator naming convention. Other publish-required descriptors (description, url, scm, licenses, developers) are inherited from the root POM and were not flagged. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ae7aeb4 commit f3fdc0b

78 files changed

Lines changed: 78 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

maven/cn1-ai-mlkit-barcode/android/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<artifactId>cn1-ai-mlkit-barcode-android</artifactId>
1414
<packaging>jar</packaging>
15+
<name>Codename One AI: cn1-ai-mlkit-barcode-android</name>
1516

1617
<properties>
1718
<maven.compiler.source>1.8</maven.compiler.source>

maven/cn1-ai-mlkit-barcode/common/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<artifactId>cn1-ai-mlkit-barcode-common</artifactId>
1414
<packaging>jar</packaging>
15+
<name>Codename One AI: cn1-ai-mlkit-barcode-common</name>
1516

1617
<properties>
1718
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

maven/cn1-ai-mlkit-barcode/ios/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<artifactId>cn1-ai-mlkit-barcode-ios</artifactId>
1414
<packaging>jar</packaging>
15+
<name>Codename One AI: cn1-ai-mlkit-barcode-ios</name>
1516

1617
<build>
1718
<sourceDirectory>src/main/dummy</sourceDirectory>

maven/cn1-ai-mlkit-barcode/javascript/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<artifactId>cn1-ai-mlkit-barcode-javascript</artifactId>
1414
<packaging>jar</packaging>
15+
<name>Codename One AI: cn1-ai-mlkit-barcode-javascript</name>
1516

1617
<build>
1718
<sourceDirectory>src/main/dummy</sourceDirectory>

maven/cn1-ai-mlkit-barcode/javase/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<artifactId>cn1-ai-mlkit-barcode-javase</artifactId>
1414
<packaging>jar</packaging>
15+
<name>Codename One AI: cn1-ai-mlkit-barcode-javase</name>
1516

1617
<properties>
1718
<maven.compiler.source>1.8</maven.compiler.source>

maven/cn1-ai-mlkit-barcode/lib/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<artifactId>cn1-ai-mlkit-barcode-lib</artifactId>
1414
<packaging>pom</packaging>
15+
<name>Codename One AI: cn1-ai-mlkit-barcode-lib</name>
1516

1617
<dependencies>
1718
<dependency>

maven/cn1-ai-mlkit-docscan/android/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<artifactId>cn1-ai-mlkit-docscan-android</artifactId>
1414
<packaging>jar</packaging>
15+
<name>Codename One AI: cn1-ai-mlkit-docscan-android</name>
1516

1617
<properties>
1718
<maven.compiler.source>1.8</maven.compiler.source>

maven/cn1-ai-mlkit-docscan/common/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<artifactId>cn1-ai-mlkit-docscan-common</artifactId>
1414
<packaging>jar</packaging>
15+
<name>Codename One AI: cn1-ai-mlkit-docscan-common</name>
1516

1617
<properties>
1718
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

maven/cn1-ai-mlkit-docscan/ios/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<artifactId>cn1-ai-mlkit-docscan-ios</artifactId>
1414
<packaging>jar</packaging>
15+
<name>Codename One AI: cn1-ai-mlkit-docscan-ios</name>
1516

1617
<build>
1718
<sourceDirectory>src/main/dummy</sourceDirectory>

maven/cn1-ai-mlkit-docscan/javascript/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<artifactId>cn1-ai-mlkit-docscan-javascript</artifactId>
1414
<packaging>jar</packaging>
15+
<name>Codename One AI: cn1-ai-mlkit-docscan-javascript</name>
1516

1617
<build>
1718
<sourceDirectory>src/main/dummy</sourceDirectory>

0 commit comments

Comments
 (0)