You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "cunningt (via GitHub)" <gi...@apache.org> on 2023/07/28 15:13:14 UTC

[GitHub] [camel] cunningt opened a new pull request, #10890: Add local to prevent repository==null error in generation

cunningt opened a new pull request, #10890:
URL: https://github.com/apache/camel/pull/10890

   I'm getting the following error in building RC2 locally : 
   
   `[INFO] --- archetype:3.2.1:generate (generate-my-car-service) @ camel-olingo2 ---
   [INFO] Generating project in Batch mode
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  10.036 s
   [INFO] Finished at: 2023-07-28T11:08:52-04:00
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate (generate-my-car-service) on project camel-olingo2: Cannot invoke "org.apache.maven.artifact.repository.ArtifactRepository.getUrl()" because "repository" is null -> [Help 1]
   [ERROR]
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR]
   [ERROR] For more information about the errors and possible solutions, please read the following articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException`
   
   Looking at the documentation for the maven-archetype-plugin generate goal, it looks like `<archetypeCatalog/>` controls the catalog search and local might be the most appropriate setting?
   
   https://maven.apache.org/archetype/maven-archetype-plugin/generate-mojo.html#archetypeCatalog
   
   This change fixed the build error locally for me.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel] github-actions[bot] commented on pull request #10890: Add local to prevent repository==null error in generation

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #10890:
URL: https://github.com/apache/camel/pull/10890#issuecomment-1655868666

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :camel: Maintainers, please note that first-time contributors *require manual approval* for the GitHub Actions to run.
   
   :warning: Please note that the changes on this PR may be **tested automatically** if they change components.
   
   :robot: Use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot.
   
   If necessary Apache Camel Committers may access logs and test results in the job summaries!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel] davsclaus merged pull request #10890: Add archetypeCatalog setting of local to prevent repository==null error in generation

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #10890:
URL: https://github.com/apache/camel/pull/10890


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org