You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andre Weickel (Jira)" <ji...@apache.org> on 2021/11/17 11:09:00 UTC
[jira] [Created] (CAMEL-17203) camel-ftp - Generation doesn't work properly
Andre Weickel created CAMEL-17203:
-------------------------------------
Summary: camel-ftp - Generation doesn't work properly
Key: CAMEL-17203
URL: https://issues.apache.org/jira/browse/CAMEL-17203
Project: Camel
Issue Type: Bug
Components: camel-ftp
Affects Versions: 3.11.3
Reporter: Andre Weickel
We have a custom component that extends the Camel ftp component but when we build our project not all resources are generated. The files in folder src/generated/resources/META-INF/services/org/apache/camel/configurer are available but folder src/generated/resources/META-INF/services/org/apache/camel/component/* is missing.
Therefore we removed the generated folder in org.apache.camel.camel-ftp and build the project to see if the folder is generated but then we get the following error:
Failed to execute goal org.apache.camel:camel-package-maven-plugin:3.11.3:generate (generate) on project camel-ftp: 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.
It seems to be a bug because firstVersion is actually maintained in @UriEndpoint of FtpEndpoint, FtpsEndpoint and SftpEndpoint. When I maintain an additional firstVersion in the pom.xml file then the build is successful but folder and files of src/generated/resources/META-INF/services/org/apache/camel/component/* are also not generated for project org.apache.camel.camel-ftp.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)