- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2022 11:09 AM
Hello,
Nuxeo CLI has not been updated when Nuxeo 2021 is released.
I uninstalled Nuxeo CLI and install again using the commande npm install -g nuxeo-cli
but when i type nuxeo -v
I still get version 2.0.0.
When I generate a sample project with nuxeo bootstrap single-module
command, I still get in the generated pom :
<parent>
<groupId>org.nuxeo</groupId>
<artifactId>nuxeo-addons-parent</artifactId>
<version>10.10</version>
</parent>
Do you have any idea if it will be upgraded to Nuxeo 2021 ? Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2022 04:23 AM
Hello, Nuxeo CLI prompts you for the Nuxeo platform version you want to use, if you specify 10.10 (default value) you obtain the pom.xml above. If you want to create a package for LTS-2021, you need to specify version 2021.X where X equals to the latest release you want to use (e.g. 2021.24)
For example, to create a whole package to start developing:
nuxeo bootstrap
Then finally create a package module to be able to compile your Java MarketPlace as a package you can compile and install on a server:
nuxeo bootstrap package
You will end up with a standard project having:
- a parent pom.xml
- a core project (where you put your main code)
- a package project (where you express package dependency and install instructions)
Your pom.xml should looks like this:
<parent>
<groupId>org.nuxeo</groupId>
<artifactId>nuxeo-parent</artifactId>
<version>2021.24</version>
</parent>
<groupId>org.mygroup.id</groupId>
<artifactId>test-parent</artifactId>
<name>Test parent</name>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2022 05:35 PM
Hello,
Can anyone from Nuxeo comment on this thread? I am in the similar boat. There are a lot of challenges with writing custom Java code.
Thanks,
SG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2022 04:23 AM
Hello, Nuxeo CLI prompts you for the Nuxeo platform version you want to use, if you specify 10.10 (default value) you obtain the pom.xml above. If you want to create a package for LTS-2021, you need to specify version 2021.X where X equals to the latest release you want to use (e.g. 2021.24)
For example, to create a whole package to start developing:
nuxeo bootstrap
Then finally create a package module to be able to compile your Java MarketPlace as a package you can compile and install on a server:
nuxeo bootstrap package
You will end up with a standard project having:
- a parent pom.xml
- a core project (where you put your main code)
- a package project (where you express package dependency and install instructions)
Your pom.xml should looks like this:
<parent>
<groupId>org.nuxeo</groupId>
<artifactId>nuxeo-parent</artifactId>
<version>2021.24</version>
</parent>
<groupId>org.mygroup.id</groupId>
<artifactId>test-parent</artifactId>
<name>Test parent</name>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2022 03:51 PM
Jordan,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2022 03:16 AM
Sudarshan, Nuxeo LTS 2021 Maven artefacts are private. If you're working on a 2021 project with proper subscription, you need to request access to the repository through a support ticket, then update your Maven settings with a personal token you will need to generate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2022 05:07 PM
Perfect ! I had the access but i was using the wrong token in my Maven settings.xml file. I appreciate the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2022 04:32 AM
Thank you Jordan for your response.
