Good morning!
Our current bootstrap folder hierarchy for the project seems to be an outdated one where the contents are under the bootstrap folder like shown in the following image:
From version 12 and onwards looks like the folders are organized under repository-data and then splitted into 5 different folders. Is there a procedure or tool to migrate all the old folders into the new folder hierarchy?
Thank you and regards.
Those steps may have been included in previous upgrade instructions which are no longer online. My best advice is to create a new project from an archetype and use that as an example of how to restructure. If you are working with a version older than 12 you are likely facing a challenging upgrade path. It may be easier to recreate everything in a new project rather than upgrading, as you will have to upgrade and deploy each major version, you can’t jump multiple versions in one go.
Hi Álvaro,
Indeed in version 12, for new, archetype based projects, the root folder bootstrap
was renamed to ‘repository-data’, a change that came along with going from XML to yaml files for bootstrapping.
This is just about Maven modules, so there’s no must to have that same structure in your project, although documentation would map a bit better. In any case, there is no tool to re-organize for existing projects, if you want the same structure, you’ll have to do it manually based on a new, archetype-generated, project of your target version.
HTH
Jeroen