Petr Kuzel created CAMEL-19385:
----------------------------------
Summary: generate Error loading other model. Reason: FirstVersion
is not specified.
Key: CAMEL-19385
URL: https://issues.apache.org/jira/browse/CAMEL-19385
Project: Camel
Issue Type: Bug
Components: build system
Affects Versions: 3.21.0
Environment: Windows
Reporter: Petr Kuzel
cd components/camel-azure/camel-azure-storage-blob
rm -rf src/generated
maven install
{color:#000000}[{color}{color:#c50f1f}[1;31m{color}{color:#c50f1f}ERROR{color}{color:#000000}[m{color}{color:#000000}]
Failed to execute goal
{color}{color:#13a10e}[32m{color}{color:#13a10e}org.apache.camel:camel-package-maven-plugin:3.21.0-SNAPSHOT:generate{color}{color:#000000}[m{color}{color:#000000}
{color}{color:#000000}[1m{color}{color:#000000}(generate){color}{color:#000000}[m{color}{color:#000000}
on project
{color}{color:#3a96dd}[36m{color}{color:#3a96dd}camel-azure-storage-blob{color}{color:#000000}[m{color}{color:#000000}:
{color}{color:#c50f1f}[1;31m{color}{color:#c50f1f}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.{color}{color:#000000}[m{color}{color:#000000} ->
{color}{color:#000000}[1m{color}{color:#000000}[Help
1]{color}{color:#000000}[m{color}
Above is a distillation of the problem using pre-existing component. I got into
that trap when developing a new component from scratch.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)