How can I install Maven plug-in in Anypoint Studio? - mule

For one of my POC, I need to get Maven plug-in installed in my Mule Anypoint studio. How I can install the same?

Follow the steps provided by Pratikkumar. Please remember either you need to get settings.xml from your client or get authentication details to connect nexus repository and create settings.xml. This settings.xml should be placed under .m2 folder(Local repository).

click Help > Install New Software and in Work with, click Anypoint Addons Update Site > Maven Tools for Mule. Click Next and follow the install prompts:
you can follow the next instructions from the below links.
https://docs.mulesoft.com/mule-user-guide/v/3.6/using-maven-with-mule

maven installed on your local machine contains conf folder under that global (settings.xml) is available.
copy the settings.xml and placed under .m2 folder(Local repository).
.m2 folder is generated by executing mvn in cmd prompt.
place the authentication details in settings.xml to connect with nexus repository(if it enterprise)

In Anypoint studio click on help==>click on install new software and follow the steps provided in the below image url.
https://i.stack.imgur.com/oGixo.png
After completing this process change the Installed JRE'S in build path to JDK and restart Any point studio.

Related

Can't install practically macro on eclipse

I can't install practically macro on eclipse.`
Error:
Communication with repository at
http://puremvcnotificationviewer.googlecode.com/svn/trunk/PracticallyMacroGoogleUpdateSite
failed.
Read Timeout
Tried to install from here https://marketplace.eclipse.org/content/practically-macro-0 dragging and dropping
And tried to install it from eclipse marketplace, both said the same thing.
I have eclipse luna 4.4.1.
I want to be able to do key shortcut for run cofiguration. Apperently i need this plug-in but can't install it.
Go to https://sourceforge.net/projects/practicalmacro/?source=typ_redirect and download PracticallyMacro_x.x.x.jar.
Then create a directory "PracticallyMarco" inside the eclipse/plugins directory.
Extract all files from PracticallyMacro_x.x.x.jar into eclipse/plugins/PracticallyMarco.
Restart eclipse. (Maybe you should restart eclipse with the -clean option.)
Then you can use the PracticallyMacro from the main toolbar:
See also the file eclipse/plugins/PracticallyMarco/Instructions.txt for more details.
There is a GitHub fork that seems to work:
https://github.com/EmteZogaf/practicalmacro-site/
If you browse the repo you can find the following update site:
https://github.com/EmteZogaf/practicalmacro-site/raw/master
I tested it on latest eclipse PHOTON and it seems to work.

Eclipse-Accurev plugin site not working

I'm using Eclipse Luna(4.4) version & need to install the Accurev plugin. From the support site below, i used the eclipse plugin site URL as : "http://www.accurev.com/download/eclipseupdate"
Install instructions link: http://supportline.microfocus.com/Documentation/books/AccuRev/Plugins/Eclipse/2014.1/eclipse-2014.1-install_release_notes-en.pdf
But eclipse throws error saying "Unable to read repository at... " when trying to read/load the plugin. Any one installed Accurev plugin recently?, need your help please!
Spec:
Eclipse : Luna, 4.4
Accurev: 6.1
Thanks,
Somu
With the purchase AccuRev by Microfocus, the AccuRev Web site has since been retired. We are working on having the Eclipse plug-in hosted on the Borland site but this is still a work in progress. It's best that you download the plug-in and self host an update site by accessing the download package at the following URL:
http://supportline.microfocus.com/websync/Tracker.aspx?downl=http://nadownloads.microfocus.com/websync/Internap_Download.aspx?FilePath=/productupdates/accurev/plugins/EclipsePlugin-2014.1/eclipse-2014.1-updatesite.zip
These steps solved the problem and now I'm able to access the Accurev plugin inside Eclipse:
Download the .zip plugin from the above link
Unzip & place the folder ("accurev-eclipse-2014.1-updatesite") under the /eclipse/plugins folder.
Took couple of eclipse restarts to have the changes reflected in Eclipse

Using Mule Requester Module in Mule Studio

I want to use Mule Requester Module as mentioned in http://blogs.mulesoft.org/introducing-the-mule-requester-module.
How to include this is Mule Studio?
Do I need to use --
Help > Check for Updates OR
Help > Install New Software... OR
Should I update pom.xml with the requester module dependency.
What is the recommended way?
I guess if I go MuleStudio route it will automatically update pom.xml when I drag Mule Requestor module into my flow.
Any pointers will be helpful.
Download the zip for Studio from GitHub. Then extract the zip to a folder somewhere locally and add that local folder (as "file:") in Install New Software -> Add -> Repository. Then install, and you'll have it available in Studio graphical editor. If you use Maven to build, add the dependencies mentioned in the GitHub page.
For MuleStudio
Download the update site zip file from the following location:
https://repository-master.mulesoft.org/nexus/content/repositories/releases/org/mule/modules/mule-module-requester/1.2/mule-module-requester-1.2-studio-plugin.zipenter link description here
Install it in MuleStudio as a regular update site from a file. The module will appear under the Components tab.
For Maven
Download the zip for Studio from GitHub. Then extract the zip to a folder somewhere locally and add that local folder (as "file:") in Install New Software -> Add -> Repository. Then install, and you'll have it available in Studio graphical editor. If you use Maven to build, add the dependencies mentioned in the GitHub page.
go to hellp->install new softeware->choose all sites in the dropdown->and enter mule requestor in search box->you will get the mulerequestor plugin->click next->finish
You can always use Mule to do this job for you
Help > install new software
In "work with" select Anypoint Connectors Update Site
And type the Connector you are searching for, in this case Requester Mule
Then you have to click next and just keep clicking next
This guide can help you if you have any troubles
Better to get it from any ponit studio itself, got to help and then install new software there you have to select all available sites there you can search for mule requester and install it

Clear case - Eclipse integration

currently I am having following version of clear case on my local machine.
I downloded plugin "com.rational.clearcase.win32-20081031A" from url: "http://www3.software.ibm.com/ibmdl/pub/software/rationalsdp/clearcase/ccplugin/com.rational.clearcase.win32-20081031A.zip" which include following files in feature and plugin folders.
3.then I installed this plugin from eclipse Help->Software update-> search and install->given here local path of plugin folder which looks like following screen shot 4. It got installed on eclipse;but when I am trying tu connect through it it's giveing me following error.
can you please suggest whats going wrong in it?
That plugin won't work with CCRC (ClearCase Remote Client), only with a full base ClearCase installation.
CCRC comes with its own Eclipse interface, in which you will find all the necessary ClearCase commands.
If you want a CCRC plugin (which is different from the SCM Adaptor you have downloaded), you need to download it from your CCRC server, as I detail in your last question.

ADMA0176E PrivilegedActionException when publishing to IBM Websphere

I have a maven build of a multi module enterprise project. I am running WAS from RAD. In command prompt I ran
mvn clean
mvn install
mvn -Dwtpversion=2.0 eclipse:eclipse
The build is success. I then import it into my workspace in RAD and add project to WAS. When the server starts publishing. I get an error as pop up saying
ADMA0176E : Application installation of MYPROJECT failed with
PrivilegedActionException
I am able to deploy the same project on tomcat. Also, I created a sample project and published it to WAS. So I dont understand why the application is asking for privileges. I tried enabling application security, cleared the server cache, restarted server, restarted PC. Nothing helps. I can deploy the ear through admin console, however. Only through rad I am getting issues. How do I solve this ? I tried what is mentioned here but it does not help.
I had this problem after making some pom.xml changes. I solved it by running Maven Update Dependencies then Maven Update Project Configuration.
I had this problem today and could solve it by deleting the according folder in \profiles\AppSrv1\installedApps\. I don't think this is a general solution for this problem, but I could not find this hint on any of the other discussions for ADMA0176E.
Following files were missing for my project. Copying these files from another project solved the problem.
security.xml at path: [ibmconfig/cells/defaultCell]
deployment.xml, resources.xml and variables.xml at path: [ibmconfig/cells/defaultCell/applications/defaultApp/deployments/defaultApp]
This worked on IBM WAS 7.