https://github.com/mulesoft/api_project_maven_client
Maven utilities that helps build a mule api project using maven
https://github.com/mulesoft/api_project_maven_client
Last synced: 3 months ago
JSON representation
Maven utilities that helps build a mule api project using maven
- Host: GitHub
- URL: https://github.com/mulesoft/api_project_maven_client
- Owner: mulesoft
- Created: 2019-05-08T19:39:12.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-16T18:00:20.000Z (about 1 year ago)
- Last Synced: 2025-07-08T17:26:34.342Z (11 months ago)
- Language: Java
- Size: 312 KB
- Stars: 0
- Watchers: 291
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# API Project Maven Polyglot
This project contains the maven polyglot extension and the maven packager to build an API project using maven.
As an example go to the api_example and just use
`mvn clean install`
This will call our [polyglot](https://www.baeldung.com/maven-polyglot) extension `ExchangeModelProcessor.java` that translate the exchange.json into
a maven model. This maven model, basically a pom.xml file, will contain the api packager plugin that generates the api artifacts, (raml, raml-artifact, oas) with the -full counterpart.
To run on debug mode, execute the maven project with `mvnDebug {goal}` where goal could be `compile`/`install` and run this project with a Remote JVM Debug configuration using port 8000
To disable connector generation, add `-Dexchange.maven.disable.restConnect=true`