SlideShare a Scribd company logo
1 of 15
DEPLOY WITH MAVEN
• Maven is a project management utility that you can
use to develop projects in Mule. Mule provides built-in
Maven functionality, including the features listed
below.
There are various ways to deploy your Mule application. You can deploy your Mule
application in Mule standalone in various ways…..
One of the easiest way is to deploy your application in server is by using Maven
So, to build your application using Maven you need Maven installed in your system .
You can get Maven from https://maven.apache.org/
So, if you have Maven already installed in your system, you need to create a Mule
Project with Maven from your Anypoint Studio :-
You need to enable Maven while creating the project .. This will create a pom.xml for the project …
You can see the pom.xml is created with the project . Now this is the file where you need
to add all the Library dependencies for your project
So let our flow be simple, We will display a payload in the browser after we hit a url
http://localhost:8081/ in the browser:-
The corresponding Mule flow will be as follows:-
So as you can see , we will be displaying “This is a test Data” payload in the
browser if we hit url http://localhost:8081/ :-
Now to deploy our application using Maven your need to first set your MULE_HOME with
the path of your standalone server
Now, you need to put the following in your pom.xml
This line of code will copy the deployable Mule zip file into apps folder of Mule
Standalone server. But for that you must set MULE_HOME in your Environment variable
So, let’s build our Mule application using Maven.
If you have Mule plugins installed in your Anypoint Studio you can build the application,
following way :
If you don’t have Maven plugins, you can build it from command prompt
Now we can execute our pom.xml to build the application and deploy into our Mule
Standalone and we will get the following result in our console :-
We can see that the application has build successfully
If we go to our Mule Standalone apps folder we will see the application has been build into
deployable zip file and copied into that location
The file is placed in apps folder of our Mule Standalone
If we start our Mule Standalone server, we will find the application is deployed successfully !!
To test the application if we hit the url http://localhost:8081/ in browser we will get the
response in the browser :
You can see we have deployed a Mule application in Mule Standalone using Maven
In my next slide I will bring some other techniques in Mule implementation .
Hope you have enjoyed this simpler version.
Keep sharing your knowledge and let our Mule community grow 

More Related Content

What's hot

Deploying and Running in Mule
Deploying and Running in MuleDeploying and Running in Mule
Deploying and Running in MuleKhasim Saheb
 
Mule esb - How to connect to a MySql Database in 5 minutes
Mule esb - How to connect to a MySql Database in 5 minutesMule esb - How to connect to a MySql Database in 5 minutes
Mule esb - How to connect to a MySql Database in 5 minutesGennaro Spagnoli
 
Cloud hub with mule
Cloud hub with muleCloud hub with mule
Cloud hub with muleSon Nguyen
 
Mule with salesforce push topic notification copy
Mule with salesforce push topic notification   copyMule with salesforce push topic notification   copy
Mule with salesforce push topic notification copySanjeet Pandey
 
Mule management console installation
Mule management console installation Mule management console installation
Mule management console installation javeed_mhd
 
Salesforce Integration using Mule ESB
Salesforce Integration using Mule ESBSalesforce Integration using Mule ESB
Salesforce Integration using Mule ESBSreekanth Kondapalli
 
Skillfeed word press-course-anouncement-april-23-2015
Skillfeed word press-course-anouncement-april-23-2015Skillfeed word press-course-anouncement-april-23-2015
Skillfeed word press-course-anouncement-april-23-2015viet nghiem
 
Verify Login functionality of Yahoo mail using Selenium WebDriver methods
Verify Login functionality of Yahoo mail using Selenium WebDriver methodsVerify Login functionality of Yahoo mail using Selenium WebDriver methods
Verify Login functionality of Yahoo mail using Selenium WebDriver methodsmetaforum technologies
 
Deep Dive into FME Desktop 2016
Deep Dive into FME Desktop 2016Deep Dive into FME Desktop 2016
Deep Dive into FME Desktop 2016Safe Software
 

What's hot (18)

Deploying and Running in Mule
Deploying and Running in MuleDeploying and Running in Mule
Deploying and Running in Mule
 
Mule esb - How to connect to a MySql Database in 5 minutes
Mule esb - How to connect to a MySql Database in 5 minutesMule esb - How to connect to a MySql Database in 5 minutes
Mule esb - How to connect to a MySql Database in 5 minutes
 
Cloud hub with mule
Cloud hub with muleCloud hub with mule
Cloud hub with mule
 
Example mule
Example muleExample mule
Example mule
 
Using ajax in mule
Using ajax in muleUsing ajax in mule
Using ajax in mule
 
Web application with mule
Web application with muleWeb application with mule
Web application with mule
 
Mule with salesforce push topic notification copy
Mule with salesforce push topic notification   copyMule with salesforce push topic notification   copy
Mule with salesforce push topic notification copy
 
Mule with facebook
Mule with facebookMule with facebook
Mule with facebook
 
Mule management console installation
Mule management console installation Mule management console installation
Mule management console installation
 
Https service mule
Https service muleHttps service mule
Https service mule
 
Rest security with oauth 2.0
Rest security with oauth 2.0Rest security with oauth 2.0
Rest security with oauth 2.0
 
Mule ESB integration with Stripe
Mule ESB integration with StripeMule ESB integration with Stripe
Mule ESB integration with Stripe
 
Salesforce Integration using Mule ESB
Salesforce Integration using Mule ESBSalesforce Integration using Mule ESB
Salesforce Integration using Mule ESB
 
Mule maven
Mule mavenMule maven
Mule maven
 
Mule data bases
Mule data basesMule data bases
Mule data bases
 
Skillfeed word press-course-anouncement-april-23-2015
Skillfeed word press-course-anouncement-april-23-2015Skillfeed word press-course-anouncement-april-23-2015
Skillfeed word press-course-anouncement-april-23-2015
 
Verify Login functionality of Yahoo mail using Selenium WebDriver methods
Verify Login functionality of Yahoo mail using Selenium WebDriver methodsVerify Login functionality of Yahoo mail using Selenium WebDriver methods
Verify Login functionality of Yahoo mail using Selenium WebDriver methods
 
Deep Dive into FME Desktop 2016
Deep Dive into FME Desktop 2016Deep Dive into FME Desktop 2016
Deep Dive into FME Desktop 2016
 

Viewers also liked

The Greatest American Men's Tennis Players
The Greatest American Men's Tennis Players The Greatest American Men's Tennis Players
The Greatest American Men's Tennis Players Nick Bidic
 
Створення ОСББ - Інна Волошина
Створення ОСББ - Інна ВолошинаСтворення ОСББ - Інна Волошина
Створення ОСББ - Інна ВолошинаTania Shcherbakova
 
גיליון 23
גיליון 23גיליון 23
גיליון 23Erez Nahum
 
גיליון 48
גיליון 48גיליון 48
גיליון 48Erez Nahum
 
Connecting google
Connecting googleConnecting google
Connecting googleSon Nguyen
 
NF HABITAT pour les copropriétés
NF HABITAT pour les copropriétésNF HABITAT pour les copropriétés
NF HABITAT pour les copropriétésMonimmeuble.com
 
Gross Domestic Product
Gross Domestic ProductGross Domestic Product
Gross Domestic ProductMrRed
 
Business Modelling 090215
Business Modelling 090215Business Modelling 090215
Business Modelling 090215Andrew Scane
 
Les Français et le marché du gaz
Les Français et le marché du gazLes Français et le marché du gaz
Les Français et le marché du gazMonimmeuble.com
 

Viewers also liked (12)

The Greatest American Men's Tennis Players
The Greatest American Men's Tennis Players The Greatest American Men's Tennis Players
The Greatest American Men's Tennis Players
 
Створення ОСББ - Інна Волошина
Створення ОСББ - Інна ВолошинаСтворення ОСББ - Інна Волошина
Створення ОСББ - Інна Волошина
 
גיליון 23
גיליון 23גיליון 23
גיליון 23
 
גיליון 48
גיליון 48גיליון 48
גיליון 48
 
Presentation25
Presentation25Presentation25
Presentation25
 
Connecting google
Connecting googleConnecting google
Connecting google
 
NF HABITAT pour les copropriétés
NF HABITAT pour les copropriétésNF HABITAT pour les copropriétés
NF HABITAT pour les copropriétés
 
Gross Domestic Product
Gross Domestic ProductGross Domestic Product
Gross Domestic Product
 
Blockchain in life sciences
Blockchain in life sciencesBlockchain in life sciences
Blockchain in life sciences
 
Business Modelling 090215
Business Modelling 090215Business Modelling 090215
Business Modelling 090215
 
MARKETER LUMAscape
MARKETER LUMAscapeMARKETER LUMAscape
MARKETER LUMAscape
 
Les Français et le marché du gaz
Les Français et le marché du gazLes Français et le marché du gaz
Les Français et le marché du gaz
 

Similar to Deploy with maven

Deploy apps in standalone with maven
Deploy apps in standalone with mavenDeploy apps in standalone with maven
Deploy apps in standalone with mavenAnirban Sen Chowdhary
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standaloneAbdulImrankhan7
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standaloneMohammed625
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standalonejaveed_mhd
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standaloneAnirban Sen Chowdhary
 
Running mule standalone
Running mule standaloneRunning mule standalone
Running mule standaloneSon Nguyen
 
Using maven with mule
Using maven with muleUsing maven with mule
Using maven with muleSindhu VL
 
Your new maven friend – the mule maven
Your new maven friend – the mule mavenYour new maven friend – the mule maven
Your new maven friend – the mule mavenSon Nguyen
 
Deploying mule applications
Deploying mule applicationsDeploying mule applications
Deploying mule applicationsBhargav Ranjit
 
Deployingmuleapplications 160903085602
Deployingmuleapplications 160903085602Deployingmuleapplications 160903085602
Deployingmuleapplications 160903085602ppts123456
 
Running mule as worker role on azure
Running mule as worker role on azureRunning mule as worker role on azure
Running mule as worker role on azureSon Nguyen
 
Schedule and monitor in mule
Schedule and monitor in muleSchedule and monitor in mule
Schedule and monitor in muleSon Nguyen
 
1 app 2 developers 3 servers
1 app 2 developers 3 servers1 app 2 developers 3 servers
1 app 2 developers 3 serversMark Myers
 
Scheduling and monitoring with java in mule
Scheduling and monitoring with java in muleScheduling and monitoring with java in mule
Scheduling and monitoring with java in muleAnirban Sen Chowdhary
 
Using spring task scheduler in java in mule
Using spring task scheduler in java in muleUsing spring task scheduler in java in mule
Using spring task scheduler in java in muleAnirban Sen Chowdhary
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored proceduremdfkhan625
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedurejaveed_mhd
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedureMohammed625
 

Similar to Deploy with maven (20)

Deploy apps in standalone with maven
Deploy apps in standalone with mavenDeploy apps in standalone with maven
Deploy apps in standalone with maven
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standalone
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standalone
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standalone
 
Deploying and running in mule standalone
Deploying and running in mule standaloneDeploying and running in mule standalone
Deploying and running in mule standalone
 
Running mule standalone
Running mule standaloneRunning mule standalone
Running mule standalone
 
Using maven with mule
Using maven with muleUsing maven with mule
Using maven with mule
 
Your new maven friend – the mule maven
Your new maven friend – the mule mavenYour new maven friend – the mule maven
Your new maven friend – the mule maven
 
Deploying mule applications
Deploying mule applicationsDeploying mule applications
Deploying mule applications
 
Maven: Mule esb plugin
Maven: Mule esb pluginMaven: Mule esb plugin
Maven: Mule esb plugin
 
Deployingmuleapplications 160903085602
Deployingmuleapplications 160903085602Deployingmuleapplications 160903085602
Deployingmuleapplications 160903085602
 
Running mule as worker role on azure
Running mule as worker role on azureRunning mule as worker role on azure
Running mule as worker role on azure
 
Schedule and monitor in mule
Schedule and monitor in muleSchedule and monitor in mule
Schedule and monitor in mule
 
1 app 2 developers 3 servers
1 app 2 developers 3 servers1 app 2 developers 3 servers
1 app 2 developers 3 servers
 
Scheduling and monitoring with java in mule
Scheduling and monitoring with java in muleScheduling and monitoring with java in mule
Scheduling and monitoring with java in mule
 
Using spring task scheduler in java in mule
Using spring task scheduler in java in muleUsing spring task scheduler in java in mule
Using spring task scheduler in java in mule
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedure
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedure
 
Mule stored procedure
Mule stored procedureMule stored procedure
Mule stored procedure
 
Mule with stored procedure
Mule with stored procedureMule with stored procedure
Mule with stored procedure
 

More from Son Nguyen

Wsdl connector introduction
Wsdl connector introductionWsdl connector introduction
Wsdl connector introductionSon Nguyen
 
Android intergrate with mule
Android intergrate with muleAndroid intergrate with mule
Android intergrate with muleSon Nguyen
 
Mule flow overview
Mule flow overviewMule flow overview
Mule flow overviewSon Nguyen
 
Mule flow and filter
Mule flow and filterMule flow and filter
Mule flow and filterSon Nguyen
 
Handle exceptions in mule
Handle exceptions in muleHandle exceptions in mule
Handle exceptions in muleSon Nguyen
 
Spring security integrate with mule
Spring security integrate with muleSpring security integrate with mule
Spring security integrate with muleSon Nguyen
 
Message processor in mule
Message processor in muleMessage processor in mule
Message processor in muleSon Nguyen
 
Expression language in mule
Expression language in muleExpression language in mule
Expression language in muleSon Nguyen
 
Mule with data weave
Mule with data weaveMule with data weave
Mule with data weaveSon Nguyen
 
Using spring scheduler mule
Using spring scheduler muleUsing spring scheduler mule
Using spring scheduler muleSon Nguyen
 
Composite source in bound and out-bound
Composite source in bound and out-boundComposite source in bound and out-bound
Composite source in bound and out-boundSon Nguyen
 
Batch job processing
Batch job processingBatch job processing
Batch job processingSon Nguyen
 
Using message enricher
Using message enricherUsing message enricher
Using message enricherSon Nguyen
 
Finance connectors with mule
Finance connectors with muleFinance connectors with mule
Finance connectors with muleSon Nguyen
 
Google drive connection
Google drive connectionGoogle drive connection
Google drive connectionSon Nguyen
 
Using properties in mule
Using properties in muleUsing properties in mule
Using properties in muleSon Nguyen
 
Mule integrate with microsoft
Mule integrate with microsoftMule integrate with microsoft
Mule integrate with microsoftSon Nguyen
 
Anypoint connectors
Anypoint connectorsAnypoint connectors
Anypoint connectorsSon Nguyen
 
Mule esb basic introduction
Mule esb basic introductionMule esb basic introduction
Mule esb basic introductionSon Nguyen
 

More from Son Nguyen (20)

Wsdl connector introduction
Wsdl connector introductionWsdl connector introduction
Wsdl connector introduction
 
Android intergrate with mule
Android intergrate with muleAndroid intergrate with mule
Android intergrate with mule
 
Mule flow overview
Mule flow overviewMule flow overview
Mule flow overview
 
Mule flow and filter
Mule flow and filterMule flow and filter
Mule flow and filter
 
Handle exceptions in mule
Handle exceptions in muleHandle exceptions in mule
Handle exceptions in mule
 
Spring security integrate with mule
Spring security integrate with muleSpring security integrate with mule
Spring security integrate with mule
 
Message processor in mule
Message processor in muleMessage processor in mule
Message processor in mule
 
Expression language in mule
Expression language in muleExpression language in mule
Expression language in mule
 
Mule with data weave
Mule with data weaveMule with data weave
Mule with data weave
 
Using spring scheduler mule
Using spring scheduler muleUsing spring scheduler mule
Using spring scheduler mule
 
Composite source in bound and out-bound
Composite source in bound and out-boundComposite source in bound and out-bound
Composite source in bound and out-bound
 
Batch job processing
Batch job processingBatch job processing
Batch job processing
 
Using message enricher
Using message enricherUsing message enricher
Using message enricher
 
Finance connectors with mule
Finance connectors with muleFinance connectors with mule
Finance connectors with mule
 
Google drive connection
Google drive connectionGoogle drive connection
Google drive connection
 
Using properties in mule
Using properties in muleUsing properties in mule
Using properties in mule
 
Mule integrate with microsoft
Mule integrate with microsoftMule integrate with microsoft
Mule integrate with microsoft
 
Jms queue
Jms queueJms queue
Jms queue
 
Anypoint connectors
Anypoint connectorsAnypoint connectors
Anypoint connectors
 
Mule esb basic introduction
Mule esb basic introductionMule esb basic introduction
Mule esb basic introduction
 

Recently uploaded

AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 

Recently uploaded (20)

AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 

Deploy with maven

  • 2. • Maven is a project management utility that you can use to develop projects in Mule. Mule provides built-in Maven functionality, including the features listed below.
  • 3. There are various ways to deploy your Mule application. You can deploy your Mule application in Mule standalone in various ways….. One of the easiest way is to deploy your application in server is by using Maven
  • 4. So, to build your application using Maven you need Maven installed in your system . You can get Maven from https://maven.apache.org/ So, if you have Maven already installed in your system, you need to create a Mule Project with Maven from your Anypoint Studio :- You need to enable Maven while creating the project .. This will create a pom.xml for the project …
  • 5. You can see the pom.xml is created with the project . Now this is the file where you need to add all the Library dependencies for your project
  • 6. So let our flow be simple, We will display a payload in the browser after we hit a url http://localhost:8081/ in the browser:-
  • 7. The corresponding Mule flow will be as follows:- So as you can see , we will be displaying “This is a test Data” payload in the browser if we hit url http://localhost:8081/ :-
  • 8. Now to deploy our application using Maven your need to first set your MULE_HOME with the path of your standalone server
  • 9. Now, you need to put the following in your pom.xml This line of code will copy the deployable Mule zip file into apps folder of Mule Standalone server. But for that you must set MULE_HOME in your Environment variable
  • 10. So, let’s build our Mule application using Maven. If you have Mule plugins installed in your Anypoint Studio you can build the application, following way : If you don’t have Maven plugins, you can build it from command prompt
  • 11. Now we can execute our pom.xml to build the application and deploy into our Mule Standalone and we will get the following result in our console :- We can see that the application has build successfully
  • 12. If we go to our Mule Standalone apps folder we will see the application has been build into deployable zip file and copied into that location The file is placed in apps folder of our Mule Standalone
  • 13. If we start our Mule Standalone server, we will find the application is deployed successfully !!
  • 14. To test the application if we hit the url http://localhost:8081/ in browser we will get the response in the browser : You can see we have deployed a Mule application in Mule Standalone using Maven
  • 15. In my next slide I will bring some other techniques in Mule implementation . Hope you have enjoyed this simpler version. Keep sharing your knowledge and let our Mule community grow 