Skip to content

Maven update-local-catalogue works but not creating file archetype-catalog.xml #162

@Boltzmann

Description

@Boltzmann

I use Intellij for development. Following the quick start guide I get no warning or error right clicking the pom.xml of odata-jpa-archetype-spring or following the guides command line ansatz. However, I do not get a archetype-catalog.xml whether with WSL2 on Windows 11 or Ubuntu 22.04.1 LTS both in the terminal or using Intellij Community or Ultimate. E.g. in the Ubuntu 22 bash mvn --version gives

Java version: 17, vendor: Oracle Corporation, runtime: /home/username/.sdkman/candidates/java/17-open
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.15.0-43-generic", arch: "amd64", family: "unix"

The text in QuickStart.md states

Open a shell, like the Windows console, navigate to the directory the repository had been cloned to and then to odata-jpa-archetype-spring. Starting from the home directory this could be e.g. cd git\olingo-jpa-processor-v4\jpa-archetype\odata-jpa-archetype-spring. We do that to generate the archetype. This is done by execute mvn clean install archetype:update-local-catalog. Alternatively you can also use your IDE:
...
In your .m2 directory there should be a file called archetype-catalog.xml:

Without this I cannot choose the jpa archetype in the next step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions