I am new to Maven. I tried to install maven in existing Anypoint studio (version 6.0) by following below steps.
1) Help -> Install New software -> select the site -> lookfor maven -> click Next -> Install
2) Restarted the Anypoint studio.
Now i have try to create a mule project by enabling "Use Maven". But is disabled after maven add on installation. I have clicked "configure Maven" and it asked me the maven installation directory. I dont know what is maven installatin directory.
Windows -> Preference -> Anypoint studio->Maven->entered some path in the installation directory->
Error : Value must point to the root of maven installation.
Here I have attached error screenshot. Kindly help me in this.
You need to download Maven from their website. Extract in the folder you want and reference it from Anypoint in that field
Like this
You need to point it to one folder inside.like
C:\apache-maven-3.5.0-bin\apache-maven-3.5.0 /bin should be an immediate child to Maven Home
Regards,
Amatya Annamaneni
Related
I changed maven settings for new projects in intellij-idea community edition-2019 from File -> Other Settings-> Settings for new projects and then under Build Tools -> maven.
What I changed is
Maven home directory from Bundled -> to -> C:\Program Files\Maven (install location on my system)
and override settings file User settings file -> C:\Program Files\Maven\settings.xml Apply and Ok
Now if I restart ide and revisit maven setting for new project, mentioned as above, it shows original, that comes with intellij-idea(reset to default). How can I make it to save as I changed?
As user Kootli commented in question section, it is bug filed for idea 2019.2, Updating to newer version of ide will solve the problem.
I m using VSTS build task for building msi files from installer projects.
I get below log message and no msi file is generated(project is being skipped always from build) . I don't see platform option dropdown to select "Any CPU " from build configuration manager.
Please help. Click on the below links to see screen shot of build configuration and build task
build configuration
Build tasks
------ Skipped Build: Project: Setup4, Configuration: Release ------
Project not selected to build for this solution configuration
However msi file is generating fine when I do manual build on setup project. Not sure why platform option is missing for setup project..?????
From the build log, TFS is using Release Configuration. And from the log, it seems that your project doesn't select build configuration for Release configuration.
So, in the configuration manager of Visual Studio, select build for release configuration. Then check in to TFS.
You should pay attention that, both project and solution has configuration settings. If you want to build solution in TFS, change the solution settings. If you want to build project in TFS, change the project configuration settings.
I am new to TeamCity and difficulties building Visual studio 2013 soln testing on win 7 .My Plan is to make TeamCity automate build & deployment on committing to svn server with 2 builds. 1-Build -> Build xyz.sln file with 2 web application projects -> proj1 & proj2 . 2-Publish -> If 1-Build is Successful then publish proj2 web application project to test & prod server (2 servers). I did the setup of svn trunk on TeamCity which has xyz.soln file and connection tested successfully. When I tried to build the configuration with my xyz.soln
Build Step :
When I tried to run the build it was giving: Warning: No enabled compatible agents for this build configuration. Please register a build agent or tweak build configuration requirements.
Followed this -> http://www.danmusk.com/how-to-build-asp-net-applications-in-teamcity-with-msbuild-tools-2013-and-net-framework-4-5-sdk/
Installed MSBuild separately and confirmed
MSBuild Tools 2013 -> C:\Program Files (x86)\MSBuild\12.0\Bin
also .Net framework ->
windows SDK ->
https://teamcity-support.jetbrains.com/hc/en-us/community/posts/206843275-Unmet-requirements-MSBuildTools12-0-x86-Path-exists
Any help would be great? Need to fix this Issue badly .
If you installed the appropriate MSBuild Tools, you likely just need to restart the build agent so it can re-register with the current set of capabilities.
To illustrate how this works, you can first look at the Build Configuration's Agent Requirements:
In this example, you can see the build needs MSBuildTools12.0_x86_Path defined (as well as some .NET framework stuff).
Over on the Agent's parameters, under Agents->[Agent1]->Agent Parameters->Configuration Parameters, you can see a list like this:
In my case, the value is present so it's considered a 'compatible agent'.
How do these settings get on the agent? Well, when the agent starts up it checks all these things to see what it's capable of and includes them in this big list of Configuration Parameters.
Therefore, if you install something like MSBuild Tools, you'll need to restart the agent... it runs as a service, so just go to the services panel on the agent box and restart it.
When I am trying to add plugin to cordova application using config file it showing error like unable to download what will be the problem how to solve this Issuse
The problem here is the plugins was renamed with different nomenclature from the one visual studio have for example org.apache.cordova.geolocation has been renamed to cordova-plugin-geolocation.
To enable the plugins in your project you have to follow the instruccions from here:
https://github.com/Microsoft/cordova-docs/blob/master/tips-and-workarounds/general/README.md#plugin-xml
But remember to use the new plugin name.
I had the same problem and ended up adding the Plugin i wanted over the commandline with something like:
cordova plugin add https://github.com/apache/cordova-plugin-whitelist.git
Then I added it again in VS2015 and it seems to have worked fine.
First I cloned github repository on my local machine. Then open Existing Android Studio project and selected "example" folder from the repo on the local machine. Then I got:
There were two events log :
1. Unlinked Gradle project?
2. Android Framework detected
When I clicked on the link for linking to Gradle "Improt project from gradle" dialogue box opened and then I got "Resolve Error" dialogue box with error:
Could not download artifact 'gradle.jar (com.android.tools.build:gradle:0.14.4)': No cached version available for offline mode
My Android Studio version:
I have searched on the Google and stack Overflow, but can't find appropriate solution.
You can't import the Swipecards repo in Android Studio 1.0.1 using gradle.
This project is using this unsupported version of gradle-plugin.
classpath 'com.android.tools.build:gradle:0.14.4'
I suggest you cloning the repo locally changing these values: classpath 'com.android.tools.build:gradle:1.0.0' in build.gradle distributionUrl=http\://services.gradle.org/distributions/gradle-2.2.1-all.zip in gradle/wrapper/gradle-wrapper.properties