-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
When trying to create a sample project using nuxeo-cli, things are not as straigthforward as expected:
# mkdir nuxeo-cloud-sample # nuxeo bootstrap ... ? Use a parent artifact (for instance your company's BOM or the Nuxeo Distribution POM)? No ? Nuxeo Version: 11.3 ? Project Group id: org.nuxeo.cloud.sample ? Project Artifact id: nuxeo-cloud-sample-parent ? Project Version: 1.0-SNAPSHOT ? Project Description: Sample Application for the dev sandbox ... create Generate Module: nuxeo-cloud-sample-core create Generating Single module info Parameters: Project group, Project artifact, Project version, Project description ? Project Group id: org.nuxeo.cloud.sample ? Project Artifact id: nuxeo-cloud-sample-core ? Project version: 1.0-SNAPSHOT ? Project description: ... # nuxeo bootstrap package ... ? Parent Group id: org.nuxeo.cloud.sample ? Parent Artifact id: nuxeo-cloud-sample-parent ? Parent version: 1.0-SNAPSHOT ? Package Artifact id: nuxeo-cloud-sample-package ? Package name: Sample Cloud Package ? Company name: Nuxeo ... # mvn clean install
Where it should just compile an empty package, I have the following errors:
- Duplicate properties section in parent POM
[ERROR] Non-parseable POM /Users/dmetzler/src/github.com/nuxeo-cloud/nuxeo-cloud-sample/pom.xml: Duplicated tag: 'properties' (position: START_TAG seen ...</dependencyManagement>\n\n <properties>... @44:15) @ line 44, column 15 -> [Help 2]
- Unknown packaging ZIP
[INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [WARNING] 'build.plugins.plugin.version' for org.nuxeo.build:ant-assembly-maven-plugin is missing. @ line 32, column 15 [ERROR] Unknown packaging: zip @ line 11, column 14 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.nuxeo.cloud.sample:nuxeo-cloud-sample-package:1.0-SNAPSHOT (/Users/dmetzler/src/github.com/nuxeo-cloud/nuxeo-cloud-sample/nuxeo-cloud-sample-package/pom.xml) has 1 error [ERROR] Unknown packaging: zip @ line 11, column 14 [ERROR]
Environment Description:# java -version openjdk version "11.0.9" 2020-10-20 LTS OpenJDK Runtime Environment Zulu11.43+21-CA (build 11.0.9+11-LTS) OpenJDK 64-Bit Server VM Zulu11.43+21-CA (build 11.0.9+11-LTS, mixed mode) # mvn -version Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec Java version: 13.0.2, vendor: N/A, runtime: /usr/local/Cellar/openjdk/13.0.2+8_2/libexec/openjdk.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
- is duplicated by
-
NXCLI-6 Fix pom for the multi-module generator when the version is 11.x
- Resolved