GOAL
While publishing an asset on Exchange through Maven, you want to publish the documentation of the asset, as well as assign an icon to the asset.
PROCEDURE
Below are the steps to achieve this functionality:
1. To configure your pom.xml and settings.xml please follow the documentation: Publish assets through Maven . However, please make sure that to upload documentation and icons, Maven facade API version v3 should be used since that is the only version supporting the required functionality. Therefore, the Maven URL in use should be:
<url>https://maven.anypoint.mulesoft.com/api/v3/organizations/ORGANIZATION_ID/maven</url>
2. Inside the project folder, go to Exchange-docs > Home.md
4. Assign an icon to your project by adding an image (.jpg, .png, .bmp) with the name icon (for example, icon.png) before publishing your project for the first time. The icon.png file should be kept outside the Exchange-docs folder
5. Publish your asset to Exchange. The documentation and icon should be visible.
In case there are issues while using Maven Facade API version 3 for publishing custom policy, please refer to KB: Error When Deploying Mule-Policy to Anypoint Exchange Using Maven Facade V3
Note: Currently the PCE doesn't support Maven Facade API version 3, therefore it is not possible to publish documentation and icons through Maven for PCE. However, users can leverage Exchange API to do the same. Please refer to the Mulesoft documentation for the steps.
001114224

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.