Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19385

generate Error loading other model. Reason: FirstVersion is not specified.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • 3.21.0
    • None
    • build system
    • None
    • Windows

    • Moderate

    Description

      cd components/camel-azure/camel-azure-storage-blob

      rm -rf src/generated

      maven install

       
      [ERROR] Failed to execute goal org.apache.camel:camel-package-maven-plugin:3.21.0-SNAPSHOT:generate (generate) on project camel-azure-storage-blob: Error generating data org.apache.maven.plugin.MojoExecutionException: Error loading other model. Reason: java.lang.IllegalArgumentException: FirstVersion is not specified. This can be done in @UriEndpoint or in pom.xml file. -> [Help 1]

       

      Above is a distillation of the problem using pre-existing component. I got into that trap when developing a new component from scratch.

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            pkuzel Petr Kuzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment